@qqbrowser/openclaw-qbot 0.0.73 → 0.0.74
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/README.md +1 -1
- package/dist/{active-listener-DxNSGN9U.js → active-listener-CROf1Uy1.js} +2 -2
- package/dist/{agents-BV_FaMHU.js → agents-CYWlMAWH.js} +6 -6
- package/dist/{agents.config-B9V48rWk.js → agents.config-BJn6d6DN.js} +1 -1
- package/dist/{agents.config-GyCLMlbL.js → agents.config-wTj_OaU_.js} +1 -1
- package/dist/{api-key-rotation-CTQfWSIv.js → api-key-rotation-BbdgQk0n.js} +1 -1
- package/dist/{audio-preflight-CzCees3e.js → audio-preflight-Bn2FtPU3.js} +15 -15
- package/dist/{audio-transcription-runner-DNLKfdoM.js → audio-transcription-runner-8_mMc2YC.js} +10 -10
- package/dist/{audit-membership-runtime-CCJD0aBd.js → audit-membership-runtime-DvvzZwni.js} +6 -6
- package/dist/{auth-choice-DU5tc_h1.js → auth-choice-5BtdgzSI.js} +1 -1
- package/dist/{auth-choice-DBoi--mB.js → auth-choice-B5ngE4A2.js} +1 -1
- package/dist/{banner-C_4QrBWL.js → banner-BGXVW1A5.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +35 -35
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +35 -35
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C8YYzXcX.js → channel-activity-BUaFQGrv.js} +2 -2
- package/dist/{channel-options-CJsrr-rH.js → channel-options-BmYMsEjg.js} +1 -1
- package/dist/{channel-options-TMN7Iiqz.js → channel-options-nhLIf9WS.js} +1 -1
- package/dist/{channel-web-D5XrPlVy.js → channel-web-B0YjlQBG.js} +1 -1
- package/dist/{channel-web-6wYIjWUq.js → channel-web-DVCk5Fds.js} +1 -1
- package/dist/{channels-cli-BDSdy1VE.js → channels-cli-DI9o3gyE.js} +6 -6
- package/dist/{channels-cli-B6qHXKEd.js → channels-cli-DPtLHM0J.js} +6 -6
- package/dist/{cli-aFUGe8HU.js → cli-BrnCq769.js} +1 -1
- package/dist/{cli-DLhLAHco.js → cli-C4qSin3m.js} +1 -1
- package/dist/{command-registry-CwxQ7wlg.js → command-registry-Dc-Pr3ej.js} +9 -9
- package/dist/{commands-registry-CDA-YP5a.js → commands-registry-Clw9C2_Y.js} +2 -2
- package/dist/{compact-C64tGh1Q.js → compact-w86MjF5r.js} +6 -6
- package/dist/compact.runtime-BB3ne62u.js +39 -0
- package/dist/{compact.runtime-B3X4xckf.js → compact.runtime-C4VGJyzb.js} +1 -1
- package/dist/{compact.runtime-BoZUJOVD.js → compact.runtime-C7vtRrUH.js} +1 -1
- package/dist/{compact.runtime-CvcXbtEl.js → compact.runtime-D9TdYJL-.js} +1 -1
- package/dist/{completion-cli-DEvhh5Cf.js → completion-cli-C01aSJaG.js} +2 -2
- package/dist/{completion-cli-9KLIB7_X.js → completion-cli-DVgSnpx0.js} +1 -1
- package/dist/{config-cli-CrYtt78d.js → config-cli-DRN8Xk_M.js} +1 -1
- package/dist/{config-cli-BPUUTQvi.js → config-cli-DpWTFuhw.js} +1 -1
- package/dist/{configure-BkAlWi6d.js → configure-3u-AEpBv.js} +6 -6
- package/dist/{configure-BIqZBBEN.js → configure-Um8aXBGc.js} +6 -6
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/de-DuUYLvt1.js +2 -0
- package/dist/control-ui/assets/de-DuUYLvt1.js.map +1 -0
- package/dist/control-ui/assets/es-DHtyqUQZ.js +2 -0
- package/dist/control-ui/assets/es-DHtyqUQZ.js.map +1 -0
- package/dist/control-ui/assets/index-CYbiPp9k.js +8384 -0
- package/dist/control-ui/assets/index-CYbiPp9k.js.map +1 -0
- package/dist/control-ui/assets/index-C_GaJ8wS.css +1 -0
- package/dist/control-ui/assets/pt-BR-D2dJb9G8.js +2 -0
- package/dist/control-ui/assets/pt-BR-D2dJb9G8.js.map +1 -0
- package/dist/control-ui/assets/zh-CN-BgJ8_lE3.js +2 -0
- package/dist/control-ui/assets/zh-CN-BgJ8_lE3.js.map +1 -0
- package/dist/control-ui/assets/zh-TW-cW5xB87I.js +2 -0
- package/dist/control-ui/assets/zh-TW-cW5xB87I.js.map +1 -0
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +22 -0
- package/dist/control-ui/index.html +17 -0
- package/dist/{deliver-C8ckP9ew.js → deliver-Bj-7Vo_A.js} +19 -19
- package/dist/deliver-runtime-BhtIY2eR.js +19 -0
- package/dist/deps-send-discord.runtime-CQ2BQVgx.js +19 -0
- package/dist/deps-send-imessage.runtime-CuiJDds-.js +18 -0
- package/dist/deps-send-signal.runtime-D6FW_3lV.js +17 -0
- package/dist/deps-send-slack.runtime-DMtZWnBE.js +17 -0
- package/dist/deps-send-telegram.runtime-FtgFHfzz.js +20 -0
- package/dist/{deps-send-whatsapp.runtime-Zlv01k3L.js → deps-send-whatsapp.runtime-BSjKIQ6-.js} +3 -3
- package/dist/deps-send-whatsapp.runtime-BrOASoRz.js +43 -0
- package/dist/{deps-send-whatsapp.runtime-B--hgVLj.js → deps-send-whatsapp.runtime-C0qrh-1q.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-C4jJ1cJr.js → deps-send-whatsapp.runtime-DKdcBa5f.js} +2 -2
- package/dist/{diagnostic-Dmrwg73v.js → diagnostic-qjjamhzV.js} +2 -2
- package/dist/{doctor-completion-11bEAfBi.js → doctor-completion-CcMQPwS8.js} +1 -1
- package/dist/{doctor-completion-CK8FANuP.js → doctor-completion-h4hJ8EC_.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-Kd-ZkhaC.js → fetch-Bd6dZr3f.js} +4 -4
- package/dist/{fetch-guard-dSFwQVdY.js → fetch-guard-CcIHzaq9.js} +3 -3
- package/dist/{fetch-DB60S6Pe.js → fetch-jnMCAr8M.js} +3 -3
- package/dist/{frontmatter-D5wSndvU.js → frontmatter-B3DSwN7Q.js} +3 -3
- package/dist/{gateway-cli-BF0dwPvr.js → gateway-cli-EoE6lkiM.js} +8 -8
- package/dist/{gateway-cli-C1AaS4sS.js → gateway-cli-lxMPuiGp.js} +8 -8
- package/dist/{github-copilot-token-BsRMNR1J.js → github-copilot-token-Cv01j7Da.js} +7 -7
- package/dist/{health-CHSSafxz.js → health-CwrmDX6F.js} +1 -1
- package/dist/{health-DZC6FQVq.js → health-JkRatG0y.js} +1 -1
- package/dist/{hooks-cli-BD5QZVI0.js → hooks-cli-D31CYG6U.js} +2 -2
- package/dist/{hooks-cli-gMEa1lC5.js → hooks-cli-oX2gUZMg.js} +2 -2
- package/dist/{image-CzbVS4Px.js → image-CUHtH2ov.js} +4 -4
- package/dist/image-runtime-CyCflyrd.js +12 -0
- package/dist/index.js +6 -6
- package/dist/{ir-DpC-GTgx.js → ir-DqRr7hEM.js} +6 -6
- package/dist/llm-slug-generator.js +35 -35
- package/dist/{logger-6VOE82vC.js → logger-Dk0Ze7CZ.js} +7 -7
- package/dist/{login-C0Aj2wbv.js → login-ii3VsVTs.js} +4 -4
- package/dist/{login-qr-Bvddvj_q.js → login-qr-DtCHsF-S.js} +10 -10
- package/dist/{manager-BbQytYnR.js → manager-DSp4S63y.js} +12 -12
- package/dist/manager-runtime-BPcwKtWq.js +15 -0
- package/dist/{model-selection-Dv7kUD2t.js → model-selection-CTRvq26d.js} +120 -120
- package/dist/{models-BstWPD04.js → models-ClLAqwV2.js} +2 -2
- package/dist/{models-cli-BgafLcSs.js → models-cli-BoabFG-z.js} +2 -2
- package/dist/{models-cli-Ben00rns.js → models-cli-Cv4XnpgY.js} +3 -3
- package/dist/{npm-resolution-B-lXuFGR.js → npm-resolution-AC4pvDCN.js} +1 -1
- package/dist/{npm-resolution-DwGz5wym.js → npm-resolution-BfTmdPkZ.js} +1 -1
- package/dist/{onboard-Bx1a58T2.js → onboard-0NLi57Vh.js} +2 -2
- package/dist/{onboard-BT8SVF6e.js → onboard-8vbfU3ju.js} +2 -2
- package/dist/{onboard-channels-COD821xq.js → onboard-channels-B2leCjTi.js} +1 -1
- package/dist/{onboard-channels-CeptZCQY.js → onboard-channels-Bxw-iRlq.js} +1 -1
- package/dist/{onboarding-D8iKH6re.js → onboarding-D0MXwUPz.js} +3 -3
- package/dist/{onboarding-CKcNAv-6.js → onboarding-DJWOb_0C.js} +3 -3
- package/dist/{onboarding.finalize-df4t6_rY.js → onboarding.finalize-3NjT6e9z.js} +6 -6
- package/dist/{onboarding.finalize-CBGbT5-V.js → onboarding.finalize-Dw8u3Fwp.js} +5 -5
- package/dist/{outbound-CilWYThF.js → outbound-DOEYCXCG.js} +6 -6
- package/dist/{outbound-attachment-Cc92tlRX.js → outbound-attachment-D1EEHUb5.js} +2 -2
- package/dist/{paths-WADFVav-.js → paths-CqN6xa62.js} +7 -7
- package/dist/{paths-DLyW11Uc.js → paths-DH2q2Tz2.js} +5 -5
- package/dist/{pi-embedded-BBUpW_TK.js → pi-embedded-CU8OaUk7.js} +6 -6
- package/dist/{pi-embedded-D0Iyms7S.js → pi-embedded-DeLrT8gJ.js} +150 -150
- package/dist/{pi-model-discovery-DKNkGdYS.js → pi-model-discovery-CpH_dmZF.js} +7 -7
- package/dist/pi-model-discovery-runtime-BtVHvn2Z.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-B9pxTmwu.js → pi-tools.before-tool-call.runtime-Cv-EQBKI.js} +10 -10
- package/dist/{plugin-registry-DsHpkm1z.js → plugin-registry-C6m72uQY.js} +1 -1
- package/dist/{plugin-registry-_w9cCLPf.js → plugin-registry-CPPgLat0.js} +1 -1
- package/dist/plugin-sdk/{active-listener-DHUCSwd_.js → active-listener-DneY0bNi.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-C9Opm2pi.js → api-key-rotation-D8Ypq4t-.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DgcACjGT.js → audio-preflight-FQFDI7o4.js} +10 -10
- package/dist/plugin-sdk/{audio-transcription-runner-DxPpYMb2.js → audio-transcription-runner-DrpD4ePb.js} +9 -9
- package/dist/plugin-sdk/{audit-membership-runtime-BANoF7Db.js → audit-membership-runtime-oS2QK_tV.js} +4 -4
- package/dist/plugin-sdk/{channel-activity-BhpE1hfX.js → channel-activity-DpLEjcVa.js} +2 -2
- package/dist/plugin-sdk/{channel-web-BwOMVdgC.js → channel-web-CWFhLqx-.js} +1 -1
- package/dist/plugin-sdk/{channel-web-kZltMKfK.js → channel-web-Do0vefZK.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CuA1Jtia.js → commands-registry-DPhO7gsj.js} +2 -2
- package/dist/plugin-sdk/compact.runtime-Bw3bBQRf.js +35 -0
- package/dist/plugin-sdk/{compact.runtime-D99h-K7Q.js → compact.runtime-C2sRr77b.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-XfJjLlGG.js → compact.runtime-CZpINwLk.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-D1gpvBez.js → compact.runtime-CqVArbOy.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-fX5K2yza.js → compact.runtime-DwpdEjMZ.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BK7DkulA.js → compact.runtime-kXlwyoyQ.js} +1 -1
- package/dist/plugin-sdk/compat.js +2 -2
- package/dist/plugin-sdk/{deliver-XQ0wySLe.js → deliver-DH8opED3.js} +7 -7
- package/dist/plugin-sdk/deliver-runtime-C2AGd-Fx.js +15 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-BldRteZ-.js +15 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CJj8OonF.js +14 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BssZdgwz.js +13 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DNHUnl8Z.js +13 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Rb_PHfoZ.js +16 -0
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BxanPbyv.js → deps-send-whatsapp.runtime-C-h50AAy.js} +2 -2
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DLbe9BEI.js → deps-send-whatsapp.runtime-CLhapJ1n.js} +2 -2
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CSdMSf4P.js +39 -0
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-zRy8zuUS.js → deps-send-whatsapp.runtime-DJgNi3YT.js} +2 -2
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Bz-OzGha.js → deps-send-whatsapp.runtime-DRNsCqBq.js} +3 -3
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DmnMuABt.js → deps-send-whatsapp.runtime-DdrmcA-s.js} +3 -3
- package/dist/plugin-sdk/{diagnostic-BhKlOjt1.js → diagnostic-CHUX2izx.js} +2 -2
- package/dist/plugin-sdk/{dispatch-ByQ4YKaP.js → dispatch-B0WozmFd.js} +6 -6
- package/dist/plugin-sdk/{dispatch-BqqcXgMT.js → dispatch-D0RGlExZ.js} +6 -6
- package/dist/plugin-sdk/{dispatch-BozdMzjL.js → dispatch-DEONo5y4.js} +6 -6
- package/dist/plugin-sdk/{dispatch-BJY_kIZN.js → dispatch-Dk3oVErV.js} +6 -6
- package/dist/plugin-sdk/{dispatch-DJzEpfLy.js → dispatch-HE08O-sT.js} +60 -60
- package/dist/plugin-sdk/{fetch-Bo_2gd3j.js → fetch-CCj4rGzv.js} +3 -3
- package/dist/plugin-sdk/{fetch-guard-Cuze2vRj.js → fetch-guard-DwKQhbjg.js} +3 -3
- package/dist/plugin-sdk/{image-BIWFJjhD.js → image-DcnZ7H0m.js} +4 -4
- package/dist/plugin-sdk/image-runtime-DwNHiZsc.js +8 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{ir-D5oLoLwO.js → ir-Wcn2MuS6.js} +4 -4
- package/dist/plugin-sdk/irc.js +1 -1
- package/dist/plugin-sdk/{local-roots-Ba-vCmST.js → local-roots-m3E1qh29.js} +3 -3
- package/dist/plugin-sdk/{logger-gkkSl4rm.js → logger-b49mPkXE.js} +2 -2
- package/dist/plugin-sdk/{login-hhWtd8wj.js → login-DSsXjZtA.js} +3 -3
- package/dist/plugin-sdk/{login-qr-BWJwYOch.js → login-qr-xhsSqelV.js} +5 -5
- package/dist/plugin-sdk/{manager-CDUT9HE2.js → manager-DqkhVP3P.js} +7 -7
- package/dist/plugin-sdk/manager-runtime-CJyxV92f.js +11 -0
- package/dist/plugin-sdk/matrix.js +1 -1
- package/dist/plugin-sdk/{model-auth-IPhZKXZh.js → model-auth-CyziUml9.js} +12 -12
- package/dist/plugin-sdk/msteams.js +30 -30
- package/dist/plugin-sdk/nextcloud-talk.js +1 -1
- package/dist/plugin-sdk/{outbound-DODmsGUJ.js → outbound-Qi0MhCES.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-CtW_rarD.js → outbound-attachment-B7FfzWUQ.js} +2 -2
- package/dist/plugin-sdk/{paths-DKnAgHLh.js → paths-LTUtFCPb.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-BiXHqP7l.js → pi-model-discovery-AJ-yKYRw.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-BhwOfFKp.js → pi-model-discovery-runtime-By5bFml0.js} +5 -5
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-BIE7MANa.js → pi-tools.before-tool-call.runtime-c3yWR9gJ.js} +5 -5
- package/dist/plugin-sdk/{proxy-env-BDMQGH-A.js → proxy-env-CezuMQsC.js} +1 -1
- package/dist/{proxy-fetch-Hz2DPH2J.js → plugin-sdk/proxy-fetch-Dn-odmKS.js} +2 -2
- package/dist/plugin-sdk/{pw-ai-pMYERveQ.js → pw-ai-BaLlStd1.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-BebAIhGS.js → qmd-manager-KAGKwJXg.js} +3 -3
- package/dist/plugin-sdk/qqbrowser/system_prompt/custom-prompt.generated.d.ts +1 -1
- package/dist/plugin-sdk/{reply-BKVG6l__.js → reply-C0XujVAb.js} +6 -6
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DxQrr1vf.js +9 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-ezj35O_y.js +13 -0
- package/dist/plugin-sdk/{send-BmB0T72m.js → send-BgQuEvFO.js} +9 -9
- package/dist/plugin-sdk/{send-CNj3lvAP.js → send-BnfXefQY.js} +5 -5
- package/dist/plugin-sdk/{send-xpsFIt1O.js → send-Bt8Qf38T.js} +6 -6
- package/dist/plugin-sdk/{send-DeN-IpBX.js → send-CplTQ3JD.js} +4 -4
- package/dist/plugin-sdk/{send-BOGjU77W.js → send-DqdSIoGB.js} +6 -6
- package/dist/plugin-sdk/{session-QXpvYS-o.js → session-DkVTYkzA.js} +2 -2
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-CCfIVnV4.js → skill-commands-C7MWJscC.js} +4 -4
- package/dist/plugin-sdk/{slash-commands.runtime-B3aqusJt.js → slash-commands.runtime-RvSO86D8.js} +5 -5
- package/dist/plugin-sdk/slash-dispatch.runtime-BnfWfK8c.js +35 -0
- package/dist/plugin-sdk/{slash-dispatch.runtime-Cf9xcn1e.js → slash-dispatch.runtime-CdKqAW34.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-DRNyRHzJ.js → slash-dispatch.runtime-CmI_GLXt.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-kG3WEn_Y.js → slash-dispatch.runtime-CntjZmOU.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CUJ3PyIW.js → slash-dispatch.runtime-D8nUj6YM.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CVQBRjnm.js → slash-dispatch.runtime-DGc5dzf4.js} +1 -1
- package/dist/plugin-sdk/slash-skill-commands.runtime-DdVX1pxo.js +9 -0
- package/dist/plugin-sdk/{sqlite-xEi0CAvK.js → sqlite-Ep7zBzx2.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-runtime-gyWtGO2W.js → subagent-registry-runtime-6xQtRr93.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-x4W_TgfA.js → subagent-registry-runtime-BU6cqFa7.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-CB5zhN4l.js → subagent-registry-runtime-BVc9snlu.js} +1 -1
- package/dist/plugin-sdk/subagent-registry-runtime-D6u7_AUt.js +35 -0
- package/dist/plugin-sdk/{subagent-registry-runtime-DrMkyHPW.js → subagent-registry-runtime-gla7pFj7.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-8_NEpm08.js → subagent-registry-runtime-jaPacPP9.js} +1 -1
- package/dist/plugin-sdk/{tables-DnB_pxHh.js → tables-m7wUH5t9.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CvpKDWhY.js → target-errors-BBDzJUoG.js} +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/{tokens-CVetWOS2.js → plugin-sdk/tokens-BKV1QCXt.js} +1 -1
- package/dist/plugin-sdk/{web-DKXHyg4V.js → web-8kSmEkNl.js} +1 -1
- package/dist/plugin-sdk/{web-Dq7rzGDp.js → web-BooFpwid.js} +2 -2
- package/dist/plugin-sdk/{web-HdySWqm5.js → web-Cgz1BvI7.js} +1 -1
- package/dist/plugin-sdk/{web-Ck6arE6Q.js → web-DG8OnguX.js} +2 -2
- package/dist/plugin-sdk/{web-wEgBmpK3.js → web-DVQg8GC6.js} +34 -34
- package/dist/plugin-sdk/{web-D3Z-AKng.js → web-DzDiDxMa.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-B03_B0tu.js → whatsapp-actions-Bk4kndY9.js} +10 -10
- package/dist/plugin-sdk/whatsapp.js +2 -2
- package/dist/{plugins-cli-DSIOOCUL.js → plugins-cli-Cp1cM9yu.js} +2 -2
- package/dist/{plugins-cli-PeTyq4CV.js → plugins-cli-D2Mqyo-n.js} +2 -2
- package/dist/{program-CFA9wIFl.js → program-BX3a8b7b.js} +7 -7
- package/dist/{program-context-CmgWgfyz.js → program-context-CXaJyU0p.js} +17 -17
- package/dist/{prompt-select-styled-BdzUQdk4.js → prompt-select-styled-0bncCYy7.js} +4 -4
- package/dist/{prompt-select-styled-CA9NHRFI.js → prompt-select-styled-DZWBMvgJ.js} +4 -4
- package/dist/{provider-auth-helpers-CdcMQChI.js → provider-auth-helpers-6qoMKvbS.js} +1 -1
- package/dist/{provider-auth-helpers-CxjLuoTn.js → provider-auth-helpers-C3qQvpRQ.js} +1 -1
- package/dist/{proxy-env-BONg_IRb.js → proxy-env-DgYLHn1g.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-BRYObOFw.js → proxy-fetch-BjBqq0S4.js} +2 -2
- package/dist/{push-apns-MkMTH566.js → push-apns-C-Zj7LE6.js} +1 -1
- package/dist/{push-apns-BY5FzfVx.js → push-apns-CwfdCIaD.js} +1 -1
- package/dist/{pw-ai-BF0P8FMp.js → pw-ai-CLIIEeAR.js} +9 -9
- package/dist/{qmd-manager-B30UiQgm.js → qmd-manager-Cc9_yffU.js} +6 -6
- package/dist/{query-expansion-9YZHQs6q.js → query-expansion-V2e9egpC.js} +4 -4
- package/dist/{register.agent-yR9jfzCN.js → register.agent-DITgBVOG.js} +7 -7
- package/dist/{register.agent-CB6MWN6M.js → register.agent-H7lwExvJ.js} +6 -6
- package/dist/{register.configure-C_89ZtSZ.js → register.configure-BFquRP1q.js} +7 -7
- package/dist/{register.configure-DnaCdMI0.js → register.configure-BhIyf0OD.js} +7 -7
- package/dist/{register.maintenance-VsSCW4fQ.js → register.maintenance-BoSqsQVo.js} +8 -8
- package/dist/{register.maintenance-BVc3SCOZ.js → register.maintenance-DroeNM_X.js} +7 -7
- package/dist/{register.message-CFWGrYxn.js → register.message-B8vfflz0.js} +2 -2
- package/dist/{register.message-8zFXQKgC.js → register.message-BCBlgL41.js} +2 -2
- package/dist/{register.onboard-9zNrLLh9.js → register.onboard-C0xiFyU0.js} +2 -2
- package/dist/{register.onboard-CBzdfmxf.js → register.onboard-dARAkFg8.js} +2 -2
- package/dist/{register.setup-CLR-UW8R.js → register.setup-0uBLFjFi.js} +2 -2
- package/dist/{register.setup-C_DTG8gR.js → register.setup-B6QWE5lp.js} +2 -2
- package/dist/{register.status-health-sessions-rMAbUJlg.js → register.status-health-sessions-Cueh5dxB.js} +3 -3
- package/dist/{register.status-health-sessions-j-RyywjN.js → register.status-health-sessions-KKSKLq2h.js} +3 -3
- package/dist/{register.subclis-DgH_EwI_.js → register.subclis-BFtmge-U.js} +9 -9
- package/dist/{reply-Mgl_h9G3.js → reply-DmwD0IYg.js} +6 -6
- package/dist/{run-main-Cq4M3yM7.js → run-main-BgboK6f7.js} +15 -15
- package/dist/runtime-whatsapp-login.runtime-D-Rp1pTh.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-DkxUInN9.js +17 -0
- package/dist/{send-BQ-Nw5o92.js → send-7RZ-_vAv2.js} +4 -4
- package/dist/{send-Bl_SVPlR.js → send-ByxspBIF.js} +7 -7
- package/dist/{send-Bja-rBOy.js → send-CVutquyB.js} +5 -5
- package/dist/{send-DeyYf_ua.js → send-DrNWTcOY.js} +25 -25
- package/dist/{send-goljIDwD.js → send-z8qRRlrK.js} +6 -6
- package/dist/{server-node-events-BYNOBkHr.js → server-node-events-CFAYug3Y.js} +2 -2
- package/dist/{server-node-events-B3qQLmud.js → server-node-events-CSYxGvqr.js} +2 -2
- package/dist/{session-DldhE9PT.js → session-C8WpWPX4.js} +7 -7
- package/dist/{skill-commands-GVIiyqZ8.js → skill-commands-BYYuxeuS.js} +8 -8
- package/dist/slash-commands.runtime-B3LvZpKf.js +12 -0
- package/dist/{slash-dispatch.runtime-Bh-pycwm.js → slash-dispatch.runtime-B0m_ytsf.js} +1 -1
- package/dist/slash-dispatch.runtime-BWLAbYRN.js +39 -0
- package/dist/{slash-dispatch.runtime-DDo70iAs.js → slash-dispatch.runtime-D8x2BDky.js} +1 -1
- package/dist/{slash-dispatch.runtime-BOatIfnU.js → slash-dispatch.runtime-awRYlRPW.js} +1 -1
- package/dist/slash-skill-commands.runtime-zU1kVi9u.js +13 -0
- package/dist/{status-Bpdz-6yW.js → status-Cg4qCb6L.js} +2 -2
- package/dist/{status-BCKTYN-b.js → status-OryV-dwh.js} +2 -2
- package/dist/{subagent-registry-runtime-DqvsjAYM.js → subagent-registry-runtime-D8RYoN0p.js} +1 -1
- package/dist/{subagent-registry-runtime-pX4vRbP9.js → subagent-registry-runtime-DWp2m4rb.js} +1 -1
- package/dist/{subagent-registry-runtime-8QMQdPQq.js → subagent-registry-runtime-DdFDqNPO.js} +1 -1
- package/dist/subagent-registry-runtime-sE41prmG.js +39 -0
- package/dist/{subsystem-DNNJDVQe.js → subsystem-BKsORW9w.js} +14 -14
- package/dist/{tables-DMsvolAm.js → tables-BU_H4nY6.js} +1 -1
- package/dist/{target-errors-8jjNoBL0.js → target-errors-BIzjX1fS.js} +2 -2
- package/dist/{plugin-sdk/tokens-C7z0GjTP.js → tokens-Bni6rpzF.js} +1 -1
- package/dist/{update-cli-DWYZ1tUm.js → update-cli-CEdR0Ynr.js} +7 -7
- package/dist/{update-cli-CL7uUgaP.js → update-cli-D1brJHee.js} +8 -8
- package/dist/{update-runner-BqSKGaJN.js → update-runner-BHJAqAWW.js} +1 -1
- package/dist/{update-runner-CEYdupYX.js → update-runner-VYVhCqYi.js} +1 -1
- package/dist/{web-BIi6BO7W.js → web-BiMwVGat.js} +39 -39
- package/dist/{web-BPbbgjpU.js → web-BkrHANg4.js} +2 -2
- package/dist/{web-DBq9huL6.js → web-C9AKRZah.js} +2 -2
- package/dist/{web-Bjan-Rsw.js → web-CPjSHqun.js} +1 -1
- package/dist/{whatsapp-actions-BxKgTbFB.js → whatsapp-actions-Dj7amXQf.js} +15 -15
- package/dist/{workspace-DbJSpu_1.js → workspace-DKFhGA36.js} +19 -19
- package/package.json +1 -1
- package/dist/compact.runtime-Dg0TmuzG.js +0 -39
- package/dist/deliver-runtime-DyMFu2FO.js +0 -19
- package/dist/deps-send-discord.runtime-gRnUgs2H.js +0 -19
- package/dist/deps-send-imessage.runtime-5FilPWGb.js +0 -18
- package/dist/deps-send-signal.runtime-gS6ZPRwB.js +0 -17
- package/dist/deps-send-slack.runtime-DTzQNAy6.js +0 -17
- package/dist/deps-send-telegram.runtime-Q2yCOTPa.js +0 -20
- package/dist/deps-send-whatsapp.runtime-Bvft5vAZ.js +0 -43
- package/dist/image-runtime-CpWYN3Ha.js +0 -12
- package/dist/manager-runtime-Fh2dlaK2.js +0 -15
- package/dist/pi-model-discovery-runtime-Gxda8_lc.js +0 -12
- package/dist/plugin-sdk/compact.runtime-DwmAb9nx.js +0 -35
- package/dist/plugin-sdk/deliver-runtime-DNOJ4OJQ.js +0 -15
- package/dist/plugin-sdk/deps-send-discord.runtime-BqvwEzKm.js +0 -15
- package/dist/plugin-sdk/deps-send-imessage.runtime-CbkVBXpM.js +0 -14
- package/dist/plugin-sdk/deps-send-signal.runtime-GuMM4vi_.js +0 -13
- package/dist/plugin-sdk/deps-send-slack.runtime-CyeC0GC4.js +0 -13
- package/dist/plugin-sdk/deps-send-telegram.runtime-B1OdPD47.js +0 -16
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CAGeTaCS.js +0 -39
- package/dist/plugin-sdk/image-runtime-DiLZ3JHF.js +0 -8
- package/dist/plugin-sdk/manager-runtime-Xfz0umAw.js +0 -11
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DHmdnfYc.js +0 -9
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Bc8wvDBD.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-Sx51CCEH.js +0 -35
- package/dist/plugin-sdk/slash-skill-commands.runtime-CaZ-hyQx.js +0 -9
- package/dist/plugin-sdk/subagent-registry-runtime-ts_kQGiR.js +0 -35
- package/dist/runtime-whatsapp-login.runtime-CH0uHMT2.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-DQrA9vyJ.js +0 -17
- package/dist/slash-commands.runtime-bre1xiAP.js +0 -12
- package/dist/slash-dispatch.runtime-DkGyW6Mw.js +0 -39
- package/dist/slash-skill-commands.runtime-DrY95thE.js +0 -13
- package/dist/subagent-registry-runtime-TRroxozR.js +0 -39
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { N as redactSensitiveText, _ as normalizeMimeType, f as getFileExtension, g as kindFromMime, h as isGifMedia } from "./paths-
|
|
2
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-
|
|
3
|
-
import { d as logVerbose, l as danger, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Y as normalizeAccountId } from "./workspace-
|
|
5
|
-
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-
|
|
6
|
-
import { Bi as readErrorName, Bn as getChannelPlugin, Ii as collectErrorGraphCandidates, Ka as loadConfig, Ks as withFileLock$1, Li as extractErrorCode, Ms as resolveTelegramPreviewStreamMode, Qa as writeConfigFile, Qn as resolveTelegramAccount, Ri as formatErrorMessage, Vn as listChannelPlugins, Ya as readConfigFileSnapshotForWrite, si as writeJsonAtomic, zi as formatUncaughtError } from "./model-selection-
|
|
1
|
+
import { N as redactSensitiveText, _ as normalizeMimeType, f as getFileExtension, g as kindFromMime, h as isGifMedia } from "./paths-CqN6xa62.js";
|
|
2
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-DH2q2Tz2.js";
|
|
3
|
+
import { d as logVerbose, l as danger, t as createSubsystemLogger } from "./subsystem-BKsORW9w.js";
|
|
4
|
+
import { Y as normalizeAccountId } from "./workspace-DKFhGA36.js";
|
|
5
|
+
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-Dk0Ze7CZ.js";
|
|
6
|
+
import { Bi as readErrorName, Bn as getChannelPlugin, Ii as collectErrorGraphCandidates, Ka as loadConfig, Ks as withFileLock$1, Li as extractErrorCode, Ms as resolveTelegramPreviewStreamMode, Qa as writeConfigFile, Qn as resolveTelegramAccount, Ri as formatErrorMessage, Vn as listChannelPlugins, Ya as readConfigFileSnapshotForWrite, si as writeJsonAtomic, zi as formatUncaughtError } from "./model-selection-CTRvq26d.js";
|
|
7
7
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-D4pwl9LR.js";
|
|
8
|
-
import { n as makeProxyFetch } from "./proxy-fetch-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
8
|
+
import { n as makeProxyFetch } from "./proxy-fetch-BjBqq0S4.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-DqRr7hEM.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-IRnn-2gt.js";
|
|
11
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
11
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-BUaFQGrv.js";
|
|
12
12
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-C-AlrR3n.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-Dw-aNTWI.js";
|
|
14
|
-
import { t as resolveTelegramFetch } from "./fetch-
|
|
14
|
+
import { t as resolveTelegramFetch } from "./fetch-jnMCAr8M.js";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import syncFs from "node:fs";
|
|
18
18
|
import JSON5 from "json5";
|
|
19
19
|
import crypto, { randomBytes } from "node:crypto";
|
|
20
20
|
import { Bot, HttpError, InputFile } from "grammy";
|
|
@@ -68,7 +68,7 @@ function getPairingAdapter(channelId) {
|
|
|
68
68
|
//#region src/plugin-sdk/json-store.ts
|
|
69
69
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
70
70
|
try {
|
|
71
|
-
const parsed = safeParseJson(await
|
|
71
|
+
const parsed = safeParseJson(await syncFs.promises.readFile(filePath, "utf-8"));
|
|
72
72
|
if (parsed == null) return {
|
|
73
73
|
value: fallback,
|
|
74
74
|
exists: true
|
|
@@ -154,7 +154,7 @@ async function readPairingRequests(filePath) {
|
|
|
154
154
|
}
|
|
155
155
|
async function ensureJsonFile(filePath, fallback) {
|
|
156
156
|
try {
|
|
157
|
-
await
|
|
157
|
+
await syncFs.promises.access(filePath);
|
|
158
158
|
} catch {
|
|
159
159
|
await writeJsonFile(filePath, fallback);
|
|
160
160
|
}
|
|
@@ -310,7 +310,7 @@ function resolveAllowFromReadCacheOrMissing(filePath, stat) {
|
|
|
310
310
|
async function readAllowFromStateForPathWithExists(channel, filePath) {
|
|
311
311
|
let stat = null;
|
|
312
312
|
try {
|
|
313
|
-
stat = await
|
|
313
|
+
stat = await syncFs.promises.stat(filePath);
|
|
314
314
|
} catch (err) {
|
|
315
315
|
if (err.code !== "ENOENT") throw err;
|
|
316
316
|
}
|
|
@@ -353,7 +353,7 @@ async function writeAllowFromState(filePath, allowFrom) {
|
|
|
353
353
|
});
|
|
354
354
|
let stat = null;
|
|
355
355
|
try {
|
|
356
|
-
stat = await
|
|
356
|
+
stat = await syncFs.promises.stat(filePath);
|
|
357
357
|
} catch {}
|
|
358
358
|
setAllowFromReadCache(filePath, {
|
|
359
359
|
exists: true,
|
|
@@ -978,7 +978,7 @@ function resolveCronStorePath(storePath) {
|
|
|
978
978
|
}
|
|
979
979
|
async function loadCronStore(storePath) {
|
|
980
980
|
try {
|
|
981
|
-
const raw = await
|
|
981
|
+
const raw = await syncFs.promises.readFile(storePath, "utf-8");
|
|
982
982
|
let parsed;
|
|
983
983
|
try {
|
|
984
984
|
parsed = JSON5.parse(raw);
|
|
@@ -1004,21 +1004,21 @@ async function loadCronStore(storePath) {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
async function setSecureFileMode(filePath) {
|
|
1007
|
-
await
|
|
1007
|
+
await syncFs.promises.chmod(filePath, 384).catch(() => void 0);
|
|
1008
1008
|
}
|
|
1009
1009
|
async function saveCronStore(storePath, store, opts) {
|
|
1010
1010
|
const storeDir = path.dirname(storePath);
|
|
1011
|
-
await
|
|
1011
|
+
await syncFs.promises.mkdir(storeDir, {
|
|
1012
1012
|
recursive: true,
|
|
1013
1013
|
mode: 448
|
|
1014
1014
|
});
|
|
1015
|
-
await
|
|
1015
|
+
await syncFs.promises.chmod(storeDir, 448).catch(() => void 0);
|
|
1016
1016
|
const json = JSON.stringify(store, null, 2);
|
|
1017
1017
|
const cached = serializedStoreCache.get(storePath);
|
|
1018
1018
|
if (cached === json) return;
|
|
1019
1019
|
let previous = cached ?? null;
|
|
1020
1020
|
if (previous === null) try {
|
|
1021
|
-
previous = await
|
|
1021
|
+
previous = await syncFs.promises.readFile(storePath, "utf-8");
|
|
1022
1022
|
} catch (err) {
|
|
1023
1023
|
if (err.code !== "ENOENT") throw err;
|
|
1024
1024
|
}
|
|
@@ -1027,14 +1027,14 @@ async function saveCronStore(storePath, store, opts) {
|
|
|
1027
1027
|
return;
|
|
1028
1028
|
}
|
|
1029
1029
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
1030
|
-
await
|
|
1030
|
+
await syncFs.promises.writeFile(tmp, json, {
|
|
1031
1031
|
encoding: "utf-8",
|
|
1032
1032
|
mode: 384
|
|
1033
1033
|
});
|
|
1034
1034
|
await setSecureFileMode(tmp);
|
|
1035
1035
|
if (previous !== null && !opts?.skipBackup) try {
|
|
1036
1036
|
const backupPath = `${storePath}.bak`;
|
|
1037
|
-
await
|
|
1037
|
+
await syncFs.promises.copyFile(storePath, backupPath);
|
|
1038
1038
|
await setSecureFileMode(backupPath);
|
|
1039
1039
|
} catch {}
|
|
1040
1040
|
await renameWithRetry(tmp, storePath);
|
|
@@ -1045,7 +1045,7 @@ const RENAME_MAX_RETRIES = 3;
|
|
|
1045
1045
|
const RENAME_BASE_DELAY_MS = 50;
|
|
1046
1046
|
async function renameWithRetry(src, dest) {
|
|
1047
1047
|
for (let attempt = 0; attempt <= RENAME_MAX_RETRIES; attempt++) try {
|
|
1048
|
-
await
|
|
1048
|
+
await syncFs.promises.rename(src, dest);
|
|
1049
1049
|
return;
|
|
1050
1050
|
} catch (err) {
|
|
1051
1051
|
const code = err.code;
|
|
@@ -1054,8 +1054,8 @@ async function renameWithRetry(src, dest) {
|
|
|
1054
1054
|
continue;
|
|
1055
1055
|
}
|
|
1056
1056
|
if (code === "EPERM" || code === "EEXIST") {
|
|
1057
|
-
await
|
|
1058
|
-
await
|
|
1057
|
+
await syncFs.promises.copyFile(src, dest);
|
|
1058
|
+
await syncFs.promises.unlink(src).catch(() => {});
|
|
1059
1059
|
return;
|
|
1060
1060
|
}
|
|
1061
1061
|
throw err;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as kindFromMime } from "./paths-
|
|
2
|
-
import { h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { Ka as loadConfig, Or as resolveIMessageAccount, jr as isAllowedParsedChatSender } from "./model-selection-
|
|
4
|
-
import { s as resolveMarkdownTableMode } from "./ir-
|
|
5
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
6
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
1
|
+
import { g as kindFromMime } from "./paths-CqN6xa62.js";
|
|
2
|
+
import { h as normalizeE164, y as resolveUserPath } from "./logger-Dk0Ze7CZ.js";
|
|
3
|
+
import { Ka as loadConfig, Or as resolveIMessageAccount, jr as isAllowedParsedChatSender } from "./model-selection-CTRvq26d.js";
|
|
4
|
+
import { s as resolveMarkdownTableMode } from "./ir-DqRr7hEM.js";
|
|
5
|
+
import { t as convertMarkdownTables } from "./tables-BU_H4nY6.js";
|
|
6
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-D1EEHUb5.js";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { createInterface } from "node:readline";
|
|
9
9
|
//#region src/imessage/target-parsing-helpers.ts
|
|
@@ -2,7 +2,7 @@ import "./paths-CJrJYXq5.js";
|
|
|
2
2
|
import { p as defaultRuntime } from "./subsystem-CElrqatv.js";
|
|
3
3
|
import "./utils-CjzNe3K4.js";
|
|
4
4
|
import { Gn as updateSessionStore, Ws as loadConfig } from "./model-selection-Dnq1TmtN.js";
|
|
5
|
-
import { Cn as buildOutboundSessionContext, U as createOutboundSendDeps, an as resolveGatewaySessionStoreTarget, ar as enqueueSystemEvent, in as pruneLegacyStoreKeys, rn as loadSessionEntry, ur as requestHeartbeatNow, xn as resolveOutboundTarget, z as agentCommandFromIngress } from "./reply-
|
|
5
|
+
import { Cn as buildOutboundSessionContext, U as createOutboundSendDeps, an as resolveGatewaySessionStoreTarget, ar as enqueueSystemEvent, in as pruneLegacyStoreKeys, rn as loadSessionEntry, ur as requestHeartbeatNow, xn as resolveOutboundTarget, z as agentCommandFromIngress } from "./reply-DmwD0IYg.js";
|
|
6
6
|
import "./agent-scope-h_t4UZyS.js";
|
|
7
7
|
import { l as normalizeMainKey, p as scopedHeartbeatWakeOptions } from "./session-key-BFl8Ucce.js";
|
|
8
8
|
import "./openclaw-root-D85b-n3l.js";
|
|
@@ -83,7 +83,7 @@ import "./links-CXZmytBX.js";
|
|
|
83
83
|
import "./cli-utils-CsurA6i4.js";
|
|
84
84
|
import "./help-format-O8FHNMhu.js";
|
|
85
85
|
import "./progress-BO0KvWUe.js";
|
|
86
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
86
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-C-Zj7LE6.js";
|
|
87
87
|
import { randomUUID } from "node:crypto";
|
|
88
88
|
//#region src/gateway/server-node-events.ts
|
|
89
89
|
const MAX_EXEC_EVENT_OUTPUT_CHARS = 180;
|
|
@@ -21,7 +21,7 @@ import "./path-alias-guards-CLUicCs4.js";
|
|
|
21
21
|
import "./errors-CrB7x_Lm.js";
|
|
22
22
|
import "./send-M_HpqYFG.js";
|
|
23
23
|
import "./send-5GedbJ49.js";
|
|
24
|
-
import { O as createOutboundSendDeps, ar as buildOutboundSessionContext, mn as enqueueSystemEvent, st as resolveOutboundTarget, w as agentCommandFromIngress, yn as requestHeartbeatNow } from "./compact-
|
|
24
|
+
import { O as createOutboundSendDeps, ar as buildOutboundSessionContext, mn as enqueueSystemEvent, st as resolveOutboundTarget, w as agentCommandFromIngress, yn as requestHeartbeatNow } from "./compact-w86MjF5r.js";
|
|
25
25
|
import "./paths-0bT4APdL.js";
|
|
26
26
|
import "./chat-envelope-Bbvk3RNH.js";
|
|
27
27
|
import "./models-config-DBzrD-Fo.js";
|
|
@@ -85,7 +85,7 @@ import "./links-BUDsNB1G.js";
|
|
|
85
85
|
import "./cli-utils-Dr1OWAbv.js";
|
|
86
86
|
import "./help-format-CbIsVMYJ.js";
|
|
87
87
|
import "./progress-DWve34Wd.js";
|
|
88
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
88
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CwfdCIaD.js";
|
|
89
89
|
import { randomUUID } from "node:crypto";
|
|
90
90
|
//#region src/gateway/server-node-events.ts
|
|
91
91
|
const MAX_EXEC_EVENT_OUTPUT_CHARS = 180;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-
|
|
2
|
-
import { l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { Er as resolveWebCredsPath, Fs as VERSION, Sr as readCredsJsonRaw, Tr as resolveWebCredsBackupPath, br as maybeRestoreCredsFromBackup, qs as formatCliCommand, wr as resolveDefaultWebAuthDir } from "./model-selection-
|
|
4
|
-
import
|
|
1
|
+
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-BKsORW9w.js";
|
|
2
|
+
import { l as ensureDir, y as resolveUserPath } from "./logger-Dk0Ze7CZ.js";
|
|
3
|
+
import { Er as resolveWebCredsPath, Fs as VERSION, Sr as readCredsJsonRaw, Tr as resolveWebCredsBackupPath, br as maybeRestoreCredsFromBackup, qs as formatCliCommand, wr as resolveDefaultWebAuthDir } from "./model-selection-CTRvq26d.js";
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
7
7
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
syncFs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
syncFs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
syncFs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { G as resolveAgentWorkspaceDir, W as resolveAgentSkillsFilter, z as listAgentIds } from "./paths-
|
|
2
|
-
import { d as logVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
4
|
-
import { $i as buildWorkspaceSkillCommandSpecs, oi as createAsyncLock, ra as resolvePluginSkillDirs } from "./model-selection-
|
|
5
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
1
|
+
import { G as resolveAgentWorkspaceDir, W as resolveAgentSkillsFilter, z as listAgentIds } from "./paths-CqN6xa62.js";
|
|
2
|
+
import { d as logVerbose, t as createSubsystemLogger } from "./subsystem-BKsORW9w.js";
|
|
3
|
+
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-Dk0Ze7CZ.js";
|
|
4
|
+
import { $i as buildWorkspaceSkillCommandSpecs, oi as createAsyncLock, ra as resolvePluginSkillDirs } from "./model-selection-CTRvq26d.js";
|
|
5
|
+
import { i as listChatCommands } from "./commands-registry-Clw9C2_Y.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import syncFs from "node:fs";
|
|
9
9
|
import "node:crypto";
|
|
10
10
|
import chokidar from "chokidar";
|
|
11
11
|
//#region src/agents/skills/refresh.ts
|
|
@@ -226,13 +226,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
226
226
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
227
227
|
for (const agentId of agentIds) {
|
|
228
228
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
229
|
-
if (!
|
|
229
|
+
if (!syncFs.existsSync(workspaceDir)) {
|
|
230
230
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
231
231
|
continue;
|
|
232
232
|
}
|
|
233
233
|
let canonicalDir;
|
|
234
234
|
try {
|
|
235
|
-
canonicalDir =
|
|
235
|
+
canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
236
236
|
} catch {
|
|
237
237
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
238
238
|
continue;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./paths-CqN6xa62.js";
|
|
2
|
+
import "./paths-DH2q2Tz2.js";
|
|
3
|
+
import "./subsystem-BKsORW9w.js";
|
|
4
|
+
import "./workspace-DKFhGA36.js";
|
|
5
|
+
import "./logger-Dk0Ze7CZ.js";
|
|
6
|
+
import "./model-selection-CTRvq26d.js";
|
|
7
|
+
import "./github-copilot-token-Cv01j7Da.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./proxy-env-DgYLHn1g.js";
|
|
10
|
+
import "./frontmatter-B3DSwN7Q.js";
|
|
11
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-Clw9C2_Y.js";
|
|
12
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -20,7 +20,7 @@ import "./path-alias-guards-CLUicCs4.js";
|
|
|
20
20
|
import "./errors-CrB7x_Lm.js";
|
|
21
21
|
import "./send-M_HpqYFG.js";
|
|
22
22
|
import "./send-5GedbJ49.js";
|
|
23
|
-
import { Pn as finalizeInboundContext, R as createReplyPrefixOptions, Tn as resolveAgentRoute, U as dispatchReplyWithDispatcher, f as recordInboundSessionMetaSafe, m as deliverSlackSlashReplies } from "./compact-
|
|
23
|
+
import { Pn as finalizeInboundContext, R as createReplyPrefixOptions, Tn as resolveAgentRoute, U as dispatchReplyWithDispatcher, f as recordInboundSessionMetaSafe, m as deliverSlackSlashReplies } from "./compact-w86MjF5r.js";
|
|
24
24
|
import "./paths-0bT4APdL.js";
|
|
25
25
|
import "./chat-envelope-Bbvk3RNH.js";
|
|
26
26
|
import "./models-config-DBzrD-Fo.js";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./paths-CqN6xa62.js";
|
|
2
|
+
import "./paths-DH2q2Tz2.js";
|
|
3
|
+
import "./subsystem-BKsORW9w.js";
|
|
4
|
+
import "./workspace-DKFhGA36.js";
|
|
5
|
+
import "./logger-Dk0Ze7CZ.js";
|
|
6
|
+
import { Ur as resolveConversationLabel } from "./model-selection-CTRvq26d.js";
|
|
7
|
+
import "./github-copilot-token-Cv01j7Da.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./proxy-env-DgYLHn1g.js";
|
|
10
|
+
import "./frontmatter-B3DSwN7Q.js";
|
|
11
|
+
import "./send-CVutquyB.js";
|
|
12
|
+
import "./send-ByxspBIF.js";
|
|
13
|
+
import { F as finalizeInboundContext, N as resolveAgentRoute, b as dispatchReplyWithDispatcher, d as createReplyPrefixOptions, i as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe } from "./pi-embedded-DeLrT8gJ.js";
|
|
14
|
+
import "./tokens-Bni6rpzF.js";
|
|
15
|
+
import "./deliver-Bj-7Vo_A.js";
|
|
16
|
+
import "./diagnostic-qjjamhzV.js";
|
|
17
|
+
import "./send-DrNWTcOY.js";
|
|
18
|
+
import "./pi-model-discovery-CpH_dmZF.js";
|
|
19
|
+
import "./image-CUHtH2ov.js";
|
|
20
|
+
import "./audio-transcription-runner-8_mMc2YC.js";
|
|
21
|
+
import "./fetch-Bd6dZr3f.js";
|
|
22
|
+
import "./fetch-guard-CcIHzaq9.js";
|
|
23
|
+
import "./api-key-rotation-BbdgQk0n.js";
|
|
24
|
+
import "./proxy-fetch-BjBqq0S4.js";
|
|
25
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DqRr7hEM.js";
|
|
26
|
+
import "./render-IRnn-2gt.js";
|
|
27
|
+
import "./target-errors-BIzjX1fS.js";
|
|
28
|
+
import "./commands-registry-Clw9C2_Y.js";
|
|
29
|
+
import "./fetch-CBrh_wN0.js";
|
|
30
|
+
import "./skill-commands-BYYuxeuS.js";
|
|
31
|
+
import "./channel-activity-BUaFQGrv.js";
|
|
32
|
+
import "./tables-BU_H4nY6.js";
|
|
33
|
+
import "./send-7RZ-_vAv2.js";
|
|
34
|
+
import "./outbound-attachment-D1EEHUb5.js";
|
|
35
|
+
import "./send-z8qRRlrK.js";
|
|
36
|
+
import "./fetch-jnMCAr8M.js";
|
|
37
|
+
import "./query-expansion-V2e9egpC.js";
|
|
38
|
+
import "./manager-DSp4S63y.js";
|
|
39
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -2,7 +2,7 @@ import "./paths-DKnAgHLh.js";
|
|
|
2
2
|
import "./paths-RPl2QIyv.js";
|
|
3
3
|
import "./logger-gkkSl4rm.js";
|
|
4
4
|
import { Hr as resolveConversationLabel } from "./model-selection-DmjjVFLt.js";
|
|
5
|
-
import { N as finalizeInboundContext, i as deliverSlackSlashReplies, j as resolveAgentRoute, l as createReplyPrefixOptions, r as recordInboundSessionMetaSafe, v as dispatchReplyWithDispatcher } from "./pi-embedded-
|
|
5
|
+
import { N as finalizeInboundContext, i as deliverSlackSlashReplies, j as resolveAgentRoute, l as createReplyPrefixOptions, r as recordInboundSessionMetaSafe, v as dispatchReplyWithDispatcher } from "./pi-embedded-CU8OaUk7.js";
|
|
6
6
|
import "./github-copilot-token-C5ZzgOnO.js";
|
|
7
7
|
import "./proxy-env-Cdf30pCz.js";
|
|
8
8
|
import "./send-DfLm1ttd.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-CJrJYXq5.js";
|
|
|
2
2
|
import "./subsystem-CElrqatv.js";
|
|
3
3
|
import "./utils-CjzNe3K4.js";
|
|
4
4
|
import { ei as resolveConversationLabel } from "./model-selection-Dnq1TmtN.js";
|
|
5
|
-
import { D as deliverSlackSlashReplies, T as recordInboundSessionMetaSafe, dt as dispatchReplyWithDispatcher, ot as createReplyPrefixOptions, si as resolveAgentRoute, vi as finalizeInboundContext } from "./reply-
|
|
5
|
+
import { D as deliverSlackSlashReplies, T as recordInboundSessionMetaSafe, dt as dispatchReplyWithDispatcher, ot as createReplyPrefixOptions, si as resolveAgentRoute, vi as finalizeInboundContext } from "./reply-DmwD0IYg.js";
|
|
6
6
|
import "./agent-scope-h_t4UZyS.js";
|
|
7
7
|
import "./openclaw-root-D85b-n3l.js";
|
|
8
8
|
import "./logger-DXVuPRVu.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./paths-CqN6xa62.js";
|
|
2
|
+
import "./paths-DH2q2Tz2.js";
|
|
3
|
+
import "./subsystem-BKsORW9w.js";
|
|
4
|
+
import "./workspace-DKFhGA36.js";
|
|
5
|
+
import "./logger-Dk0Ze7CZ.js";
|
|
6
|
+
import "./model-selection-CTRvq26d.js";
|
|
7
|
+
import "./github-copilot-token-Cv01j7Da.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./proxy-env-DgYLHn1g.js";
|
|
10
|
+
import "./frontmatter-B3DSwN7Q.js";
|
|
11
|
+
import "./commands-registry-Clw9C2_Y.js";
|
|
12
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-BYYuxeuS.js";
|
|
13
|
+
export { listSkillCommandsForAgents };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-CJrJYXq5.js";
|
|
2
2
|
import { A as theme, k as isRich, y as info } from "./subsystem-CElrqatv.js";
|
|
3
3
|
import { Js as readConfigFileSnapshot, Ll as VERSION, Lr as resolveMainSessionKey, Mo as readTailscaleStatusJson, Mr as resolveFreshSessionTotalTokens, Rl as resolveRuntimeServiceVersion, Ws as loadConfig, _u as DEFAULT_MODEL, ca as formatPortDiagnostics, ds as sha256HexPrefix, h as resolveConfiguredModelRef, ia as inspectPortUsage, jo as getTailnetHostname, qs as readBestEffortConfig, vu as DEFAULT_PROVIDER, zn as loadSessionStore } from "./model-selection-Dnq1TmtN.js";
|
|
4
|
-
import { $t as classifySessionKey, Fn as readRestartSentinel, In as summarizeRestartSentinel, Jt as loadProviderUsageSummary, Yt as formatUsageReportLines, c as buildChannelAccountSnapshot, cr as peekSystemEvents, d as resolveChannelAccountEnabled, en as listAgentsForGateway, l as formatChannelAllowFrom, ln as resolveContextTokensForModel, on as resolveSessionModelRef, s as buildChannelSummary, u as resolveChannelAccountConfigured } from "./reply-
|
|
4
|
+
import { $t as classifySessionKey, Fn as readRestartSentinel, In as summarizeRestartSentinel, Jt as loadProviderUsageSummary, Yt as formatUsageReportLines, c as buildChannelAccountSnapshot, cr as peekSystemEvents, d as resolveChannelAccountEnabled, en as listAgentsForGateway, l as formatChannelAllowFrom, ln as resolveContextTokensForModel, on as resolveSessionModelRef, s as buildChannelSummary, u as resolveChannelAccountConfigured } from "./reply-DmwD0IYg.js";
|
|
5
5
|
import { d as resolveAgentWorkspaceDir } from "./agent-scope-h_t4UZyS.js";
|
|
6
6
|
import { E as parseAgentSessionKey } from "./session-key-BFl8Ucce.js";
|
|
7
7
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-D85b-n3l.js";
|
|
@@ -26,7 +26,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CZhB_f_5.j
|
|
|
26
26
|
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-vwYz_5rq.js";
|
|
27
27
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CTEewS__.js";
|
|
28
28
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-D17YfQfJ.js";
|
|
29
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
29
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CwrmDX6F.js";
|
|
30
30
|
import { a as formatGitInstallLabel, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-BHxy6Qwg.js";
|
|
31
31
|
import { t as runSecurityAudit } from "./audit-FVYGOIxm.js";
|
|
32
32
|
import { t as resolveNodeService } from "./node-service-BPxPp48v.js";
|
|
@@ -9,7 +9,7 @@ import { t as resolveOpenClawPackageRoot } from "./openclaw-root-3qjaa5xH.js";
|
|
|
9
9
|
import { n as runExec } from "./exec-BkeEFw6i.js";
|
|
10
10
|
import { n as resolveRuntimeServiceVersion, t as VERSION } from "./version-DAVwKhKn.js";
|
|
11
11
|
import { lt as resolveChannelDefaultAccountId, n as listChannelPlugins } from "./plugins-Rvy55kfa.js";
|
|
12
|
-
import { _n as peekSystemEvents, cn as formatChannelAllowFrom, ln as resolveChannelAccountConfigured, nn as formatUsageReportLines, on as buildChannelSummary, sn as buildChannelAccountSnapshot, tn as loadProviderUsageSummary, un as resolveChannelAccountEnabled, vt as readRestartSentinel, yt as summarizeRestartSentinel } from "./compact-
|
|
12
|
+
import { _n as peekSystemEvents, cn as formatChannelAllowFrom, ln as resolveChannelAccountConfigured, nn as formatUsageReportLines, on as buildChannelSummary, sn as buildChannelAccountSnapshot, tn as loadProviderUsageSummary, un as resolveChannelAccountEnabled, vt as readRestartSentinel, yt as summarizeRestartSentinel } from "./compact-w86MjF5r.js";
|
|
13
13
|
import { c as resolveStorePath } from "./paths-0bT4APdL.js";
|
|
14
14
|
import { d as resolveContextTokensForModel, l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway } from "./session-utils-C94-ZYhQ.js";
|
|
15
15
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DvaDLroZ.js";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-k-oD19W3.j
|
|
|
29
29
|
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-CYD29s-_.js";
|
|
30
30
|
import { t as readLastGatewayErrorLine } from "./diagnostics-j2g-qqX2.js";
|
|
31
31
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-DAXFzBdm.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-JkRatG0y.js";
|
|
33
33
|
import { a as formatGitInstallLabel, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DXr1tIxM.js";
|
|
34
34
|
import { t as runSecurityAudit } from "./audit-B1t6wNOP.js";
|
|
35
35
|
import { t as resolveNodeService } from "./node-service-DtejRo6J.js";
|
package/dist/{subagent-registry-runtime-DqvsjAYM.js → subagent-registry-runtime-D8RYoN0p.js}
RENAMED
|
@@ -2,7 +2,7 @@ import "./paths-DKnAgHLh.js";
|
|
|
2
2
|
import "./paths-RPl2QIyv.js";
|
|
3
3
|
import "./logger-gkkSl4rm.js";
|
|
4
4
|
import "./model-selection-DmjjVFLt.js";
|
|
5
|
-
import { B as countPendingDescendantRunsExcludingRun, G as shouldIgnorePostCompletionAnnounceForSession, H as listSubagentRunsForRequester, R as countActiveDescendantRuns, U as replaceSubagentRunAfterSteer, V as isSubagentSessionRunActive, W as resolveRequesterForChildSession, z as countPendingDescendantRuns } from "./pi-embedded-
|
|
5
|
+
import { B as countPendingDescendantRunsExcludingRun, G as shouldIgnorePostCompletionAnnounceForSession, H as listSubagentRunsForRequester, R as countActiveDescendantRuns, U as replaceSubagentRunAfterSteer, V as isSubagentSessionRunActive, W as resolveRequesterForChildSession, z as countPendingDescendantRuns } from "./pi-embedded-CU8OaUk7.js";
|
|
6
6
|
import "./github-copilot-token-C5ZzgOnO.js";
|
|
7
7
|
import "./proxy-env-Cdf30pCz.js";
|
|
8
8
|
import "./send-DfLm1ttd.js";
|
package/dist/{subagent-registry-runtime-pX4vRbP9.js → subagent-registry-runtime-DWp2m4rb.js}
RENAMED
|
@@ -2,7 +2,7 @@ import "./paths-CJrJYXq5.js";
|
|
|
2
2
|
import "./subsystem-CElrqatv.js";
|
|
3
3
|
import "./utils-CjzNe3K4.js";
|
|
4
4
|
import "./model-selection-Dnq1TmtN.js";
|
|
5
|
-
import { b as resolveRequesterForChildSession, f as countActiveDescendantRuns, g as isSubagentSessionRunActive, m as countPendingDescendantRunsExcludingRun, p as countPendingDescendantRuns, v as listSubagentRunsForRequester, x as shouldIgnorePostCompletionAnnounceForSession, y as replaceSubagentRunAfterSteer } from "./reply-
|
|
5
|
+
import { b as resolveRequesterForChildSession, f as countActiveDescendantRuns, g as isSubagentSessionRunActive, m as countPendingDescendantRunsExcludingRun, p as countPendingDescendantRuns, v as listSubagentRunsForRequester, x as shouldIgnorePostCompletionAnnounceForSession, y as replaceSubagentRunAfterSteer } from "./reply-DmwD0IYg.js";
|
|
6
6
|
import "./agent-scope-h_t4UZyS.js";
|
|
7
7
|
import "./openclaw-root-D85b-n3l.js";
|
|
8
8
|
import "./logger-DXVuPRVu.js";
|
package/dist/{subagent-registry-runtime-8QMQdPQq.js → subagent-registry-runtime-DdFDqNPO.js}
RENAMED
|
@@ -20,7 +20,7 @@ import "./path-alias-guards-CLUicCs4.js";
|
|
|
20
20
|
import "./errors-CrB7x_Lm.js";
|
|
21
21
|
import "./send-M_HpqYFG.js";
|
|
22
22
|
import "./send-5GedbJ49.js";
|
|
23
|
-
import { Gn as countPendingDescendantRunsExcludingRun, Qn as shouldIgnorePostCompletionAnnounceForSession, Un as countActiveDescendantRuns, Wn as countPendingDescendantRuns, Xn as replaceSubagentRunAfterSteer, Yn as listSubagentRunsForRequester, Zn as resolveRequesterForChildSession, qn as isSubagentSessionRunActive } from "./compact-
|
|
23
|
+
import { Gn as countPendingDescendantRunsExcludingRun, Qn as shouldIgnorePostCompletionAnnounceForSession, Un as countActiveDescendantRuns, Wn as countPendingDescendantRuns, Xn as replaceSubagentRunAfterSteer, Yn as listSubagentRunsForRequester, Zn as resolveRequesterForChildSession, qn as isSubagentSessionRunActive } from "./compact-w86MjF5r.js";
|
|
24
24
|
import "./paths-0bT4APdL.js";
|
|
25
25
|
import "./chat-envelope-Bbvk3RNH.js";
|
|
26
26
|
import "./models-config-DBzrD-Fo.js";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./paths-CqN6xa62.js";
|
|
2
|
+
import "./paths-DH2q2Tz2.js";
|
|
3
|
+
import "./subsystem-BKsORW9w.js";
|
|
4
|
+
import "./workspace-DKFhGA36.js";
|
|
5
|
+
import "./logger-Dk0Ze7CZ.js";
|
|
6
|
+
import "./model-selection-CTRvq26d.js";
|
|
7
|
+
import "./github-copilot-token-Cv01j7Da.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./proxy-env-DgYLHn1g.js";
|
|
10
|
+
import "./frontmatter-B3DSwN7Q.js";
|
|
11
|
+
import "./send-CVutquyB.js";
|
|
12
|
+
import "./send-ByxspBIF.js";
|
|
13
|
+
import { B as countActiveDescendantRuns, G as replaceSubagentRunAfterSteer, H as countPendingDescendantRunsExcludingRun, K as resolveRequesterForChildSession, U as isSubagentSessionRunActive, V as countPendingDescendantRuns, W as listSubagentRunsForRequester, q as shouldIgnorePostCompletionAnnounceForSession } from "./pi-embedded-DeLrT8gJ.js";
|
|
14
|
+
import "./tokens-Bni6rpzF.js";
|
|
15
|
+
import "./deliver-Bj-7Vo_A.js";
|
|
16
|
+
import "./diagnostic-qjjamhzV.js";
|
|
17
|
+
import "./send-DrNWTcOY.js";
|
|
18
|
+
import "./pi-model-discovery-CpH_dmZF.js";
|
|
19
|
+
import "./image-CUHtH2ov.js";
|
|
20
|
+
import "./audio-transcription-runner-8_mMc2YC.js";
|
|
21
|
+
import "./fetch-Bd6dZr3f.js";
|
|
22
|
+
import "./fetch-guard-CcIHzaq9.js";
|
|
23
|
+
import "./api-key-rotation-BbdgQk0n.js";
|
|
24
|
+
import "./proxy-fetch-BjBqq0S4.js";
|
|
25
|
+
import "./ir-DqRr7hEM.js";
|
|
26
|
+
import "./render-IRnn-2gt.js";
|
|
27
|
+
import "./target-errors-BIzjX1fS.js";
|
|
28
|
+
import "./commands-registry-Clw9C2_Y.js";
|
|
29
|
+
import "./fetch-CBrh_wN0.js";
|
|
30
|
+
import "./skill-commands-BYYuxeuS.js";
|
|
31
|
+
import "./channel-activity-BUaFQGrv.js";
|
|
32
|
+
import "./tables-BU_H4nY6.js";
|
|
33
|
+
import "./send-7RZ-_vAv2.js";
|
|
34
|
+
import "./outbound-attachment-D1EEHUb5.js";
|
|
35
|
+
import "./send-z8qRRlrK.js";
|
|
36
|
+
import "./fetch-jnMCAr8M.js";
|
|
37
|
+
import "./query-expansion-V2e9egpC.js";
|
|
38
|
+
import "./manager-DSp4S63y.js";
|
|
39
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as resolveConfigPath } from "./paths-
|
|
1
|
+
import { r as resolveConfigPath } from "./paths-DH2q2Tz2.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import JSON5 from "json5";
|
|
@@ -49,15 +49,15 @@ function getCommandPathInternal(argv, depth, opts) {
|
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/infra/tmp-openclaw-dir.ts
|
|
51
51
|
const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
|
|
52
|
-
const TMP_DIR_ACCESS_MODE =
|
|
52
|
+
const TMP_DIR_ACCESS_MODE = syncFs.constants.W_OK | syncFs.constants.X_OK;
|
|
53
53
|
function isNodeErrorWithCode(err, code) {
|
|
54
54
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
55
55
|
}
|
|
56
56
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
57
|
-
const accessSync = options.accessSync ??
|
|
58
|
-
const chmodSync = options.chmodSync ??
|
|
59
|
-
const lstatSync = options.lstatSync ??
|
|
60
|
-
const mkdirSync = options.mkdirSync ??
|
|
57
|
+
const accessSync = options.accessSync ?? syncFs.accessSync;
|
|
58
|
+
const chmodSync = options.chmodSync ?? syncFs.chmodSync;
|
|
59
|
+
const lstatSync = options.lstatSync ?? syncFs.lstatSync;
|
|
60
|
+
const mkdirSync = options.mkdirSync ?? syncFs.mkdirSync;
|
|
61
61
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
62
62
|
const getuid = options.getuid ?? (() => {
|
|
63
63
|
try {
|
|
@@ -149,8 +149,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
149
149
|
function readLoggingConfig() {
|
|
150
150
|
const configPath = resolveConfigPath();
|
|
151
151
|
try {
|
|
152
|
-
if (!
|
|
153
|
-
const raw =
|
|
152
|
+
if (!syncFs.existsSync(configPath)) return;
|
|
153
|
+
const raw = syncFs.readFileSync(configPath, "utf-8");
|
|
154
154
|
const logging = JSON5.parse(raw)?.logging;
|
|
155
155
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
156
156
|
return logging;
|
|
@@ -332,7 +332,7 @@ function buildLogger(settings) {
|
|
|
332
332
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
333
333
|
return logger;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
syncFs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
336
336
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
337
337
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
338
338
|
let warnedAboutSizeCap = false;
|
|
@@ -371,14 +371,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
371
371
|
}
|
|
372
372
|
function getCurrentLogFileBytes(file) {
|
|
373
373
|
try {
|
|
374
|
-
return
|
|
374
|
+
return syncFs.statSync(file).size;
|
|
375
375
|
} catch {
|
|
376
376
|
return 0;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
function appendLogLine(file, line) {
|
|
380
380
|
try {
|
|
381
|
-
|
|
381
|
+
syncFs.appendFileSync(file, line, { encoding: "utf8" });
|
|
382
382
|
return true;
|
|
383
383
|
} catch {
|
|
384
384
|
return false;
|
|
@@ -430,14 +430,14 @@ function isRollingPath(file) {
|
|
|
430
430
|
}
|
|
431
431
|
function pruneOldRollingLogs(dir) {
|
|
432
432
|
try {
|
|
433
|
-
const entries =
|
|
433
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
434
434
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
435
435
|
for (const entry of entries) {
|
|
436
436
|
if (!entry.isFile()) continue;
|
|
437
437
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
438
438
|
const fullPath = path.join(dir, entry.name);
|
|
439
439
|
try {
|
|
440
|
-
if (
|
|
440
|
+
if (syncFs.statSync(fullPath).mtimeMs < cutoff) syncFs.rmSync(fullPath, { force: true });
|
|
441
441
|
} catch {}
|
|
442
442
|
}
|
|
443
443
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as detectMime } from "./paths-
|
|
2
|
-
import { ut as sanitizeToolResultImages } from "./model-selection-
|
|
1
|
+
import { u as detectMime } from "./paths-CqN6xa62.js";
|
|
2
|
+
import { ut as sanitizeToolResultImages } from "./model-selection-CTRvq26d.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
//#region src/agents/tools/common.ts
|
|
5
5
|
var ToolInputError = class extends Error {
|