@termix-it/cryptoclaw 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-MAwYK1nH.js → accounts-4l7ba973.js} +1 -1
- package/dist/{accounts-DHCEvJoG.js → accounts-CAjupeYV.js} +16 -16
- package/dist/{accounts-WPSFYBfl.js → accounts-k5nTdi32.js} +1 -1
- package/dist/{active-listener-BG3fObzp.js → active-listener-D9FARjMd.js} +1 -1
- package/dist/{agents-APWxL0pc.js → agents-BgGWuEM4.js} +4 -4
- package/dist/{agents.config-Bt2w0g9g.js → agents.config-CBblmxIJ.js} +1 -1
- package/dist/{agents.config-DMNDmQB3.js → agents.config-jlSvPmMw.js} +1 -1
- package/dist/{api-key-rotation-BUSngXoA.js → api-key-rotation-C-Q6XdUW.js} +2 -2
- package/dist/{audio-preflight-DylHSkVV.js → audio-preflight-C7kt2vOu.js} +33 -33
- package/dist/{audio-transcription-runner-D1VfiPMl.js → audio-transcription-runner-CawngPvE.js} +12 -12
- package/dist/{audit-membership-runtime-Dg_k-jzY.js → audit-membership-runtime-C6dnIaXJ.js} +5 -5
- package/dist/{auth-choice-BU6K1e3k.js → auth-choice-BZof8lFS.js} +1 -1
- package/dist/{auth-choice-BteeSZpX.js → auth-choice-Bfddvmj3.js} +1 -1
- package/dist/{banner-CzhEeK4U.js → banner-DSSu3MES.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +52 -52
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +52 -52
- package/dist/bundled/soul-evil/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-TwPquwyw.js → channel-activity-Hho38eZq.js} +3 -3
- package/dist/{channel-options-3d9AkTzB.js → channel-options-DhT3itUm.js} +1 -1
- package/dist/{channel-options-CGZSPHrf.js → channel-options-uwhpiId_.js} +1 -1
- package/dist/{channel-web-BOduPOdI.js → channel-web-Dfitllt8.js} +1 -1
- package/dist/{channel-web-DJpgzln9.js → channel-web-VY7QYUgs.js} +1 -1
- package/dist/{channels-cli-PDKQIDwD.js → channels-cli-BK1fnXeM.js} +7 -7
- package/dist/{channels-cli-DUq_ZyYt.js → channels-cli-CHNWup9-.js} +7 -7
- package/dist/{chrome-B972B1oO.js → chrome-palWvTtp.js} +18 -18
- package/dist/{cli-BSMD-wDs.js → cli-C38DxImL.js} +2 -2
- package/dist/{cli-zy3mgZH-.js → cli-Dp2ZovoW.js} +2 -2
- package/dist/{command-registry-CiGCHshG.js → command-registry-drCkGuaC.js} +10 -10
- package/dist/{commands-registry-C1rzSTeQ.js → commands-registry-A3LstXeY.js} +4 -4
- package/dist/{completion-cli-Cv0Vxe6o.js → completion-cli-CKIfUKoG.js} +1 -1
- package/dist/{completion-cli-BU4ty_aJ.js → completion-cli-DFqf7UbJ.js} +2 -2
- package/dist/{config-cli-BUTfK0hW.js → config-cli-BVu6OUbV.js} +1 -1
- package/dist/{config-cli-BxJeEh_0.js → config-cli-CSehjRJE.js} +1 -1
- package/dist/{configure-CmJfUSUr.js → configure-BbBLdzt7.js} +3 -3
- package/dist/{configure-8lVykYnh.js → configure-TlnrY7sN.js} +3 -3
- package/dist/{deliver-CEbU5IBY.js → deliver-JkYjt9Qz.js} +20 -20
- package/dist/deliver-runtime-BvTbrDXE.js +37 -0
- package/dist/deps-send-discord.runtime-1mqY0Pn3.js +27 -0
- package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +26 -0
- package/dist/deps-send-signal.runtime-CHqnnRXO.js +25 -0
- package/dist/deps-send-slack.runtime-CbGlCNTX.js +23 -0
- package/dist/deps-send-telegram.runtime-CgApeKta.js +28 -0
- package/dist/deps-send-whatsapp.runtime-BP1TzaH2.js +61 -0
- package/dist/{deps-send-whatsapp.runtime-i7Po75u8.js → deps-send-whatsapp.runtime-CbNuccsY.js} +4 -4
- package/dist/{deps-send-whatsapp.runtime-DK374NBi.js → deps-send-whatsapp.runtime-D2LQa8La.js} +4 -4
- package/dist/{diagnostic-IKfXukdB.js → diagnostic-BGtFj4tU.js} +2 -2
- package/dist/{doctor-completion-DlJLi2iR.js → doctor-completion-CuhwQAKf.js} +1 -1
- package/dist/{doctor-completion-DE8rQlzx.js → doctor-completion-UIrYmlFZ.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-C-TFeu_U.js → errors-C1YF712P.js} +1 -1
- package/dist/{fetch-BsFdX4tn.js → fetch-_iocPLV2.js} +5 -5
- package/dist/{fetch-guard-4K8g_TXN.js → fetch-guard-CiQUuV0r.js} +2 -2
- package/dist/{frontmatter-DHQ0IaHw.js → frontmatter-Dn68lQ_o.js} +3 -3
- package/dist/{fs-safe-BwhFB7Uo.js → fs-safe-BLpOReWZ.js} +4 -4
- package/dist/{gateway-cli-DBUjNaTU.js → gateway-cli-B_yiYET0.js} +9 -9
- package/dist/{gateway-cli-DEdGe0N2.js → gateway-cli-o87wjmXO.js} +9 -9
- package/dist/{github-copilot-token-D1RrJx7s.js → github-copilot-token-DDa7O18e.js} +7 -7
- package/dist/{health-DmCqZQWS.js → health-BtR5qiQu.js} +1 -1
- package/dist/{health-i7BpZK8H.js → health-SohRW0Au.js} +1 -1
- package/dist/{hooks-cli-Vt5EnXJy.js → hooks-cli-DA-hMHRE.js} +3 -3
- package/dist/{hooks-cli-KpChFv5u.js → hooks-cli-DDbWkzaW.js} +3 -3
- package/dist/{image-D9ypE3-q.js → image-BlRI3dXw.js} +6 -6
- package/dist/{image-ops-CmuiWrJv.js → image-ops-D7mq-4y1.js} +2 -2
- package/dist/image-runtime-Cp3I725X.js +30 -0
- package/dist/index.js +7 -7
- package/dist/{ir-BgRFz8jI.js → ir-Dpg87zYv.js} +7 -7
- package/dist/{legacy-names-7AmQGjQk.js → legacy-names-BAiRv0I2.js} +1 -1
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-BDDjH6hb.js → logger-C53B395N.js} +1 -1
- package/dist/{login-DR9M0Alg.js → login-CHsCISh4.js} +5 -5
- package/dist/{login-qr-DhI_GpxA.js → login-qr-BEW3jIOt.js} +11 -11
- package/dist/{manager-C80Inv1T.js → manager-Dfrejf6z.js} +13 -13
- package/dist/manager-runtime-DacMHR37.js +19 -0
- package/dist/{memory-cli-nJ0zujIp.js → memory-cli-1oaIDOW8.js} +2 -2
- package/dist/{memory-cli-Cq0_-tR2.js → memory-cli-Bp1To7jm.js} +2 -2
- package/dist/{model-selection-CiffIpda.js → model-selection-e9hodq0l.js} +43 -43
- package/dist/{models-DFcmwLyd.js → models-BA-4owed.js} +2 -2
- package/dist/{models-cli-C3MgmR5P.js → models-cli-CXBkorTt.js} +4 -4
- package/dist/{models-cli-BFty3Lf0.js → models-cli-Da9VNU1F.js} +3 -3
- package/dist/{npm-resolution-cPvfFeW3.js → npm-resolution-C873xoG-.js} +1 -1
- package/dist/{npm-resolution-usPm99nU.js → npm-resolution-DcToGf31.js} +1 -1
- package/dist/{onboard-sxX0LKra.js → onboard-CFVZ_tLS.js} +2 -2
- package/dist/{onboard-channels-4xKNT1d3.js → onboard-channels-Cji_Bpi5.js} +1 -1
- package/dist/{onboard-channels-DNmcc7GV.js → onboard-channels-tfZfzFUy.js} +1 -1
- package/dist/{onboard-DEXrIgAj.js → onboard-o4Ax3ce2.js} +2 -2
- package/dist/onboard-wallet-CLprx0TL.js +155 -0
- package/dist/onboard-wallet-DDau_3R0.js +155 -0
- package/dist/{onboarding-DptEa7du.js → onboarding-Bsyy9lQJ.js} +40 -4
- package/dist/{onboarding-C-YkK0dn.js → onboarding-Cz-FN3dY.js} +40 -4
- package/dist/{onboarding.finalize-B9Xw0YTE.js → onboarding.finalize-4F13C5Cf.js} +7 -7
- package/dist/{onboarding.finalize-MzE-hxAw.js → onboarding.finalize-BSHbCEbZ.js} +6 -6
- package/dist/{outbound-DRXnhjhO.js → outbound-BZqL8UdJ.js} +6 -6
- package/dist/{outbound-attachment-CbQ3_IKf.js → outbound-attachment-wzHGF-Is.js} +2 -2
- package/dist/{path-alias-guards-DUWK88Ct.js → path-alias-guards-It4BBRdm.js} +1 -1
- package/dist/{paths-B-UhE8oc.js → paths-C6TxBCvO.js} +5 -5
- package/dist/{paths-Dxl3r5jd.js → paths-CZ0nrg7g.js} +3 -3
- package/dist/{pi-embedded-BC1F5aRs.js → pi-embedded-ChjtsiVT.js} +155 -155
- package/dist/{pi-embedded-helpers-DqvEMwsR.js → pi-embedded-helpers-CE9KKP1Q.js} +52 -52
- package/dist/{pi-model-discovery-CQgqt_Mv.js → pi-model-discovery-32EFg27L.js} +7 -7
- package/dist/pi-model-discovery-runtime-C8SNNnEN.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-Lfb7FVNU.js → pi-tools.before-tool-call.runtime-BfjlGXIc.js} +10 -10
- package/dist/{plugin-registry-1ma_GS_Y.js → plugin-registry-CqaLj5NI.js} +1 -1
- package/dist/{plugin-registry-CO3b05zo.js → plugin-registry-CxwuWddJ.js} +1 -1
- package/dist/plugin-sdk/{accounts-DAebrX4r.js → accounts-BY3xA55d.js} +3 -3
- package/dist/plugin-sdk/{accounts-B9ydKoYC.js → accounts-Bpe8MpMj.js} +2 -2
- package/dist/plugin-sdk/{accounts-C1Yf8rUO.js → accounts-BypsQT27.js} +2 -2
- package/dist/plugin-sdk/{accounts-BOVsvZ69.js → accounts-C4br4nlZ.js} +3 -3
- package/dist/plugin-sdk/{accounts-BkuioOq8.js → accounts-DTNnTWpJ.js} +2 -2
- package/dist/plugin-sdk/{accounts-DxlJAHNG.js → accounts-Dg9HUb5m.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CYvTJUbv.js → active-listener-B5t82gRU.js} +2 -2
- package/dist/plugin-sdk/{active-listener-D7Jidx1U.js → active-listener-kZJwBchj.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-d8cmHGhi.js → api-key-rotation-BFNdrCf9.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CLAvYiCX.js → api-key-rotation-wZaR5O8n.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B1iVdt7A.js → audio-preflight-B7ivxhvF.js} +26 -26
- package/dist/plugin-sdk/{audio-preflight-vJtQi-4_.js → audio-preflight-DOR1d1hn.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-6TQq2i9u.js → audio-transcription-runner-B8OUiy7P.js} +11 -11
- package/dist/plugin-sdk/{audio-transcription-runner-Bfv_TVP4.js → audio-transcription-runner-DWncgs4M.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BpoX61hv.js → audit-membership-runtime-DvBMQsDC.js} +2 -2
- package/dist/plugin-sdk/{audit-membership-runtime-DS34hPU6.js → audit-membership-runtime-Re50ULXH.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-BcVbdzzf.js → channel-activity-Dx1jbA3a.js} +3 -3
- package/dist/plugin-sdk/{channel-activity-1LCR07HU.js → channel-activity-VsWwcNLD.js} +3 -3
- package/dist/plugin-sdk/{channel-web-CuX4_OOJ.js → channel-web-BSMnT0J1.js} +18 -18
- package/dist/plugin-sdk/{channel-web-CdKEEscn.js → channel-web-BlIQD83I.js} +18 -18
- package/dist/plugin-sdk/{chrome-CbDAFNHQ.js → chrome-pOAzXzzJ.js} +6 -6
- package/dist/plugin-sdk/{chrome-DifgiNQb.js → chrome-wTqnW5U7.js} +6 -6
- package/dist/plugin-sdk/commands/onboard-types.d.ts +6 -0
- package/dist/plugin-sdk/{commands-registry-BwfAoL8g.js → commands-registry-BWv4oM2P.js} +4 -4
- package/dist/plugin-sdk/{commands-registry-D8gIWgM5.js → commands-registry-pKaQ4EJQ.js} +4 -4
- package/dist/plugin-sdk/{common-tbQtS1zp.js → common-BlJfaliy.js} +2 -2
- package/dist/plugin-sdk/{config-xkSrCec1.js → config-CURxPU7B.js} +7 -7
- package/dist/plugin-sdk/{config-DdConC4M.js → config-cWsVJMRn.js} +7 -7
- package/dist/plugin-sdk/{deliver-30LL_FDf.js → deliver-Ba8ti0Um.js} +10 -10
- package/dist/plugin-sdk/{deliver-D_Ofr_vN.js → deliver-BpfQj4BK.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +32 -0
- package/dist/plugin-sdk/deliver-runtime-Qmy3w63D.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +23 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Db6_7ZAc.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-C_EYS_sH.js +22 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +21 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DK121Bh0.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-AaWSr7fe.js +19 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dylx-xTp.js +24 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BjQGa9z_.js +57 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DhJ30vWr.js +57 -0
- package/dist/plugin-sdk/{diagnostic-GjXXC_Pm.js → diagnostic-Bi3FO6Il.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-BiLQ5uMU.js → diagnostic-DJkCYiHJ.js} +2 -2
- package/dist/plugin-sdk/{errors-Cn3JyiMn.js → errors-B2jpHiod.js} +1 -1
- package/dist/{errors-B2Vmqoab.js → plugin-sdk/errors-x0EvNKYN.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-su5BIIz5.js → fetch-guard-B4oIrtQU.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-ClYTU8LW.js → fetch-guard-d5MU-Fi7.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B0eWdlGT.js → fs-safe-BGLuaVDw.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-Bs9BHEmp.js → fs-safe-D57cyrSh.js} +3 -3
- package/dist/plugin-sdk/{image-BHgCDBaW.js → image-D9cX-W4_.js} +6 -6
- package/dist/plugin-sdk/{image-_uAwPFe2.js → image-DWnmWvGr.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CsS12Rhg.js → image-ops-BPP3M0yA.js} +2 -2
- package/dist/plugin-sdk/{image-ops-D5EPN96N.js → image-ops-N60pMFiM.js} +2 -2
- package/dist/plugin-sdk/image-runtime-BBiuMz7E.js +25 -0
- package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-DvWncgWp.js → ir-A16Z9dUw.js} +7 -7
- package/dist/plugin-sdk/{ir-BVqIWdpl.js → ir-DvNCG3HQ.js} +7 -7
- package/dist/plugin-sdk/{local-roots-Bh7FKHd2.js → local-roots-BQJNDffC.js} +4 -4
- package/dist/plugin-sdk/{local-roots-CCfvGuoX.js → local-roots-DJr1PN3z.js} +4 -4
- package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
- package/dist/plugin-sdk/{logger-z1vqlUc1.js → logger-COmHOvdm.js} +2 -2
- package/dist/plugin-sdk/{login-1hsZj0g8.js → login-CoU-pP8D.js} +4 -4
- package/dist/plugin-sdk/{login-CYqSEzPN.js → login-DXLuzgCO.js} +4 -4
- package/dist/plugin-sdk/{login-qr-CXXXR_1G.js → login-qr-DdTcNEXK.js} +5 -5
- package/dist/plugin-sdk/{login-qr-mIn4oSE6.js → login-qr-wRFAAkU1.js} +5 -5
- package/dist/plugin-sdk/{manager-CKCJdSeL.js → manager-BlnM_iwm.js} +8 -8
- package/dist/plugin-sdk/{manager-Dj-hy8oN.js → manager-ClrE1ahD.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +15 -0
- package/dist/plugin-sdk/manager-runtime-Ccj_7Z0c.js +15 -0
- package/dist/plugin-sdk/{outbound-DVpHFwMf.js → outbound-Cw6160wa.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-Aa86Zp9X.js → outbound-attachment-C1GuoigP.js} +2 -2
- package/dist/plugin-sdk/{outbound-attachment-DXCuJPzV.js → outbound-attachment-DWhUVfia.js} +2 -2
- package/dist/plugin-sdk/{outbound-IhJ6xLv1.js → outbound-wmFCJQyk.js} +5 -5
- package/dist/plugin-sdk/{path-alias-guards-Ddj-jk91.js → path-alias-guards-Bsi-4XND.js} +1 -1
- package/dist/plugin-sdk/{path-alias-guards-CtnE1WrY.js → path-alias-guards-Ck7kqOtM.js} +1 -1
- package/dist/plugin-sdk/{paths-MqZfQzk4.js → paths-C_3UIAbs.js} +1 -1
- package/dist/plugin-sdk/{paths-Mew07RGP.js → paths-Cb2hB2o0.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-De-tYNO5.js → pi-embedded-helpers-3l1dRoEY.js} +16 -16
- package/dist/plugin-sdk/{pi-embedded-helpers-B_iabXhh.js → pi-embedded-helpers-VYetsWcU.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-CmWdgrld.js → pi-model-discovery-Bi4ewLKb.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-avPx6Ptq.js → pi-model-discovery-Bs1t1vHG.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +8 -0
- package/dist/plugin-sdk/pi-model-discovery-runtime-jmgr21i6.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-dixwOhKo.js → pi-tools.before-tool-call.runtime-133Rh_QB.js} +4 -4
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DZs_C8RL.js → pi-tools.before-tool-call.runtime-DJbnwybV.js} +4 -4
- package/dist/plugin-sdk/{plugins-WDZLdw8Z.js → plugins-A3lJ2lkT.js} +4 -4
- package/dist/plugin-sdk/{plugins-Df9rHggh.js → plugins-Bm4rp8IX.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-DKQK-fn1.js → proxy-env-DnjPLipe.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-BZAtM2fT.js} +1 -1
- package/dist/{proxy-fetch-DJI7qbLV.js → plugin-sdk/proxy-fetch-C-fXKPD2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-eYJyyMZX.js → pw-ai-BhB6bXtS.js} +9 -9
- package/dist/plugin-sdk/{pw-ai-BcFVaXMO.js → pw-ai-CslJ6u1B.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-CgAY74JQ.js → qmd-manager-BV37X-4s.js} +7 -7
- package/dist/plugin-sdk/{qmd-manager-mWoTdSFY.js → qmd-manager-CmGPY3vR.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-4V3Vjs8V.js → query-expansion-B7JBWi3Y.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-X3iK3wW4.js → query-expansion-oxEhEDk_.js} +5 -5
- package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
- package/dist/plugin-sdk/{redact-DIGZ7dEc.js → redact-DZTeCKgA.js} +1 -1
- package/dist/plugin-sdk/{reply-C7BzXVHh.js → reply-DIkRSlhC.js} +73 -73
- package/dist/plugin-sdk/{reply-D1vqXg5h.js → reply-DTRgf1F0.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target--JkNiVR3.js → resolve-outbound-target-8WMGshxA.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-Dk3UdF5C.js → resolve-outbound-target-K2KiC0bi.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-CAg6hblr.js → run-with-concurrency-CbyBbGss.js} +1 -1
- package/dist/plugin-sdk/{run-with-concurrency-KlQQobSI.js → run-with-concurrency-FfGqq3TC.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-_T4-3_NI.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +19 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DDvDCva6.js +19 -0
- package/dist/plugin-sdk/{send-CG8TGQTM.js → send-70p3gkTA.js} +7 -7
- package/dist/plugin-sdk/{send-BTWIW3-9.js → send-C5J_PXzR.js} +8 -8
- package/dist/plugin-sdk/{send-BfMo4yKi.js → send-CnZwc5Xm.js} +13 -13
- package/dist/plugin-sdk/{send-wEJ-5g9f.js → send-CqaHDOLs.js} +6 -6
- package/dist/plugin-sdk/{send-BR0ocVRg.js → send-DAZltiIW.js} +8 -8
- package/dist/plugin-sdk/{send-BosYVCS8.js → send-DGJpvm7n.js} +5 -5
- package/dist/plugin-sdk/{send-C1N0kX50.js → send-DbUkzyXv.js} +7 -7
- package/dist/plugin-sdk/{send-DyAZa1y0.js → send-DbhdUm2I.js} +6 -6
- package/dist/plugin-sdk/{send-CSJIozmo.js → send-DdNdK-kV.js} +5 -5
- package/dist/plugin-sdk/{send-D50Hdj7y.js → send-DjqI2JpQ.js} +13 -13
- package/dist/plugin-sdk/{session-CDTFGpPr.js → session-BBm3qP5l.js} +3 -3
- package/dist/plugin-sdk/{session-xR2DLzse.js → session-Cpth1H2A.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-X5RX1jW3.js → skill-commands-B_tuCFSd.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DHOHDbOQ.js → skill-commands-X5gpohJ1.js} +4 -4
- package/dist/plugin-sdk/{skills-v1KdkGto.js → skills-BG1gHeJ_.js} +6 -6
- package/dist/plugin-sdk/{skills-LpJmo0DO.js → skills-s-HEpPkh.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-BoVuWmR3.js +13 -0
- package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BHeslQ9I.js +52 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-CbjjpN46.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-CyuOIQN-.js +16 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +16 -0
- package/dist/plugin-sdk/{ssrf-Ctw5peX0.js → ssrf-BlFOb1TL.js} +1 -1
- package/dist/plugin-sdk/{store-DtdqEbDW.js → store-C3Z3fpIY.js} +2 -2
- package/dist/plugin-sdk/{store-BECFHajU.js → store-DuNHlb8J.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-DuCu4ZTF.js +52 -0
- package/dist/plugin-sdk/subagent-registry-runtime-TPnV-Feh.js +52 -0
- package/dist/plugin-sdk/{tables-D5d9mqkg.js → tables-BfXi9ML_.js} +1 -1
- package/dist/plugin-sdk/{tables-BGPXRfUo.js → tables-DBVdEzq2.js} +1 -1
- package/dist/{target-errors-KgDT2gLA.js → plugin-sdk/target-errors-CX2np2l6.js} +2 -2
- package/dist/plugin-sdk/{thinking-DwXFSbD_.js → thinking-B9UJvomD.js} +7 -7
- package/dist/plugin-sdk/{thinking-CCdKzGau.js → thinking-J6jgjmDK.js} +7 -7
- package/dist/plugin-sdk/{tokens-DuRErjk3.js → tokens-DMbd3-Ct.js} +1 -1
- package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-XT-8y62w.js} +1 -1
- package/dist/plugin-sdk/{tool-images-6BfTarJB.js → tool-images-BtzvC48Z.js} +2 -2
- package/dist/plugin-sdk/{tool-images-B4KNq2sg.js → tool-images-CJ10KuSq.js} +2 -2
- package/dist/plugin-sdk/web-Bkz8JTNB.js +56 -0
- package/dist/plugin-sdk/web-CpeWfvaf.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bi_hJ-Cq.js → whatsapp-actions-C4kVobIE.js} +17 -17
- package/dist/plugin-sdk/{whatsapp-actions-k9k_HQg1.js → whatsapp-actions-CgqENBb8.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-cli-DESM1g9H.js → plugins-cli-BOBhi6vj.js} +3 -3
- package/dist/{plugins-cli-Cz8qjGa-.js → plugins-cli-Ypib_ZAu.js} +3 -3
- package/dist/{plugins-XniO7sfQ.js → plugins-rc2l4VJe.js} +10 -10
- package/dist/{program-DIVcGZoY.js → program-Dtqm2kjE.js} +8 -8
- package/dist/{program-context-B8SH5Pdl.js → program-context-CG5ZBc7f.js} +18 -18
- package/dist/{prompt-select-styled-DYBmMpLB.js → prompt-select-styled-BkE7GW3g.js} +5 -5
- package/dist/{prompt-select-styled-Db3jekFt.js → prompt-select-styled-Bubswkcm.js} +5 -5
- package/dist/{provider-auth-helpers-DLAG-xEH.js → provider-auth-helpers-BOJRr3AT.js} +1 -1
- package/dist/{provider-auth-helpers-CMYpEEfK.js → provider-auth-helpers-CNHiPj2n.js} +1 -1
- package/dist/{proxy-env-DmWlGLBC.js → proxy-env-C2sbN0UU.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-DxlXp4Yi.js → proxy-fetch-CVSmQMZt.js} +1 -1
- package/dist/{push-apns-BYE8LhKX.js → push-apns-CFoFAonc.js} +1 -1
- package/dist/{push-apns-buHXMlvp.js → push-apns-D2WXZjcs.js} +1 -1
- package/dist/{pw-ai-B80S9aX7.js → pw-ai-CWE0qzH7.js} +15 -15
- package/dist/{qmd-manager-BR3hqTPz.js → qmd-manager-DMSLC2iu.js} +11 -11
- package/dist/{query-expansion-BqeYg_KB.js → query-expansion-MI1dZ5Nj.js} +6 -6
- package/dist/{redact-DXxcO2ch.js → redact-BXURioma.js} +1 -1
- package/dist/{register.agent-DqLkvzup.js → register.agent-Br-Y4UQG.js} +7 -7
- package/dist/{register.agent-CSLJ1ral.js → register.agent-Das6WI06.js} +8 -8
- package/dist/{register.configure-BeUMP8qR.js → register.configure-B1KDSNt2.js} +8 -8
- package/dist/{register.configure-CR5sLkM9.js → register.configure-C51htKDs.js} +8 -8
- package/dist/{register.maintenance-Yz7iswBq.js → register.maintenance-BBn-yNR7.js} +9 -9
- package/dist/{register.maintenance-VlJQxEQj.js → register.maintenance-CHq5H-j0.js} +8 -8
- package/dist/{register.message-BYhbFha9.js → register.message-Cx0R9D0q.js} +3 -3
- package/dist/{register.message-BHNP-sXn.js → register.message-nwyAqXBm.js} +3 -3
- package/dist/{register.onboard-CO75d40a.js → register.onboard-CSOzERS8.js} +2 -2
- package/dist/{register.onboard-CLvU1m-R.js → register.onboard-D9-seugA.js} +2 -2
- package/dist/{register.setup-8aW6IV4r.js → register.setup-B0ALWgJA.js} +2 -2
- package/dist/{register.setup-Bne4coEf.js → register.setup-Zu2ZL_xV.js} +2 -2
- package/dist/{register.status-health-sessions-BDA0wZvj.js → register.status-health-sessions-Bo1NWHTF.js} +4 -4
- package/dist/{register.status-health-sessions-DqaespPp.js → register.status-health-sessions-CU2aw4Hn.js} +4 -4
- package/dist/{register.subclis-SsmPAU6K.js → register.subclis-BY6T1GZv.js} +9 -9
- package/dist/{reply-BEwkR4yo.js → reply-BqhnZbqb.js} +18 -18
- package/dist/{run-main-NWS9VlVz.js → run-main-CHV8CYwf.js} +16 -16
- package/dist/{run-with-concurrency-BO2phtXO.js → run-with-concurrency-C5E9gJhP.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +23 -0
- package/dist/{send-BTfv7AaM.js → send-BWySsurX.js} +7 -7
- package/dist/{send-BvcR90t7.js → send-BlTVCcYd.js} +25 -25
- package/dist/{send-Cz5Fxy-m.js → send-C87tIqIn.js} +7 -7
- package/dist/{send-8gHRezMM.js → send-Cpja8Q1N.js} +5 -5
- package/dist/{send-tnPEkJiG.js → send-OP60RbsK.js} +6 -6
- package/dist/{server-node-events-DpJU4SdG.js → server-node-events-Cl_g7u2c.js} +3 -3
- package/dist/{server-node-events-Bzjy1Xtj.js → server-node-events-bMD7s7bO.js} +3 -3
- package/dist/{session-B7285vs2.js → session-DmXsj3JD.js} +8 -8
- package/dist/{skill-commands-CyPSgHR1.js → skill-commands-DEsgUSH3.js} +9 -9
- package/dist/{skills-BItCBgHn.js → skills-OklkZyI1.js} +22 -22
- package/dist/slash-commands.runtime-gtQnheWz.js +17 -0
- package/dist/{slash-dispatch.runtime-D-oMjxcP.js → slash-dispatch.runtime-CDbTI8Zn.js} +2 -2
- package/dist/slash-dispatch.runtime-DHv-RY9C.js +57 -0
- package/dist/{slash-dispatch.runtime-DV907pxr.js → slash-dispatch.runtime-Dfs5wcag.js} +2 -2
- package/dist/slash-skill-commands.runtime-CA_oN4df.js +21 -0
- package/dist/{status-EvCGTkQn.js → status-C-0bju9A.js} +3 -3
- package/dist/{status-CBPmJLfb.js → status-Cs4ozAdx.js} +3 -3
- package/dist/{store-D6UDEQAm.js → store-BNhebBGr.js} +2 -2
- package/dist/{subagent-registry-DQ-U47U4.js → subagent-registry-iFkFgxIF.js} +18 -18
- package/dist/subagent-registry-runtime-CcyMwoU6.js +57 -0
- package/dist/{subagent-registry-runtime-Bgf5dXIu.js → subagent-registry-runtime-CeOQQxea.js} +2 -2
- package/dist/{subagent-registry-runtime-CWBUvwv6.js → subagent-registry-runtime-Cgw6YwfZ.js} +2 -2
- package/dist/{subsystem-D0TuaxQo.js → subsystem-W834z9Wa.js} +14 -14
- package/dist/{tables-CSZ8Vmrh.js → tables-XtcH-BaF.js} +1 -1
- package/dist/{plugin-sdk/target-errors-EppfnloD.js → target-errors-CNzteBWz.js} +2 -2
- package/dist/{thinking-D3IkjILB.js → thinking-X8yYhVf1.js} +6 -6
- package/dist/{tokens-B5sJjWxn.js → tokens-DxcVnNVJ.js} +1 -1
- package/dist/{tool-images-C6sn5gPw.js → tool-images-B-4ixjYn.js} +2 -2
- package/dist/{update-cli-D70Tpv2p.js → update-cli-07BoVV9o.js} +8 -8
- package/dist/{update-cli-B2twzUzo.js → update-cli-DvX9flwT.js} +9 -9
- package/dist/{update-runner-CFH1vAet.js → update-runner-DPJDvGzk.js} +1 -1
- package/dist/{update-runner-BQjJqa5Z.js → update-runner-RtYc0wSW.js} +1 -1
- package/dist/{utils-VpQxx_Ci.js → utils-D2oM4XHm.js} +7 -7
- package/dist/{web-B9akwZ9Q.js → web-AlAsgosE.js} +56 -56
- package/dist/{web-BV88abgj.js → web-CnqADWPs.js} +3 -3
- package/dist/{web-C9_Z0znV.js → web-UlvsjtC9.js} +3 -3
- package/dist/{whatsapp-actions-DsMWjVmg.js → whatsapp-actions-BPIXiPAR.js} +22 -22
- package/dist/{workspace-C7j8mMYc.js → workspace-ZgWjBCAm.js} +21 -21
- package/package.json +1 -1
- package/dist/deliver-runtime-2oTfiQBW.js +0 -37
- package/dist/deps-send-discord.runtime-CaqCAqcE.js +0 -27
- package/dist/deps-send-imessage.runtime-B4SfcBtt.js +0 -26
- package/dist/deps-send-signal.runtime-C4COTtrG.js +0 -25
- package/dist/deps-send-slack.runtime-B_4hwea9.js +0 -23
- package/dist/deps-send-telegram.runtime-MuUJFk12.js +0 -28
- package/dist/deps-send-whatsapp.runtime-DoXnqRdU.js +0 -61
- package/dist/image-runtime-DWl2_x74.js +0 -30
- package/dist/manager-runtime-CZv0ALL_.js +0 -19
- package/dist/pi-model-discovery-runtime-D4Jl2mQE.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-BzekNyDR.js +0 -32
- package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +0 -23
- package/dist/plugin-sdk/deps-send-discord.runtime-DAQdyr0A.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +0 -22
- package/dist/plugin-sdk/deps-send-imessage.runtime-DeN3xqBZ.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BzOTNsH2.js +0 -21
- package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +0 -19
- package/dist/plugin-sdk/deps-send-slack.runtime-RJ6do6c_.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-CT8fXkjj.js +0 -24
- package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DtH6rXyR.js +0 -57
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-MsowpjAX.js +0 -57
- package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +0 -25
- package/dist/plugin-sdk/image-runtime-usFQghD_.js +0 -25
- package/dist/plugin-sdk/manager-runtime-C8E7uQRc.js +0 -15
- package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-BInvqyx7.js +0 -8
- package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-VulSN6Vo.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +0 -19
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-KEv7zH3k.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-Bh4gVuZZ.js +0 -13
- package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-B8aJMkx9.js +0 -52
- package/dist/plugin-sdk/slash-dispatch.runtime-D6UTc-X3.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +0 -16
- package/dist/plugin-sdk/slash-skill-commands.runtime-ztQcIAHF.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-C7Bju4fL.js +0 -52
- package/dist/plugin-sdk/subagent-registry-runtime-DtV745_q.js +0 -52
- package/dist/plugin-sdk/web-CEmcQCvf.js +0 -56
- package/dist/plugin-sdk/web-Dzy-Gyjd.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-DknvIgQ9.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-DzQVWw3U.js +0 -23
- package/dist/slash-commands.runtime-B5euYv9Q.js +0 -17
- package/dist/slash-dispatch.runtime-DXuZn9JV.js +0 -57
- package/dist/slash-skill-commands.runtime-DA20IzN7.js +0 -21
- package/dist/subagent-registry-runtime-BmI0Wvlh.js +0 -57
- /package/dist/{audio-preflight-BQV5cOlH.js → audio-preflight-BxFoXiPf.js} +0 -0
- /package/dist/{audio-preflight-EJ5SUJjd.js → audio-preflight-C4yq6ssq.js} +0 -0
- /package/dist/{audit-membership-runtime-D6qEVnNT.js → audit-membership-runtime-BG4WxIDH.js} +0 -0
- /package/dist/{audit-membership-runtime-pFLxEf5B.js → audit-membership-runtime-oo2DbgFW.js} +0 -0
- /package/dist/{deliver-runtime-GAi5480M.js → deliver-runtime-FL5_bhMe.js} +0 -0
- /package/dist/{deliver-runtime-C0OsjAj3.js → deliver-runtime-_L6Rv_7K.js} +0 -0
- /package/dist/{image-runtime-GVOBL24v.js → image-runtime-BeGeHH2O.js} +0 -0
- /package/dist/{image-runtime-Dx3-W2jp.js → image-runtime-Dny90w7z.js} +0 -0
- /package/dist/{login-qr-Bhg7XHZS.js → login-qr-BJCPbTFZ.js} +0 -0
- /package/dist/{login-qr-DuB0o4UM.js → login-qr-BohDxqgQ.js} +0 -0
- /package/dist/{manager-runtime-B6yWy31j.js → manager-runtime-BxaiDdDE.js} +0 -0
- /package/dist/{manager-runtime-DktmlE7-.js → manager-runtime-CIBcyjkJ.js} +0 -0
- /package/dist/{onboarding.gateway-config-tOUlSE0m.js → onboarding.gateway-config-BuC8nL_c.js} +0 -0
- /package/dist/{onboarding.gateway-config-CNrA9RiE.js → onboarding.gateway-config-CkT0qEDp.js} +0 -0
- /package/dist/{qmd-manager-DWrfS3aI.js → qmd-manager-BFT1h2hM.js} +0 -0
- /package/dist/{qmd-manager-DLmPp6Ml.js → qmd-manager-Q-iay5w2.js} +0 -0
- /package/dist/{runtime-whatsapp-login.runtime-D2RKecOQ.js → runtime-whatsapp-login.runtime-BoLTF-OO.js} +0 -0
- /package/dist/{runtime-whatsapp-login.runtime-pz7c55zj.js → runtime-whatsapp-login.runtime-DrtfK3ru.js} +0 -0
- /package/dist/{runtime-whatsapp-outbound.runtime-DPUew4QY.js → runtime-whatsapp-outbound.runtime-BWC6-uWe.js} +0 -0
- /package/dist/{runtime-whatsapp-outbound.runtime-DGm8MDjj.js → runtime-whatsapp-outbound.runtime-CQSrwbqD.js} +0 -0
- /package/dist/{slash-commands.runtime-CA221qL2.js → slash-commands.runtime-Chf-kE5X.js} +0 -0
- /package/dist/{slash-commands.runtime-XLelltUi.js → slash-commands.runtime-iH5_VNlE.js} +0 -0
- /package/dist/{slash-skill-commands.runtime--KJswwTl.js → slash-skill-commands.runtime-BJJnGhEx.js} +0 -0
- /package/dist/{slash-skill-commands.runtime-CMYgi1_t.js → slash-skill-commands.runtime-DQz7oU7j.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-
|
|
3
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-
|
|
4
|
-
import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
2
|
+
import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-C5E9gJhP.js";
|
|
3
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-C6TxBCvO.js";
|
|
4
|
+
import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
|
|
5
5
|
import { _ as isBlockedObjectKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DgdmD4k7.js";
|
|
6
|
-
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir, y as sleep } from "./utils-
|
|
7
|
-
import { O as isPathInside$2, _ as runExec, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-
|
|
8
|
-
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-
|
|
9
|
-
import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-
|
|
6
|
+
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir, y as sleep } from "./utils-D2oM4XHm.js";
|
|
7
|
+
import { O as isPathInside$2, _ as runExec, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-ZgWjBCAm.js";
|
|
8
|
+
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-BAiRv0I2.js";
|
|
10
10
|
import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import syncFs from "node:fs";
|
|
16
16
|
import JSON5 from "json5";
|
|
17
17
|
import { isDeepStrictEqual } from "node:util";
|
|
18
18
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -323,7 +323,7 @@ function isValidPid(pid) {
|
|
|
323
323
|
function isZombieProcess(pid) {
|
|
324
324
|
if (process.platform !== "linux") return false;
|
|
325
325
|
try {
|
|
326
|
-
return
|
|
326
|
+
return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
|
|
327
327
|
} catch {
|
|
328
328
|
return false;
|
|
329
329
|
}
|
|
@@ -350,7 +350,7 @@ function getProcessStartTime(pid) {
|
|
|
350
350
|
if (process.platform !== "linux") return null;
|
|
351
351
|
if (!isValidPid(pid)) return null;
|
|
352
352
|
try {
|
|
353
|
-
const stat =
|
|
353
|
+
const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
|
|
354
354
|
const commEndIndex = stat.lastIndexOf(")");
|
|
355
355
|
if (commEndIndex < 0) return null;
|
|
356
356
|
const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
|
|
@@ -619,7 +619,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
|
|
|
619
619
|
return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
|
|
620
620
|
}
|
|
621
621
|
function ensureAuthStoreFile(pathname) {
|
|
622
|
-
if (
|
|
622
|
+
if (syncFs.existsSync(pathname)) return;
|
|
623
623
|
saveJsonFile(pathname, {
|
|
624
624
|
version: AUTH_STORE_VERSION,
|
|
625
625
|
profiles: {}
|
|
@@ -881,7 +881,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
|
|
|
881
881
|
if (shouldWrite && legacy !== null) {
|
|
882
882
|
const legacyPath = resolveLegacyAuthStorePath(agentDir);
|
|
883
883
|
try {
|
|
884
|
-
|
|
884
|
+
syncFs.unlinkSync(legacyPath);
|
|
885
885
|
} catch (err) {
|
|
886
886
|
if (err?.code !== "ENOENT") log$8.warn("failed to delete legacy auth.json after migration", {
|
|
887
887
|
err,
|
|
@@ -1069,7 +1069,7 @@ function loadDotEnv(opts) {
|
|
|
1069
1069
|
const quiet = opts?.quiet ?? true;
|
|
1070
1070
|
dotenv.config({ quiet });
|
|
1071
1071
|
const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
|
|
1072
|
-
if (!
|
|
1072
|
+
if (!syncFs.existsSync(globalEnvPath)) return;
|
|
1073
1073
|
dotenv.config({
|
|
1074
1074
|
quiet,
|
|
1075
1075
|
path: globalEnvPath,
|
|
@@ -1199,7 +1199,7 @@ function resolveTimeoutMs(timeoutMs) {
|
|
|
1199
1199
|
function readEtcShells() {
|
|
1200
1200
|
if (cachedEtcShells !== void 0) return cachedEtcShells;
|
|
1201
1201
|
try {
|
|
1202
|
-
const entries =
|
|
1202
|
+
const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
|
|
1203
1203
|
cachedEtcShells = new Set(entries);
|
|
1204
1204
|
} catch {
|
|
1205
1205
|
cachedEtcShells = null;
|
|
@@ -1676,7 +1676,7 @@ function resolveActiveTalkProviderConfig(talk) {
|
|
|
1676
1676
|
};
|
|
1677
1677
|
}
|
|
1678
1678
|
function readTalkApiKeyFromProfile(deps = {}) {
|
|
1679
|
-
const fsImpl = deps.fs ??
|
|
1679
|
+
const fsImpl = deps.fs ?? syncFs;
|
|
1680
1680
|
const osImpl = deps.os ?? os;
|
|
1681
1681
|
const pathImpl = deps.path ?? path;
|
|
1682
1682
|
const home = osImpl.homedir();
|
|
@@ -2312,7 +2312,7 @@ function isPathInside$1(basePath, candidatePath) {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
function safeRealpathSync$1(filePath) {
|
|
2314
2314
|
try {
|
|
2315
|
-
return
|
|
2315
|
+
return syncFs.realpathSync(filePath);
|
|
2316
2316
|
} catch {
|
|
2317
2317
|
return null;
|
|
2318
2318
|
}
|
|
@@ -2422,7 +2422,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
2422
2422
|
const normalized = path.normalize(resolved);
|
|
2423
2423
|
if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
|
|
2424
2424
|
try {
|
|
2425
|
-
const real =
|
|
2425
|
+
const real = syncFs.realpathSync(normalized);
|
|
2426
2426
|
if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
|
|
2427
2427
|
} catch (err) {
|
|
2428
2428
|
if (err instanceof ConfigIncludeError) throw err;
|
|
@@ -2464,13 +2464,13 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
2464
2464
|
};
|
|
2465
2465
|
function safeRealpath(target) {
|
|
2466
2466
|
try {
|
|
2467
|
-
return
|
|
2467
|
+
return syncFs.realpathSync(target);
|
|
2468
2468
|
} catch {
|
|
2469
2469
|
return target;
|
|
2470
2470
|
}
|
|
2471
2471
|
}
|
|
2472
2472
|
function readConfigIncludeFileWithGuards(params) {
|
|
2473
|
-
const ioFs = params.ioFs ??
|
|
2473
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
2474
2474
|
const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
|
|
2475
2475
|
if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
|
|
2476
2476
|
const opened = openBoundaryFileSync({
|
|
@@ -2493,7 +2493,7 @@ function readConfigIncludeFileWithGuards(params) {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
2495
|
const defaultResolver = {
|
|
2496
|
-
readFile: (p) =>
|
|
2496
|
+
readFile: (p) => syncFs.readFileSync(p, "utf-8"),
|
|
2497
2497
|
readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
|
|
2498
2498
|
includePath,
|
|
2499
2499
|
resolvedPath,
|
|
@@ -4146,7 +4146,7 @@ function normalizeMatchTarget(value) {
|
|
|
4146
4146
|
}
|
|
4147
4147
|
function tryRealpath(value) {
|
|
4148
4148
|
try {
|
|
4149
|
-
return
|
|
4149
|
+
return syncFs.realpathSync(value);
|
|
4150
4150
|
} catch {
|
|
4151
4151
|
return null;
|
|
4152
4152
|
}
|
|
@@ -4699,8 +4699,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
|
|
|
4699
4699
|
}
|
|
4700
4700
|
function isExecutableFile(filePath) {
|
|
4701
4701
|
try {
|
|
4702
|
-
if (!
|
|
4703
|
-
if (process.platform !== "win32")
|
|
4702
|
+
if (!syncFs.statSync(filePath).isFile()) return false;
|
|
4703
|
+
if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
|
|
4704
4704
|
return true;
|
|
4705
4705
|
} catch {
|
|
4706
4706
|
return false;
|
|
@@ -4739,7 +4739,7 @@ const DEFAULT_SAFE_BINS = [
|
|
|
4739
4739
|
function tryResolveRealpath(filePath) {
|
|
4740
4740
|
if (!filePath) return;
|
|
4741
4741
|
try {
|
|
4742
|
-
return
|
|
4742
|
+
return syncFs.realpathSync(filePath);
|
|
4743
4743
|
} catch {
|
|
4744
4744
|
return;
|
|
4745
4745
|
}
|
|
@@ -5614,7 +5614,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
|
|
|
5614
5614
|
for (const dir of resolved) {
|
|
5615
5615
|
let stat;
|
|
5616
5616
|
try {
|
|
5617
|
-
stat =
|
|
5617
|
+
stat = syncFs.statSync(dir);
|
|
5618
5618
|
} catch {
|
|
5619
5619
|
continue;
|
|
5620
5620
|
}
|
|
@@ -6683,13 +6683,13 @@ function resolveBundledPluginsDir() {
|
|
|
6683
6683
|
try {
|
|
6684
6684
|
const execDir = path.dirname(process.execPath);
|
|
6685
6685
|
const sibling = path.join(execDir, "extensions");
|
|
6686
|
-
if (
|
|
6686
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
6687
6687
|
} catch {}
|
|
6688
6688
|
try {
|
|
6689
6689
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
6690
6690
|
for (let i = 0; i < 6; i += 1) {
|
|
6691
6691
|
const candidate = path.join(cursor, "extensions");
|
|
6692
|
-
if (
|
|
6692
|
+
if (syncFs.existsSync(candidate)) return candidate;
|
|
6693
6693
|
const parent = path.dirname(cursor);
|
|
6694
6694
|
if (parent === cursor) break;
|
|
6695
6695
|
cursor = parent;
|
|
@@ -6708,7 +6708,7 @@ function normalizeStringList(value) {
|
|
|
6708
6708
|
function resolvePluginManifestPath(rootDir) {
|
|
6709
6709
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
6710
6710
|
const candidate = path.join(rootDir, filename);
|
|
6711
|
-
if (
|
|
6711
|
+
if (syncFs.existsSync(candidate)) return candidate;
|
|
6712
6712
|
}
|
|
6713
6713
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
6714
6714
|
}
|
|
@@ -6734,7 +6734,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
|
|
|
6734
6734
|
}
|
|
6735
6735
|
let raw;
|
|
6736
6736
|
try {
|
|
6737
|
-
raw = JSON.parse(
|
|
6737
|
+
raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
|
|
6738
6738
|
} catch (err) {
|
|
6739
6739
|
return {
|
|
6740
6740
|
ok: false,
|
|
@@ -6742,7 +6742,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
|
|
|
6742
6742
|
manifestPath
|
|
6743
6743
|
};
|
|
6744
6744
|
} finally {
|
|
6745
|
-
|
|
6745
|
+
syncFs.closeSync(opened.fd);
|
|
6746
6746
|
}
|
|
6747
6747
|
if (!isRecord$3(raw)) return {
|
|
6748
6748
|
ok: false,
|
|
@@ -6823,7 +6823,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
6823
6823
|
const cached = cache?.get(targetPath);
|
|
6824
6824
|
if (cached) return cached;
|
|
6825
6825
|
try {
|
|
6826
|
-
const resolved =
|
|
6826
|
+
const resolved = syncFs.realpathSync(targetPath);
|
|
6827
6827
|
cache?.set(targetPath, resolved);
|
|
6828
6828
|
return resolved;
|
|
6829
6829
|
} catch {
|
|
@@ -6832,7 +6832,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
6832
6832
|
}
|
|
6833
6833
|
function safeStatSync(targetPath) {
|
|
6834
6834
|
try {
|
|
6835
|
-
return
|
|
6835
|
+
return syncFs.statSync(targetPath);
|
|
6836
6836
|
} catch {
|
|
6837
6837
|
return null;
|
|
6838
6838
|
}
|
|
@@ -6961,12 +6961,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
|
|
|
6961
6961
|
});
|
|
6962
6962
|
if (!opened.ok) return null;
|
|
6963
6963
|
try {
|
|
6964
|
-
const raw =
|
|
6964
|
+
const raw = syncFs.readFileSync(opened.fd, "utf-8");
|
|
6965
6965
|
return JSON.parse(raw);
|
|
6966
6966
|
} catch {
|
|
6967
6967
|
return null;
|
|
6968
6968
|
} finally {
|
|
6969
|
-
|
|
6969
|
+
syncFs.closeSync(opened.fd);
|
|
6970
6970
|
}
|
|
6971
6971
|
}
|
|
6972
6972
|
function deriveIdHint(params) {
|
|
@@ -7019,14 +7019,14 @@ function resolvePackageEntrySource(params) {
|
|
|
7019
7019
|
return null;
|
|
7020
7020
|
}
|
|
7021
7021
|
const safeSource = opened.path;
|
|
7022
|
-
|
|
7022
|
+
syncFs.closeSync(opened.fd);
|
|
7023
7023
|
return safeSource;
|
|
7024
7024
|
}
|
|
7025
7025
|
function discoverInDirectory(params) {
|
|
7026
|
-
if (!
|
|
7026
|
+
if (!syncFs.existsSync(params.dir)) return;
|
|
7027
7027
|
let entries = [];
|
|
7028
7028
|
try {
|
|
7029
|
-
entries =
|
|
7029
|
+
entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
|
|
7030
7030
|
} catch (err) {
|
|
7031
7031
|
params.diagnostics.push({
|
|
7032
7032
|
level: "warn",
|
|
@@ -7087,7 +7087,7 @@ function discoverInDirectory(params) {
|
|
|
7087
7087
|
}
|
|
7088
7088
|
continue;
|
|
7089
7089
|
}
|
|
7090
|
-
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
7090
|
+
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
|
|
7091
7091
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
7092
7092
|
candidates: params.candidates,
|
|
7093
7093
|
diagnostics: params.diagnostics,
|
|
@@ -7105,7 +7105,7 @@ function discoverInDirectory(params) {
|
|
|
7105
7105
|
}
|
|
7106
7106
|
function discoverFromPath(params) {
|
|
7107
7107
|
const resolved = resolveUserPath(params.rawPath);
|
|
7108
|
-
if (!
|
|
7108
|
+
if (!syncFs.existsSync(resolved)) {
|
|
7109
7109
|
params.diagnostics.push({
|
|
7110
7110
|
level: "error",
|
|
7111
7111
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -7113,7 +7113,7 @@ function discoverFromPath(params) {
|
|
|
7113
7113
|
});
|
|
7114
7114
|
return;
|
|
7115
7115
|
}
|
|
7116
|
-
const stat =
|
|
7116
|
+
const stat = syncFs.statSync(resolved);
|
|
7117
7117
|
if (stat.isFile()) {
|
|
7118
7118
|
if (!isExtensionFile(resolved)) {
|
|
7119
7119
|
params.diagnostics.push({
|
|
@@ -7171,7 +7171,7 @@ function discoverFromPath(params) {
|
|
|
7171
7171
|
}
|
|
7172
7172
|
return;
|
|
7173
7173
|
}
|
|
7174
|
-
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
7174
|
+
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
|
|
7175
7175
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
7176
7176
|
addCandidate({
|
|
7177
7177
|
candidates: params.candidates,
|
|
@@ -7285,7 +7285,7 @@ function buildCacheKey$1(params) {
|
|
|
7285
7285
|
}
|
|
7286
7286
|
function safeStatMtimeMs(filePath) {
|
|
7287
7287
|
try {
|
|
7288
|
-
return
|
|
7288
|
+
return syncFs.statSync(filePath).mtimeMs;
|
|
7289
7289
|
} catch {
|
|
7290
7290
|
return null;
|
|
7291
7291
|
}
|
|
@@ -12347,7 +12347,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
12347
12347
|
}
|
|
12348
12348
|
function normalizeDeps(overrides = {}) {
|
|
12349
12349
|
return {
|
|
12350
|
-
fs: overrides.fs ??
|
|
12350
|
+
fs: overrides.fs ?? syncFs,
|
|
12351
12351
|
json5: overrides.json5 ?? JSON5,
|
|
12352
12352
|
env: overrides.env ?? process.env,
|
|
12353
12353
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
@@ -8,7 +8,7 @@ import { x as shortenHomePath } from "./utils-BnC3HGtm.js";
|
|
|
8
8
|
import { N as normalizeSecretInputString, k as coerceSecretRef } from "./registry-CwKS6RIg.js";
|
|
9
9
|
import { r as resolveForwardCompatModel } from "./model-4MYhtwmk.js";
|
|
10
10
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Bs768Cx7.js";
|
|
11
|
-
import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-
|
|
11
|
+
import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-iFkFgxIF.js";
|
|
12
12
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-0JI_ndQl.js";
|
|
13
13
|
import { t as ensureOpenClawModelsJson } from "./models-config-rHYOUx9N.js";
|
|
14
14
|
import { n as loadModelCatalog } from "./model-catalog-Bq8ljVOk.js";
|
|
@@ -23,7 +23,7 @@ import { n as redactSecrets } from "./format-C-890_pY.js";
|
|
|
23
23
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-hHKmh3AF.js";
|
|
24
24
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Jtjowoeg.js";
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-4zSchJ5n.js";
|
|
26
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
26
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BOJRr3AT.js";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import crypto from "node:crypto";
|
|
29
29
|
import fs from "node:fs/promises";
|
|
@@ -31,7 +31,7 @@ import "./logging-CFvkxgcX.js";
|
|
|
31
31
|
import "./accounts-Du96Wx8V.js";
|
|
32
32
|
import "./send-BsLP4ooQ.js";
|
|
33
33
|
import "./send-CFJQjYMY.js";
|
|
34
|
-
import "./subagent-registry-
|
|
34
|
+
import "./subagent-registry-iFkFgxIF.js";
|
|
35
35
|
import "./paths-0JI_ndQl.js";
|
|
36
36
|
import "./chat-envelope-BHg8VU61.js";
|
|
37
37
|
import "./client-DPmb6CIu.js";
|
|
@@ -104,7 +104,7 @@ import "./command-secret-targets-DjEo9W7_.js";
|
|
|
104
104
|
import "./onboard-helpers-CEIyWqFt.js";
|
|
105
105
|
import "./prompt-style-Dws687Oa.js";
|
|
106
106
|
import "./pairing-labels-CGVQ42A3.js";
|
|
107
|
-
import "./memory-cli-
|
|
107
|
+
import "./memory-cli-1oaIDOW8.js";
|
|
108
108
|
import "./manager-CLRUN9PX.js";
|
|
109
109
|
import "./query-expansion-QQ7-fKJN.js";
|
|
110
110
|
import { t as formatDocsLink } from "./links-DBJiRgR0.js";
|
|
@@ -118,8 +118,8 @@ import "./table-CRCMNso3.js";
|
|
|
118
118
|
import "./shared-hHKmh3AF.js";
|
|
119
119
|
import "./auth-token-Jtjowoeg.js";
|
|
120
120
|
import "./logging-4zSchJ5n.js";
|
|
121
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
122
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
121
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-BOJRr3AT.js";
|
|
122
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-BA-4owed.js";
|
|
123
123
|
|
|
124
124
|
//#region src/cli/models-cli.ts
|
|
125
125
|
function runModelsCommand(action) {
|
|
@@ -2,7 +2,7 @@ import { t as CONFIG_PATH } from "./paths-BBP4yd-2.js";
|
|
|
2
2
|
import { d as colorize, f as isRich$1, p as theme } from "./globals-DyWRcjQY.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-xFiJOAuL.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { Gt as describeFailoverError, a as buildAuthHealthSummary, bt as formatUsageWindowSummary, f as runEmbeddedPiAgent, i as DEFAULT_OAUTH_WARN_MS, o as formatRemainingShort, r as maskApiKey, vt as loadProviderUsageSummary, xt as resolveUsageProviderId } from "./reply-
|
|
5
|
+
import { Gt as describeFailoverError, a as buildAuthHealthSummary, bt as formatUsageWindowSummary, f as runEmbeddedPiAgent, i as DEFAULT_OAUTH_WARN_MS, o as formatRemainingShort, r as maskApiKey, vt as loadProviderUsageSummary, xt as resolveUsageProviderId } from "./reply-BqhnZbqb.js";
|
|
6
6
|
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
|
|
7
7
|
import { i as defaultRuntime } from "./ansi-DLI3_F54.js";
|
|
8
8
|
import "./subsystem-Calg5NpK.js";
|
|
@@ -102,7 +102,7 @@ import "./session-cost-usage-dfpymDGj.js";
|
|
|
102
102
|
import { f as openUrl } from "./onboard-helpers-jxGULnAO.js";
|
|
103
103
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-cEmrLOfN.js";
|
|
104
104
|
import "./pairing-labels-TbvR0cDi.js";
|
|
105
|
-
import "./memory-cli-
|
|
105
|
+
import "./memory-cli-Bp1To7jm.js";
|
|
106
106
|
import "./manager-CBlG4KNC.js";
|
|
107
107
|
import "./query-expansion-CeVVgE9A.js";
|
|
108
108
|
import { t as formatDocsLink } from "./links-AORgAED3.js";
|
|
@@ -120,7 +120,7 @@ import { n as redactSecrets } from "./format-B4BvVfHq.js";
|
|
|
120
120
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DLDfcUDe.js";
|
|
121
121
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BZoypmMZ.js";
|
|
122
122
|
import { n as logConfigUpdated } from "./logging-C9DZ91kl.js";
|
|
123
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
123
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CNHiPj2n.js";
|
|
124
124
|
import path from "node:path";
|
|
125
125
|
import fs from "node:fs/promises";
|
|
126
126
|
import crypto from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as createPluginLoaderLogger, ft as loadOpenClawPlugins } from "./reply-
|
|
1
|
+
import { dt as createPluginLoaderLogger, ft as loadOpenClawPlugins } from "./reply-BqhnZbqb.js";
|
|
2
2
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Calg5NpK.js";
|
|
4
4
|
import { $t as loadConfig } from "./model-selection-BNYB2YKL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
2
2
|
import { z as loadConfig } from "./auth-profiles-O2Q8_o0a.js";
|
|
3
3
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DnGYstsz.js";
|
|
4
|
-
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-iFkFgxIF.js";
|
|
5
5
|
import { d as buildNpmResolutionFields } from "./npm-pack-install-Cq3pNk7b.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-CxmMRXpH.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-B1yi9mCM.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-BlGLxxZu.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-Bsyy9lQJ.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-C9DZ91kl.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-Bjhg0RRG.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DWnlWcjI.js";
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-SohRW0Au.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-xFiJOAuL.js";
|
|
3
|
-
import { $r as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, Tt as resolveSlackChannelAllowlist, dt as createPluginLoaderLogger, ei as resolveDiscordUserAllowlist, ft as loadOpenClawPlugins } from "./reply-
|
|
3
|
+
import { $r as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, Tt as resolveSlackChannelAllowlist, dt as createPluginLoaderLogger, ei as resolveDiscordUserAllowlist, ft as loadOpenClawPlugins } from "./reply-BqhnZbqb.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-Calg5NpK.js";
|
|
6
6
|
import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-k6urs9r-.js";
|
|
@@ -11,7 +11,7 @@ import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveD
|
|
|
11
11
|
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-LGj1Il6r.js";
|
|
12
12
|
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-Du96Wx8V.js";
|
|
13
13
|
import { dt as normalizeDiscordSlug } from "./send-CFJQjYMY.js";
|
|
14
|
-
import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
14
|
+
import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-iFkFgxIF.js";
|
|
15
15
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-z-6f3_56.js";
|
|
16
16
|
import { o as normalizeIMessageHandle } from "./send-Br8GGwD9.js";
|
|
17
17
|
import { r as detectBinary } from "./onboard-helpers-CEIyWqFt.js";
|
|
@@ -8,7 +8,7 @@ import { t as WizardCancelledError } from "./prompts-DpRhAM21.js";
|
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-C4bd12RJ.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-FQfkfkx0.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-ClLXlv9g.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-Cz-FN3dY.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-4zSchJ5n.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BlYkJpb7.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-oUKoFfFB.js";
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-BtR5qiQu.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
//#region src/commands/onboard-wallet.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wallet setup step for the onboarding wizard.
|
|
4
|
+
* Prompts the user to create, import, or skip wallet setup.
|
|
5
|
+
*/
|
|
6
|
+
async function setupWallet(stateDir, prompter, opts) {
|
|
7
|
+
if (opts.skipWallet) return { action: "skipped" };
|
|
8
|
+
let WalletManager;
|
|
9
|
+
try {
|
|
10
|
+
WalletManager = (await import("./wallet-manager-BfxpmqfL.js")).WalletManager;
|
|
11
|
+
} catch {
|
|
12
|
+
await prompter.note("Blockchain extension not installed. Skipping wallet setup.\nInstall it later and run: cryptoclaw wallet create", "Wallet");
|
|
13
|
+
return { action: "skipped" };
|
|
14
|
+
}
|
|
15
|
+
const wm = new WalletManager(stateDir);
|
|
16
|
+
if (opts.walletCreate) {
|
|
17
|
+
const passphrase = process.env.CRYPTOCLAW_WALLET_PASSPHRASE;
|
|
18
|
+
if (!passphrase) throw new Error("--wallet-create requires CRYPTOCLAW_WALLET_PASSPHRASE environment variable");
|
|
19
|
+
const label = opts.walletLabel ?? "Default";
|
|
20
|
+
const wallet = await wm.createWallet(label, passphrase);
|
|
21
|
+
return {
|
|
22
|
+
action: "created",
|
|
23
|
+
address: wallet.address,
|
|
24
|
+
label: wallet.label
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
if (opts.walletImport) {
|
|
28
|
+
const privateKey = process.env.CRYPTOCLAW_WALLET_PRIVATE_KEY;
|
|
29
|
+
const passphrase = process.env.CRYPTOCLAW_WALLET_PASSPHRASE;
|
|
30
|
+
if (!privateKey || !passphrase) throw new Error("--wallet-import requires CRYPTOCLAW_WALLET_PRIVATE_KEY and CRYPTOCLAW_WALLET_PASSPHRASE environment variables");
|
|
31
|
+
const label = opts.walletLabel ?? "Imported";
|
|
32
|
+
const wallet = await wm.importWallet(privateKey, label, passphrase);
|
|
33
|
+
return {
|
|
34
|
+
action: "imported",
|
|
35
|
+
address: wallet.address,
|
|
36
|
+
label: wallet.label
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
if (wm.hasWallets()) {
|
|
40
|
+
const { wallets, activeWalletId } = wm.listWallets();
|
|
41
|
+
const active = wallets.find((w) => w.id === activeWalletId);
|
|
42
|
+
await prompter.note(`Active wallet: ${active?.label ?? "none"} (${active?.address ?? "—"})\nTotal wallets: ${wallets.length}`, "Existing Wallets");
|
|
43
|
+
const action = await prompter.select({
|
|
44
|
+
message: "Wallet setup",
|
|
45
|
+
options: [
|
|
46
|
+
{
|
|
47
|
+
value: "keep",
|
|
48
|
+
label: "Keep existing wallets"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
value: "create",
|
|
52
|
+
label: "Create another wallet"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
value: "skip",
|
|
56
|
+
label: "Skip"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
initialValue: "keep"
|
|
60
|
+
});
|
|
61
|
+
if (action === "keep" || action === "skip") return { action: action === "keep" ? "kept" : "skipped" };
|
|
62
|
+
} else {
|
|
63
|
+
const action = await prompter.select({
|
|
64
|
+
message: "Set up a blockchain wallet?",
|
|
65
|
+
options: [
|
|
66
|
+
{
|
|
67
|
+
value: "create",
|
|
68
|
+
label: "Create new wallet",
|
|
69
|
+
hint: "Generate a fresh key pair"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
value: "import",
|
|
73
|
+
label: "Import existing wallet",
|
|
74
|
+
hint: "Paste a private key"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
value: "skip",
|
|
78
|
+
label: "Skip for now"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
initialValue: "create"
|
|
82
|
+
});
|
|
83
|
+
if (action === "skip") return { action: "skipped" };
|
|
84
|
+
if (action === "import") return importWalletInteractive(wm, prompter, opts);
|
|
85
|
+
}
|
|
86
|
+
return createWalletInteractive(wm, prompter, opts);
|
|
87
|
+
}
|
|
88
|
+
async function createWalletInteractive(wm, prompter, opts) {
|
|
89
|
+
const label = opts.walletLabel ?? await prompter.text({
|
|
90
|
+
message: "Wallet label",
|
|
91
|
+
initialValue: "Default",
|
|
92
|
+
placeholder: "Default"
|
|
93
|
+
});
|
|
94
|
+
const passphrase = await prompter.text({
|
|
95
|
+
message: "Enter a passphrase to encrypt your wallet",
|
|
96
|
+
validate: (v) => v.length < 8 ? "Passphrase must be at least 8 characters" : void 0
|
|
97
|
+
});
|
|
98
|
+
if (await prompter.text({
|
|
99
|
+
message: "Confirm passphrase",
|
|
100
|
+
validate: (v) => v !== passphrase ? "Passphrases do not match" : void 0
|
|
101
|
+
}) !== passphrase) {
|
|
102
|
+
await prompter.note("Passphrases did not match. Skipping wallet creation.", "Wallet");
|
|
103
|
+
return { action: "skipped" };
|
|
104
|
+
}
|
|
105
|
+
const spinner = prompter.progress("Creating wallet...");
|
|
106
|
+
const wallet = await wm.createWallet(label, passphrase);
|
|
107
|
+
spinner.stop(`Wallet created: ${wallet.address}`);
|
|
108
|
+
await prompter.note([
|
|
109
|
+
`Address: ${wallet.address}`,
|
|
110
|
+
`Label: ${wallet.label}`,
|
|
111
|
+
"",
|
|
112
|
+
"Back up your passphrase securely.",
|
|
113
|
+
"You'll need it to sign transactions and export your key."
|
|
114
|
+
].join("\n"), "Wallet Created");
|
|
115
|
+
return {
|
|
116
|
+
action: "created",
|
|
117
|
+
address: wallet.address,
|
|
118
|
+
label: wallet.label
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
async function importWalletInteractive(wm, prompter, opts) {
|
|
122
|
+
await prompter.note("Your private key will be encrypted with AES-256-GCM and stored locally.\nIt will never be exposed in agent chat or session transcripts.", "Security");
|
|
123
|
+
const privateKey = await prompter.text({
|
|
124
|
+
message: "Private key (0x...)",
|
|
125
|
+
validate: (v) => {
|
|
126
|
+
if (!/^0x[a-fA-F0-9]{64}$/.test(v)) return "Invalid private key format. Expected 0x followed by 64 hex characters.";
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
const label = opts.walletLabel ?? await prompter.text({
|
|
130
|
+
message: "Wallet label",
|
|
131
|
+
initialValue: "Imported",
|
|
132
|
+
placeholder: "Imported"
|
|
133
|
+
});
|
|
134
|
+
const passphrase = await prompter.text({
|
|
135
|
+
message: "Enter a passphrase to encrypt the wallet",
|
|
136
|
+
validate: (v) => v.length < 8 ? "Passphrase must be at least 8 characters" : void 0
|
|
137
|
+
});
|
|
138
|
+
const spinner = prompter.progress("Importing wallet...");
|
|
139
|
+
const wallet = await wm.importWallet(privateKey, label, passphrase);
|
|
140
|
+
spinner.stop(`Wallet imported: ${wallet.address}`);
|
|
141
|
+
await prompter.note([
|
|
142
|
+
`Address: ${wallet.address}`,
|
|
143
|
+
`Label: ${wallet.label}`,
|
|
144
|
+
"",
|
|
145
|
+
"Back up your passphrase securely."
|
|
146
|
+
].join("\n"), "Wallet Imported");
|
|
147
|
+
return {
|
|
148
|
+
action: "imported",
|
|
149
|
+
address: wallet.address,
|
|
150
|
+
label: wallet.label
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
//#endregion
|
|
155
|
+
export { setupWallet };
|