@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
|
@@ -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-U3OIjbc6.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 };
|
|
@@ -245,7 +245,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
245
245
|
const { ensureAuthProfileStore } = await import("./model-selection-BNYB2YKL.js").then((n) => n.ht);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BYy_VPJU.js").then((n) => n.t);
|
|
247
247
|
const { promptCustomApiConfig } = await import("./onboard-custom-BIbOPVP8.js").then((n) => n.r);
|
|
248
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
248
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-BZof8lFS.js").then((n) => n.t);
|
|
249
249
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-QDqArUM5.js").then((n) => n.i);
|
|
250
250
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
251
251
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
285
285
|
}
|
|
286
286
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
287
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
287
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-BuC8nL_c.js");
|
|
288
288
|
const gateway = await configureGatewayForOnboarding({
|
|
289
289
|
flow,
|
|
290
290
|
baseConfig,
|
|
@@ -300,7 +300,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
300
300
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
301
301
|
else {
|
|
302
302
|
const { listChannelPlugins } = await import("./plugins-3EOt3oeb.js").then((n) => n.i);
|
|
303
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
303
|
+
const { setupChannels } = await import("./onboard-channels-Cji_Bpi5.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
305
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
306
|
allowSignalInstall: true,
|
|
@@ -320,6 +320,42 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
320
320
|
const { setupSkills } = await import("./onboard-skills-1wG7jm-6.js").then((n) => n.t);
|
|
321
321
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
322
322
|
}
|
|
323
|
+
await prompter.note([
|
|
324
|
+
"The following crypto skills are pre-installed and ready to use:",
|
|
325
|
+
"",
|
|
326
|
+
" 🪙 wallet-manager — Create, import, manage EVM wallets",
|
|
327
|
+
" 🔄 token-swap — DEX swaps on Uniswap / PancakeSwap",
|
|
328
|
+
" 📊 market-data — Real-time prices, charts, trending",
|
|
329
|
+
" 💼 portfolio-tracker — Multi-chain portfolio overview",
|
|
330
|
+
" 🐳 whale-watcher — Track large on-chain transactions",
|
|
331
|
+
" 🔍 gas-tracker — Gas prices across EVM chains",
|
|
332
|
+
" 🖼 nft-manager — NFT portfolio and transfers",
|
|
333
|
+
" 🟡 binance-spot — Binance spot trading (API key required)",
|
|
334
|
+
" 📡 binance-trading-signal — Smart money signals",
|
|
335
|
+
" 🔒 binance-token-audit — Honeypot & security checks",
|
|
336
|
+
"",
|
|
337
|
+
"Talk to your agent to activate them, e.g.:",
|
|
338
|
+
" \"Show my wallet balance\"",
|
|
339
|
+
" \"Swap 0.1 ETH for USDC on BSC\"",
|
|
340
|
+
" \"Check gas prices\""
|
|
341
|
+
].join("\n"), "Crypto Skills");
|
|
342
|
+
if (opts.skipWallet) await prompter.note("Skipping wallet setup.", "Wallet");
|
|
343
|
+
else {
|
|
344
|
+
const { setupWallet } = await import("./onboard-wallet-CLprx0TL.js");
|
|
345
|
+
const walletResult = await setupWallet(workspaceDir, prompter, {
|
|
346
|
+
walletCreate: opts.walletCreate,
|
|
347
|
+
walletImport: opts.walletImport,
|
|
348
|
+
walletLabel: opts.walletLabel,
|
|
349
|
+
skipWallet: opts.skipWallet
|
|
350
|
+
});
|
|
351
|
+
if (walletResult.action === "created" || walletResult.action === "imported") await prompter.note([
|
|
352
|
+
`Address: ${walletResult.address}`,
|
|
353
|
+
`Label: ${walletResult.label}`,
|
|
354
|
+
"",
|
|
355
|
+
"Your private key is encrypted with AES-256-GCM and stored locally.",
|
|
356
|
+
"Manage wallets anytime with: cryptoclaw wallet list"
|
|
357
|
+
].join("\n"), "Wallet ready");
|
|
358
|
+
}
|
|
323
359
|
const { setupInternalHooks } = await import("./onboard-hooks-BS3tCiNZ.js");
|
|
324
360
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
325
361
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -327,7 +363,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
363
|
mode
|
|
328
364
|
});
|
|
329
365
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
366
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BSHbCEbZ.js");
|
|
331
367
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
368
|
flow,
|
|
333
369
|
opts,
|
|
@@ -245,7 +245,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
245
245
|
const { ensureAuthProfileStore } = await import("./auth-profiles-O2Q8_o0a.js").then((n) => n.t);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BFv49hiE.js").then((n) => n.t);
|
|
247
247
|
const { promptCustomApiConfig } = await import("./onboard-custom-Cpf2aU9S.js").then((n) => n.r);
|
|
248
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
248
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-Bfddvmj3.js").then((n) => n.t);
|
|
249
249
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-MNBPQ3J0.js").then((n) => n.i);
|
|
250
250
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
251
251
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
285
285
|
}
|
|
286
286
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
287
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
287
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-CkT0qEDp.js");
|
|
288
288
|
const gateway = await configureGatewayForOnboarding({
|
|
289
289
|
flow,
|
|
290
290
|
baseConfig,
|
|
@@ -300,7 +300,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
300
300
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
301
301
|
else {
|
|
302
302
|
const { listChannelPlugins } = await import("./plugins-BPdE2epV.js").then((n) => n.i);
|
|
303
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
303
|
+
const { setupChannels } = await import("./onboard-channels-tfZfzFUy.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
305
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
306
|
allowSignalInstall: true,
|
|
@@ -320,6 +320,42 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
320
320
|
const { setupSkills } = await import("./onboard-skills-B2q1id5f.js").then((n) => n.t);
|
|
321
321
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
322
322
|
}
|
|
323
|
+
await prompter.note([
|
|
324
|
+
"The following crypto skills are pre-installed and ready to use:",
|
|
325
|
+
"",
|
|
326
|
+
" 🪙 wallet-manager — Create, import, manage EVM wallets",
|
|
327
|
+
" 🔄 token-swap — DEX swaps on Uniswap / PancakeSwap",
|
|
328
|
+
" 📊 market-data — Real-time prices, charts, trending",
|
|
329
|
+
" 💼 portfolio-tracker — Multi-chain portfolio overview",
|
|
330
|
+
" 🐳 whale-watcher — Track large on-chain transactions",
|
|
331
|
+
" 🔍 gas-tracker — Gas prices across EVM chains",
|
|
332
|
+
" 🖼 nft-manager — NFT portfolio and transfers",
|
|
333
|
+
" 🟡 binance-spot — Binance spot trading (API key required)",
|
|
334
|
+
" 📡 binance-trading-signal — Smart money signals",
|
|
335
|
+
" 🔒 binance-token-audit — Honeypot & security checks",
|
|
336
|
+
"",
|
|
337
|
+
"Talk to your agent to activate them, e.g.:",
|
|
338
|
+
" \"Show my wallet balance\"",
|
|
339
|
+
" \"Swap 0.1 ETH for USDC on BSC\"",
|
|
340
|
+
" \"Check gas prices\""
|
|
341
|
+
].join("\n"), "Crypto Skills");
|
|
342
|
+
if (opts.skipWallet) await prompter.note("Skipping wallet setup.", "Wallet");
|
|
343
|
+
else {
|
|
344
|
+
const { setupWallet } = await import("./onboard-wallet-DDau_3R0.js");
|
|
345
|
+
const walletResult = await setupWallet(workspaceDir, prompter, {
|
|
346
|
+
walletCreate: opts.walletCreate,
|
|
347
|
+
walletImport: opts.walletImport,
|
|
348
|
+
walletLabel: opts.walletLabel,
|
|
349
|
+
skipWallet: opts.skipWallet
|
|
350
|
+
});
|
|
351
|
+
if (walletResult.action === "created" || walletResult.action === "imported") await prompter.note([
|
|
352
|
+
`Address: ${walletResult.address}`,
|
|
353
|
+
`Label: ${walletResult.label}`,
|
|
354
|
+
"",
|
|
355
|
+
"Your private key is encrypted with AES-256-GCM and stored locally.",
|
|
356
|
+
"Manage wallets anytime with: cryptoclaw wallet list"
|
|
357
|
+
].join("\n"), "Wallet ready");
|
|
358
|
+
}
|
|
323
359
|
const { setupInternalHooks } = await import("./onboard-hooks-cPtbvxIQ.js");
|
|
324
360
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
325
361
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -327,7 +363,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
363
|
mode
|
|
328
364
|
});
|
|
329
365
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
366
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-4F13C5Cf.js");
|
|
331
367
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
368
|
flow,
|
|
333
369
|
opts,
|
|
@@ -32,7 +32,7 @@ import "./logging-CFvkxgcX.js";
|
|
|
32
32
|
import "./accounts-Du96Wx8V.js";
|
|
33
33
|
import "./send-BsLP4ooQ.js";
|
|
34
34
|
import "./send-CFJQjYMY.js";
|
|
35
|
-
import "./subagent-registry-
|
|
35
|
+
import "./subagent-registry-iFkFgxIF.js";
|
|
36
36
|
import "./paths-0JI_ndQl.js";
|
|
37
37
|
import "./chat-envelope-BHg8VU61.js";
|
|
38
38
|
import "./client-DPmb6CIu.js";
|
|
@@ -105,7 +105,7 @@ import "./command-secret-targets-DjEo9W7_.js";
|
|
|
105
105
|
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-CEIyWqFt.js";
|
|
106
106
|
import "./prompt-style-Dws687Oa.js";
|
|
107
107
|
import "./pairing-labels-CGVQ42A3.js";
|
|
108
|
-
import "./memory-cli-
|
|
108
|
+
import "./memory-cli-1oaIDOW8.js";
|
|
109
109
|
import "./manager-CLRUN9PX.js";
|
|
110
110
|
import "./query-expansion-QQ7-fKJN.js";
|
|
111
111
|
import "./links-DBJiRgR0.js";
|
|
@@ -113,20 +113,20 @@ import "./cli-utils-BAoBKJmP.js";
|
|
|
113
113
|
import "./help-format-B7MhJztF.js";
|
|
114
114
|
import "./progress-BdIQDPeC.js";
|
|
115
115
|
import "./note-51HX9rr7.js";
|
|
116
|
-
import { r as installCompletion } from "./completion-cli-
|
|
117
|
-
import "./register.subclis-
|
|
118
|
-
import "./command-registry-
|
|
116
|
+
import { r as installCompletion } from "./completion-cli-DFqf7UbJ.js";
|
|
117
|
+
import "./register.subclis-BY6T1GZv.js";
|
|
118
|
+
import "./command-registry-drCkGuaC.js";
|
|
119
119
|
import "./program-context-BwKunb5X.js";
|
|
120
120
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BAt1F-Sd.js";
|
|
121
121
|
import "./runtime-guard-FQfkfkx0.js";
|
|
122
122
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-ClLXlv9g.js";
|
|
123
123
|
import { r as isSystemdUserServiceAvailable } from "./systemd-Z2v3LHpX.js";
|
|
124
124
|
import { t as resolveGatewayService } from "./service-ByGIhP5D.js";
|
|
125
|
-
import { r as healthCommand } from "./health-
|
|
125
|
+
import { r as healthCommand } from "./health-BtR5qiQu.js";
|
|
126
126
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DsgdrhIz.js";
|
|
127
127
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-C7qPkRfU.js";
|
|
128
128
|
import { t as formatHealthCheckFailure } from "./health-format-GTeknL_T.js";
|
|
129
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
129
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-UIrYmlFZ.js";
|
|
130
130
|
import { t as runTui } from "./tui-CkQCGUpD.js";
|
|
131
131
|
import os from "node:os";
|
|
132
132
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import "./paths-BBP4yd-2.js";
|
|
|
2
2
|
import "./globals-DyWRcjQY.js";
|
|
3
3
|
import { h as pathExists, y as resolveUserPath } from "./utils-xFiJOAuL.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-BqhnZbqb.js";
|
|
6
6
|
import { v as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-BTZ01lpp.js";
|
|
7
7
|
import { a as restoreTerminalState } from "./ansi-DLI3_F54.js";
|
|
8
8
|
import "./subsystem-Calg5NpK.js";
|
|
@@ -102,7 +102,7 @@ import "./session-cost-usage-dfpymDGj.js";
|
|
|
102
102
|
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-jxGULnAO.js";
|
|
103
103
|
import "./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 "./links-AORgAED3.js";
|
|
@@ -112,18 +112,18 @@ import "./progress-DBV-o6Lq.js";
|
|
|
112
112
|
import "./server-lifecycle-DzdQa-qA.js";
|
|
113
113
|
import "./stagger-RKJcYQbS.js";
|
|
114
114
|
import "./runtime-guard-CxmMRXpH.js";
|
|
115
|
-
import "./program-context-
|
|
115
|
+
import "./program-context-CG5ZBc7f.js";
|
|
116
116
|
import "./note-CaYZpgbP.js";
|
|
117
|
-
import { r as installCompletion } from "./completion-cli-
|
|
117
|
+
import { r as installCompletion } from "./completion-cli-CKIfUKoG.js";
|
|
118
118
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DEnwl2jx.js";
|
|
119
119
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
120
120
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D5fH7kIo.js";
|
|
121
121
|
import { t as resolveGatewayService } from "./service-EtPC23pr.js";
|
|
122
|
-
import { r as healthCommand } from "./health-
|
|
122
|
+
import { r as healthCommand } from "./health-SohRW0Au.js";
|
|
123
123
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-C-HAB1VB.js";
|
|
124
124
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-CcXojTI0.js";
|
|
125
125
|
import { t as formatHealthCheckFailure } from "./health-format-Dbc6Wesr.js";
|
|
126
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
126
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CuhwQAKf.js";
|
|
127
127
|
import { t as runTui } from "./tui-xjh85VPX.js";
|
|
128
128
|
import os from "node:os";
|
|
129
129
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as createSubsystemLogger, y as getChildLogger } from "./subsystem-
|
|
2
|
-
import { o as escapeRegExp, x as toWhatsappJid } from "./utils-
|
|
3
|
-
import { X as loadConfig } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger, y as getChildLogger } from "./subsystem-W834z9Wa.js";
|
|
2
|
+
import { o as escapeRegExp, x as toWhatsappJid } from "./utils-D2oM4XHm.js";
|
|
3
|
+
import { X as loadConfig } from "./model-selection-e9hodq0l.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-xpZo1jCG.js";
|
|
5
|
-
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-
|
|
5
|
+
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-Dpg87zYv.js";
|
|
6
6
|
import { n as normalizePollInput } from "./polls-CVGKOEN8.js";
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-XtcH-BaF.js";
|
|
8
|
+
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-D9FARjMd.js";
|
|
9
9
|
|
|
10
10
|
//#region src/markdown/whatsapp.ts
|
|
11
11
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { i as saveMediaBuffer } from "./store-BNhebBGr.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-Dpg87zYv.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BXqJ6gxm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as BOUNDARY_PATH_ALIAS_POLICIES, D as isNotFoundPathError, w as resolveBoundaryPath } from "./workspace-
|
|
1
|
+
import { C as BOUNDARY_PATH_ALIAS_POLICIES, D as isNotFoundPathError, w as resolveBoundaryPath } from "./workspace-ZgWjBCAm.js";
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import syncFs from "node:fs";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/home-dir.ts
|
|
6
6
|
function normalize(value) {
|
|
@@ -94,10 +94,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
94
94
|
const newDir = newStateDir(effectiveHomedir);
|
|
95
95
|
if (env.OPENCLAW_TEST_FAST === "1") return newDir;
|
|
96
96
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
97
|
-
if (
|
|
97
|
+
if (syncFs.existsSync(newDir)) return newDir;
|
|
98
98
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
99
99
|
try {
|
|
100
|
-
return
|
|
100
|
+
return syncFs.existsSync(dir);
|
|
101
101
|
} catch {
|
|
102
102
|
return false;
|
|
103
103
|
}
|
|
@@ -137,7 +137,7 @@ function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)
|
|
|
137
137
|
if (env.OPENCLAW_TEST_FAST === "1") return resolveCanonicalConfigPath(env, resolveStateDir(env, homedir));
|
|
138
138
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
139
139
|
try {
|
|
140
|
-
return
|
|
140
|
+
return syncFs.existsSync(candidate);
|
|
141
141
|
} catch {
|
|
142
142
|
return false;
|
|
143
143
|
}
|
|
@@ -155,7 +155,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
155
155
|
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
156
156
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
157
157
|
try {
|
|
158
|
-
return
|
|
158
|
+
return syncFs.existsSync(candidate);
|
|
159
159
|
} catch {
|
|
160
160
|
return false;
|
|
161
161
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-
|
|
1
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-C6TxBCvO.js";
|
|
2
2
|
import { c as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DgdmD4k7.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import syncFs from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/config/sessions/paths.ts
|
|
8
8
|
function resolveAgentSessionsDir(agentId, env = process.env, homedir = () => resolveRequiredHomeDir(env, os.homedir)) {
|
|
@@ -88,7 +88,7 @@ function resolveStructuralSessionFallbackPath(candidateAbsPath, expectedAgentId)
|
|
|
88
88
|
}
|
|
89
89
|
function safeRealpathSync(filePath) {
|
|
90
90
|
try {
|
|
91
|
-
return
|
|
91
|
+
return syncFs.realpathSync(filePath);
|
|
92
92
|
} catch {
|
|
93
93
|
return;
|
|
94
94
|
}
|