@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,13 +1,13 @@
|
|
|
1
|
-
import { m as normalizeSkillFilter } from "./run-with-concurrency-
|
|
2
|
-
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { O as isPathInside, h as resolveOpenClawPackageRootSync } from "./workspace-
|
|
5
|
-
import { Hn as isPathInsideWithRealpath, Lt as normalizePluginsConfig, Mt as loadPluginManifestRegistry, Rt as resolveEffectiveEnableState, Yn as isDangerousHostEnvVarName, hr as normalizeResolvedSecretInputString, zt as resolveMemorySlotDecision } from "./model-selection-
|
|
6
|
-
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
7
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { m as normalizeSkillFilter } from "./run-with-concurrency-h53-4TQQ.js";
|
|
2
|
+
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-CdFYjh2k.js";
|
|
3
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-B5eEH24c.js";
|
|
4
|
+
import { O as isPathInside, h as resolveOpenClawPackageRootSync } from "./workspace-Bo-HJMNp.js";
|
|
5
|
+
import { Hn as isPathInsideWithRealpath, Lt as normalizePluginsConfig, Mt as loadPluginManifestRegistry, Rt as resolveEffectiveEnableState, Yn as isDangerousHostEnvVarName, hr as normalizeResolvedSecretInputString, zt as resolveMemorySlotDecision } from "./model-selection-4Sj13O94.js";
|
|
6
|
+
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-ZZvA8UXc.js";
|
|
7
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DcWktNGt.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs from "node:fs";
|
|
11
11
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
12
12
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
13
13
|
|
|
@@ -543,13 +543,13 @@ function shortPath(value) {
|
|
|
543
543
|
//#region src/agents/skills/bundled-dir.ts
|
|
544
544
|
function looksLikeSkillsDir(dir) {
|
|
545
545
|
try {
|
|
546
|
-
const entries =
|
|
546
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
547
547
|
for (const entry of entries) {
|
|
548
548
|
if (entry.name.startsWith(".")) continue;
|
|
549
549
|
const fullPath = path.join(dir, entry.name);
|
|
550
550
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
551
551
|
if (entry.isDirectory()) {
|
|
552
|
-
if (
|
|
552
|
+
if (fs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
} catch {
|
|
@@ -564,7 +564,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
564
564
|
const execPath = opts.execPath ?? process.execPath;
|
|
565
565
|
const execDir = path.dirname(execPath);
|
|
566
566
|
const sibling = path.join(execDir, "skills");
|
|
567
|
-
if (
|
|
567
|
+
if (fs.existsSync(sibling)) return sibling;
|
|
568
568
|
} catch {}
|
|
569
569
|
try {
|
|
570
570
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -627,7 +627,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
627
627
|
const trimmed = raw.trim();
|
|
628
628
|
if (!trimmed) continue;
|
|
629
629
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
630
|
-
if (!
|
|
630
|
+
if (!fs.existsSync(candidate)) {
|
|
631
631
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
632
632
|
continue;
|
|
633
633
|
}
|
|
@@ -658,7 +658,7 @@ async function serializeByKey(key, task) {
|
|
|
658
658
|
|
|
659
659
|
//#endregion
|
|
660
660
|
//#region src/agents/skills/workspace.ts
|
|
661
|
-
const fsp =
|
|
661
|
+
const fsp = fs.promises;
|
|
662
662
|
const skillsLogger = createSubsystemLogger("skills");
|
|
663
663
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
664
664
|
/**
|
|
@@ -735,7 +735,7 @@ function resolveSkillsLimits(config) {
|
|
|
735
735
|
}
|
|
736
736
|
function listChildDirectories(dir) {
|
|
737
737
|
try {
|
|
738
|
-
const entries =
|
|
738
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
739
739
|
const dirs = [];
|
|
740
740
|
for (const entry of entries) {
|
|
741
741
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -746,7 +746,7 @@ function listChildDirectories(dir) {
|
|
|
746
746
|
continue;
|
|
747
747
|
}
|
|
748
748
|
if (entry.isSymbolicLink()) try {
|
|
749
|
-
if (
|
|
749
|
+
if (fs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
750
750
|
} catch {}
|
|
751
751
|
}
|
|
752
752
|
return dirs;
|
|
@@ -757,7 +757,7 @@ function listChildDirectories(dir) {
|
|
|
757
757
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
758
758
|
const nested = path.join(dir, "skills");
|
|
759
759
|
try {
|
|
760
|
-
if (!
|
|
760
|
+
if (!fs.existsSync(nested) || !fs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
761
761
|
} catch {
|
|
762
762
|
return { baseDir: dir };
|
|
763
763
|
}
|
|
@@ -766,7 +766,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
766
766
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
767
767
|
for (const name of toScan) {
|
|
768
768
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
769
|
-
if (
|
|
769
|
+
if (fs.existsSync(skillMd)) return {
|
|
770
770
|
baseDir: nested,
|
|
771
771
|
note: `Detected nested skills root at ${nested}`
|
|
772
772
|
};
|
|
@@ -786,9 +786,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
786
786
|
const loadSkills = (params) => {
|
|
787
787
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
788
788
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
789
|
-
if (
|
|
789
|
+
if (fs.existsSync(rootSkillMd)) {
|
|
790
790
|
try {
|
|
791
|
-
const size =
|
|
791
|
+
const size = fs.statSync(rootSkillMd).size;
|
|
792
792
|
if (size > limits.maxSkillFileBytes) {
|
|
793
793
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
794
794
|
dir: baseDir,
|
|
@@ -827,9 +827,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
827
827
|
for (const name of limitedChildren) {
|
|
828
828
|
const skillDir = path.join(baseDir, name);
|
|
829
829
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
830
|
-
if (!
|
|
830
|
+
if (!fs.existsSync(skillMd)) continue;
|
|
831
831
|
try {
|
|
832
|
-
const size =
|
|
832
|
+
const size = fs.statSync(skillMd).size;
|
|
833
833
|
if (size > limits.maxSkillFileBytes) {
|
|
834
834
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
835
835
|
skill: name,
|
|
@@ -897,7 +897,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
897
897
|
return Array.from(merged.values()).map((skill) => {
|
|
898
898
|
let frontmatter = {};
|
|
899
899
|
try {
|
|
900
|
-
frontmatter = parseFrontmatter(
|
|
900
|
+
frontmatter = parseFrontmatter(fs.readFileSync(skill.filePath, "utf-8"));
|
|
901
901
|
} catch {}
|
|
902
902
|
return {
|
|
903
903
|
skill,
|
|
@@ -0,0 +1,17 @@
|
|
|
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 "./thinking-C5t4wH91.js";
|
|
11
|
+
import "./plugins-CL-6YYtw.js";
|
|
12
|
+
import "./accounts-lOYFKFqj.js";
|
|
13
|
+
import "./accounts-D35rx3gg.js";
|
|
14
|
+
import "./accounts-LgFHpzSb.js";
|
|
15
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-e9j4etib.js";
|
|
16
|
+
|
|
17
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,57 @@
|
|
|
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 "./thinking-C5t4wH91.js";
|
|
11
|
+
import "./tokens-DGUER2v0.js";
|
|
12
|
+
import { I as finalizeInboundContext, S as dispatchReplyWithDispatcher, k as resolveAgentRoute, n as recordInboundSessionMetaSafe, r as deliverSlackSlashReplies, s as createReplyPrefixOptions } from "./pi-embedded-CHY0kd6o.js";
|
|
13
|
+
import "./plugins-CL-6YYtw.js";
|
|
14
|
+
import "./accounts-lOYFKFqj.js";
|
|
15
|
+
import "./send-C4j6KYCq.js";
|
|
16
|
+
import "./send-DAyhLyD2.js";
|
|
17
|
+
import "./deliver-Bfo198gf.js";
|
|
18
|
+
import "./diagnostic-Cfju3nfo.js";
|
|
19
|
+
import "./accounts-D35rx3gg.js";
|
|
20
|
+
import "./image-ops-BIpUUDZD.js";
|
|
21
|
+
import "./send-D1oBKmnR.js";
|
|
22
|
+
import "./pi-model-discovery-DtqUetHg.js";
|
|
23
|
+
import { kt as resolveConversationLabel } from "./pi-embedded-helpers-Ci0rozAP.js";
|
|
24
|
+
import "./chrome-Coir_NPd.js";
|
|
25
|
+
import "./frontmatter-ZZvA8UXc.js";
|
|
26
|
+
import "./skills-BV465ziD.js";
|
|
27
|
+
import "./path-alias-guards-DcWktNGt.js";
|
|
28
|
+
import "./redact-bA-cQEro.js";
|
|
29
|
+
import "./errors-V2Dfp7m3.js";
|
|
30
|
+
import "./fs-safe-urUZDVCv.js";
|
|
31
|
+
import "./proxy-env-DTggb3di.js";
|
|
32
|
+
import "./store-1VFEBO08.js";
|
|
33
|
+
import "./accounts-LgFHpzSb.js";
|
|
34
|
+
import "./paths-BWg7M5Yy.js";
|
|
35
|
+
import "./tool-images-CrdEIwVA.js";
|
|
36
|
+
import "./image-C8nVgFoF.js";
|
|
37
|
+
import "./audio-transcription-runner-CDMccbtY.js";
|
|
38
|
+
import "./fetch-CzmuidZT.js";
|
|
39
|
+
import "./fetch-guard-BvTjDgDZ.js";
|
|
40
|
+
import "./api-key-rotation-CYUsE9se.js";
|
|
41
|
+
import "./proxy-fetch-y5_PzyGg.js";
|
|
42
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-Dc-ltzcD.js";
|
|
43
|
+
import "./render-BZdJrUxT.js";
|
|
44
|
+
import "./target-errors-CmB0nYoj.js";
|
|
45
|
+
import "./commands-registry-e9j4etib.js";
|
|
46
|
+
import "./skill-commands-JBrsox47.js";
|
|
47
|
+
import "./fetch-CTN5ATFT.js";
|
|
48
|
+
import "./channel-activity-DU4rVRNu.js";
|
|
49
|
+
import "./tables-DTLvZx1M.js";
|
|
50
|
+
import "./send-C84A606p.js";
|
|
51
|
+
import "./outbound-attachment-CkmduxIi.js";
|
|
52
|
+
import "./send-DZXs_7ks.js";
|
|
53
|
+
import "./proxy-BMKyKeTK.js";
|
|
54
|
+
import "./manager-Cz6WMkvV.js";
|
|
55
|
+
import "./query-expansion-hv7XTb0w.js";
|
|
56
|
+
|
|
57
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,21 @@
|
|
|
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 "./thinking-C5t4wH91.js";
|
|
11
|
+
import "./plugins-CL-6YYtw.js";
|
|
12
|
+
import "./accounts-lOYFKFqj.js";
|
|
13
|
+
import "./accounts-D35rx3gg.js";
|
|
14
|
+
import "./frontmatter-ZZvA8UXc.js";
|
|
15
|
+
import "./skills-BV465ziD.js";
|
|
16
|
+
import "./path-alias-guards-DcWktNGt.js";
|
|
17
|
+
import "./accounts-LgFHpzSb.js";
|
|
18
|
+
import "./commands-registry-e9j4etib.js";
|
|
19
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-JBrsox47.js";
|
|
20
|
+
|
|
21
|
+
export { listSkillCommandsForAgents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as resolveConfigDir } from "./utils-
|
|
2
|
-
import { b as detectMime, x as extensionForMime } from "./image-ops-
|
|
1
|
+
import { p as resolveConfigDir } from "./utils-B5eEH24c.js";
|
|
2
|
+
import { b as detectMime, x as extensionForMime } from "./image-ops-BIpUUDZD.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -0,0 +1,57 @@
|
|
|
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 "./thinking-C5t4wH91.js";
|
|
11
|
+
import "./tokens-DGUER2v0.js";
|
|
12
|
+
import { G as resolveRequesterForChildSession, H as countPendingDescendantRuns, U as countPendingDescendantRunsExcludingRun, V as countActiveDescendantRuns, W as isSubagentSessionRunActive } from "./pi-embedded-CHY0kd6o.js";
|
|
13
|
+
import "./plugins-CL-6YYtw.js";
|
|
14
|
+
import "./accounts-lOYFKFqj.js";
|
|
15
|
+
import "./send-C4j6KYCq.js";
|
|
16
|
+
import "./send-DAyhLyD2.js";
|
|
17
|
+
import "./deliver-Bfo198gf.js";
|
|
18
|
+
import "./diagnostic-Cfju3nfo.js";
|
|
19
|
+
import "./accounts-D35rx3gg.js";
|
|
20
|
+
import "./image-ops-BIpUUDZD.js";
|
|
21
|
+
import "./send-D1oBKmnR.js";
|
|
22
|
+
import "./pi-model-discovery-DtqUetHg.js";
|
|
23
|
+
import "./pi-embedded-helpers-Ci0rozAP.js";
|
|
24
|
+
import "./chrome-Coir_NPd.js";
|
|
25
|
+
import "./frontmatter-ZZvA8UXc.js";
|
|
26
|
+
import "./skills-BV465ziD.js";
|
|
27
|
+
import "./path-alias-guards-DcWktNGt.js";
|
|
28
|
+
import "./redact-bA-cQEro.js";
|
|
29
|
+
import "./errors-V2Dfp7m3.js";
|
|
30
|
+
import "./fs-safe-urUZDVCv.js";
|
|
31
|
+
import "./proxy-env-DTggb3di.js";
|
|
32
|
+
import "./store-1VFEBO08.js";
|
|
33
|
+
import "./accounts-LgFHpzSb.js";
|
|
34
|
+
import "./paths-BWg7M5Yy.js";
|
|
35
|
+
import "./tool-images-CrdEIwVA.js";
|
|
36
|
+
import "./image-C8nVgFoF.js";
|
|
37
|
+
import "./audio-transcription-runner-CDMccbtY.js";
|
|
38
|
+
import "./fetch-CzmuidZT.js";
|
|
39
|
+
import "./fetch-guard-BvTjDgDZ.js";
|
|
40
|
+
import "./api-key-rotation-CYUsE9se.js";
|
|
41
|
+
import "./proxy-fetch-y5_PzyGg.js";
|
|
42
|
+
import "./ir-Dc-ltzcD.js";
|
|
43
|
+
import "./render-BZdJrUxT.js";
|
|
44
|
+
import "./target-errors-CmB0nYoj.js";
|
|
45
|
+
import "./commands-registry-e9j4etib.js";
|
|
46
|
+
import "./skill-commands-JBrsox47.js";
|
|
47
|
+
import "./fetch-CTN5ATFT.js";
|
|
48
|
+
import "./channel-activity-DU4rVRNu.js";
|
|
49
|
+
import "./tables-DTLvZx1M.js";
|
|
50
|
+
import "./send-C84A606p.js";
|
|
51
|
+
import "./outbound-attachment-CkmduxIi.js";
|
|
52
|
+
import "./send-DZXs_7ks.js";
|
|
53
|
+
import "./proxy-BMKyKeTK.js";
|
|
54
|
+
import "./manager-Cz6WMkvV.js";
|
|
55
|
+
import "./query-expansion-hv7XTb0w.js";
|
|
56
|
+
|
|
57
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as resolveConfigPath } from "./paths-
|
|
1
|
+
import { r as resolveConfigPath } from "./paths-Cvc9EM8Y.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import JSON5 from "json5";
|
|
@@ -54,15 +54,15 @@ function getCommandPathInternal(argv, depth, opts) {
|
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/infra/tmp-openclaw-dir.ts
|
|
56
56
|
const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
|
|
57
|
-
const TMP_DIR_ACCESS_MODE =
|
|
57
|
+
const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
|
|
58
58
|
function isNodeErrorWithCode(err, code) {
|
|
59
59
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
60
60
|
}
|
|
61
61
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
62
|
-
const accessSync = options.accessSync ??
|
|
63
|
-
const chmodSync = options.chmodSync ??
|
|
64
|
-
const lstatSync = options.lstatSync ??
|
|
65
|
-
const mkdirSync = options.mkdirSync ??
|
|
62
|
+
const accessSync = options.accessSync ?? fs.accessSync;
|
|
63
|
+
const chmodSync = options.chmodSync ?? fs.chmodSync;
|
|
64
|
+
const lstatSync = options.lstatSync ?? fs.lstatSync;
|
|
65
|
+
const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
|
|
66
66
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
67
67
|
const getuid = options.getuid ?? (() => {
|
|
68
68
|
try {
|
|
@@ -155,8 +155,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
155
155
|
function readLoggingConfig() {
|
|
156
156
|
const configPath = resolveConfigPath();
|
|
157
157
|
try {
|
|
158
|
-
if (!
|
|
159
|
-
const raw =
|
|
158
|
+
if (!fs.existsSync(configPath)) return;
|
|
159
|
+
const raw = fs.readFileSync(configPath, "utf-8");
|
|
160
160
|
const logging = JSON5.parse(raw)?.logging;
|
|
161
161
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
162
162
|
return logging;
|
|
@@ -344,7 +344,7 @@ function buildLogger(settings) {
|
|
|
344
344
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
345
345
|
return logger;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
fs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
348
348
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
349
349
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
350
350
|
let warnedAboutSizeCap = false;
|
|
@@ -383,14 +383,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
383
383
|
}
|
|
384
384
|
function getCurrentLogFileBytes(file) {
|
|
385
385
|
try {
|
|
386
|
-
return
|
|
386
|
+
return fs.statSync(file).size;
|
|
387
387
|
} catch {
|
|
388
388
|
return 0;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
function appendLogLine(file, line) {
|
|
392
392
|
try {
|
|
393
|
-
|
|
393
|
+
fs.appendFileSync(file, line, { encoding: "utf8" });
|
|
394
394
|
return true;
|
|
395
395
|
} catch {
|
|
396
396
|
return false;
|
|
@@ -442,14 +442,14 @@ function isRollingPath(file) {
|
|
|
442
442
|
}
|
|
443
443
|
function pruneOldRollingLogs(dir) {
|
|
444
444
|
try {
|
|
445
|
-
const entries =
|
|
445
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
446
446
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
447
447
|
for (const entry of entries) {
|
|
448
448
|
if (!entry.isFile()) continue;
|
|
449
449
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
450
450
|
const fullPath = path.join(dir, entry.name);
|
|
451
451
|
try {
|
|
452
|
-
if (
|
|
452
|
+
if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
|
|
453
453
|
} catch {}
|
|
454
454
|
}
|
|
455
455
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { b as detectMime } from "./image-ops-BIpUUDZD.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-CrdEIwVA.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-DgdmD4k7.js";
|
|
2
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
3
|
-
import { Ht as getChatChannelMeta, Vt as CHAT_CHANNEL_ORDER, Xt as requireActivePluginRegistry } from "./model-selection-
|
|
4
|
-
import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-
|
|
5
|
-
import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
7
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
2
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-B5eEH24c.js";
|
|
3
|
+
import { Ht as getChatChannelMeta, Vt as CHAT_CHANNEL_ORDER, Xt as requireActivePluginRegistry } from "./model-selection-4Sj13O94.js";
|
|
4
|
+
import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-CL-6YYtw.js";
|
|
5
|
+
import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-lOYFKFqj.js";
|
|
6
|
+
import { n as resolveSignalAccount } from "./accounts-D35rx3gg.js";
|
|
7
|
+
import { t as resolveIMessageAccount } from "./accounts-LgFHpzSb.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/types.tools.ts
|
|
10
10
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BIpUUDZD.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -114,7 +114,7 @@ import "./server-lifecycle-DzdQa-qA.js";
|
|
|
114
114
|
import "./stagger-RKJcYQbS.js";
|
|
115
115
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-DLGJx0Bv.js";
|
|
116
116
|
import { r as parseSemver } from "./runtime-guard-CxmMRXpH.js";
|
|
117
|
-
import "./program-context-
|
|
117
|
+
import "./program-context-B0p9viIw.js";
|
|
118
118
|
import "./skills-status-B58W_wKv.js";
|
|
119
119
|
import { n as inheritOptionFromParent } from "./command-options-BVmaCunF.js";
|
|
120
120
|
import "./note-CaYZpgbP.js";
|
|
@@ -124,7 +124,7 @@ import "./skill-scanner-CuJVbqpL.js";
|
|
|
124
124
|
import "./installs-BfYc-vLT.js";
|
|
125
125
|
import { n as formatConfigIssueLines } from "./issue-format-DoB2_lFD.js";
|
|
126
126
|
import "./channels-status-issues-BYk4ZEFs.js";
|
|
127
|
-
import { r as installCompletion } from "./completion-cli-
|
|
127
|
+
import { r as installCompletion } from "./completion-cli-BnCuqVW8.js";
|
|
128
128
|
import "./daemon-install-helpers-DEnwl2jx.js";
|
|
129
129
|
import "./systemd-D5fH7kIo.js";
|
|
130
130
|
import { t as resolveGatewayService } from "./service-EtPC23pr.js";
|
|
@@ -144,8 +144,8 @@ import "./doctor-config-flow-Ca3UIhdu.js";
|
|
|
144
144
|
import "./oauth-tls-preflight-B0lQ1X82.js";
|
|
145
145
|
import "./systemd-linger-BOo3XOLT.js";
|
|
146
146
|
import "./health-format-Dbc6Wesr.js";
|
|
147
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
148
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
147
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-B75ysiU4.js";
|
|
148
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CwQVCBv7.js";
|
|
149
149
|
import os from "node:os";
|
|
150
150
|
import path from "node:path";
|
|
151
151
|
import fs from "node:fs/promises";
|
|
@@ -123,9 +123,9 @@ import "./skill-scanner-C04nRvTZ.js";
|
|
|
123
123
|
import "./installs-BqdehfDe.js";
|
|
124
124
|
import { n as formatConfigIssueLines } from "./issue-format-B3rjIDp2.js";
|
|
125
125
|
import "./channels-status-issues-CUJB3e53.js";
|
|
126
|
-
import { r as installCompletion } from "./completion-cli-
|
|
127
|
-
import "./register.subclis-
|
|
128
|
-
import "./command-registry-
|
|
126
|
+
import { r as installCompletion } from "./completion-cli-DWGdZ-R1.js";
|
|
127
|
+
import "./register.subclis-BjXl-tRU.js";
|
|
128
|
+
import "./command-registry-CyZnzlu4.js";
|
|
129
129
|
import "./program-context-BwKunb5X.js";
|
|
130
130
|
import "./daemon-install-helpers-BAt1F-Sd.js";
|
|
131
131
|
import { r as parseSemver } from "./runtime-guard-FQfkfkx0.js";
|
|
@@ -147,8 +147,8 @@ import "./doctor-config-flow-CoBBtWrG.js";
|
|
|
147
147
|
import "./oauth-tls-preflight-gumxl5c_.js";
|
|
148
148
|
import "./systemd-linger-B6KsEYH6.js";
|
|
149
149
|
import "./health-format-GTeknL_T.js";
|
|
150
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
151
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
150
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DGdLX1o8.js";
|
|
151
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BNHmdXaA.js";
|
|
152
152
|
import { spawn, spawnSync } from "node:child_process";
|
|
153
153
|
import os from "node:os";
|
|
154
154
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-Cvc9EM8Y.js";
|
|
2
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-CdFYjh2k.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/plain-object.ts
|
|
8
8
|
/**
|
|
@@ -15,14 +15,14 @@ function isPlainObject(value) {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/utils.ts
|
|
17
17
|
async function ensureDir(dir) {
|
|
18
|
-
await
|
|
18
|
+
await fs.promises.mkdir(dir, { recursive: true });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Check if a file or directory exists at the given path.
|
|
22
22
|
*/
|
|
23
23
|
async function pathExists(targetPath) {
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fs.promises.access(targetPath);
|
|
26
26
|
return true;
|
|
27
27
|
} catch {
|
|
28
28
|
return false;
|
|
@@ -105,7 +105,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
105
105
|
for (const dir of mappingDirs) {
|
|
106
106
|
const mappingPath = path.join(dir, mappingFilename);
|
|
107
107
|
try {
|
|
108
|
-
const data =
|
|
108
|
+
const data = fs.readFileSync(mappingPath, "utf8");
|
|
109
109
|
const phone = JSON.parse(data);
|
|
110
110
|
if (phone === null || phone === void 0) continue;
|
|
111
111
|
return normalizeE164(String(phone));
|
|
@@ -190,7 +190,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
190
190
|
if (override) return resolveUserPath(override);
|
|
191
191
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".openclaw");
|
|
192
192
|
try {
|
|
193
|
-
if (
|
|
193
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
194
194
|
} catch {}
|
|
195
195
|
return newDir;
|
|
196
196
|
}
|