@termix-it/cryptoclaw 1.1.8 → 1.1.10
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-yWl6UnE5.js → accounts-BkK7T7q3.js} +7 -7
- package/dist/{accounts-BE0b9CWs.js → accounts-Du96Wx8V.js} +1 -1
- package/dist/{accounts-BcrjW3D1.js → accounts-LGj1Il6r.js} +1 -1
- package/dist/{acp-cli-BkRJvbhG.js → acp-cli-BVLYN9b6.js} +8 -8
- package/dist/{agent-scope-CRf0l_Gq.js → agent-scope-DnGYstsz.js} +17 -17
- package/dist/{agents-DF9-Gawd.js → agents-DmV9pcSX.js} +14 -14
- package/dist/{agents.config-D-kz_GD7.js → agents.config-BlbII3kh.js} +2 -2
- package/dist/{api-key-rotation-C20s2VP6.js → api-key-rotation-bH-pRnX0.js} +1 -1
- package/dist/{audio-preflight-Det_pb9p.js → audio-preflight-BxFoXiPf.js} +34 -34
- package/dist/{audio-transcription-runner-DKJsRpdc.js → audio-transcription-runner-D1MyUZ7c.js} +23 -23
- package/dist/{audit-B-SXg-Xk.js → audit-B5zuu-5Z.js} +29 -29
- package/dist/{auth-XpPQf9A8.js → auth-22wVQqM3.js} +1 -1
- package/dist/{auth-choice-DGDwkTV6.js → auth-choice-CEgBDcRt.js} +13 -13
- package/dist/{auth-choice-CLs5WpL3.js → auth-choice-MPAsBFfw.js} +11 -11
- package/dist/{auth-choice.apply-helpers-lwbv0OFA.js → auth-choice.apply-helpers-DXntDnow.js} +1 -1
- package/dist/{auth-profiles-Dhb7Y6H5.js → auth-profiles-O2Q8_o0a.js} +16 -16
- package/dist/{auth-token-B8r2bVLN.js → auth-token-Jtjowoeg.js} +1 -1
- package/dist/{banner-CxQq-XAy.js → banner-CjhJhSHE.js} +2 -2
- package/dist/{bonjour-discovery-BG6bPBFk.js → bonjour-discovery-BrgT_UZ5.js} +1 -1
- package/dist/{browser-cli-Bs9Jn2SN.js → browser-cli-DhGYbRc3.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-d1gA727i.js → call-DUvxsaBy.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Crd0PQwN.js → channel-account-context-1e3thcpb.js} +5 -5
- package/dist/{channel-activity-I7fJP8eL.js → channel-activity-BdjzKjf6.js} +1 -1
- package/dist/{channel-options-COkismPi.js → channel-options-uHVlMBJK.js} +3 -3
- package/dist/{channel-selection-BgyyrS1w.js → channel-selection-H4NMMvR3.js} +1 -1
- package/dist/{channel-web-DZGV2k-s.js → channel-web-v-nG1mnb.js} +17 -17
- package/dist/{channels-cli-DIC4XXvf.js → channels-cli-CaRBsVKj.js} +93 -93
- package/dist/{channels-status-issues-e73oAXc5.js → channels-status-issues-CUJB3e53.js} +1 -1
- package/dist/{chrome-dfA2MJQH.js → chrome-CYBD3o7s.js} +4 -4
- package/dist/{clawbot-cli-B--Pll5v.js → clawbot-cli-DQDZpHp6.js} +11 -11
- package/dist/{cli-Df4l1wtv.js → cli-CnYD8U_2.js} +73 -73
- package/dist/{client-BEF5fXj0.js → client-DPmb6CIu.js} +2 -2
- package/dist/{command-registry-CBfNNhgy.js → command-registry-an_9Jv_7.js} +11 -11
- package/dist/{command-secret-targets-CnULpcUz.js → command-secret-targets-DjEo9W7_.js} +4 -4
- package/dist/{commands-NJXpIW-o.js → commands-CUPc3v8D.js} +1 -1
- package/dist/{commands-registry-leOuyQey.js → commands-registry-BLcZaG1W.js} +3 -3
- package/dist/{completion-cli-FP9HAEQ3.js → completion-cli-BAafGAvW.js} +13 -13
- package/dist/{completion-cli-Bai3pUlw.js → completion-cli-DLP9B9zs.js} +1 -1
- package/dist/{config-cli-9yew-sxg.js → config-cli-BGy3uFX6.js} +7 -7
- package/dist/{config-guard-QxrUunD8.js → config-guard-CiLylaoa.js} +3 -3
- package/dist/{config-validation-XC8HKQ95.js → config-validation-CmNLlf8O.js} +3 -3
- package/dist/{configure-DeAtHK8r.js → configure-Dcjc_rvn.js} +17 -17
- package/dist/{control-ui-assets-C08JRwwL.js → control-ui-assets-DsgdrhIz.js} +1 -1
- package/dist/{cron-cli-TmXvhnuy.js → cron-cli-C0KJ0GIR.js} +11 -11
- package/dist/{daemon-cli-CxdLAg0T.js → daemon-cli-DVxXbSSo.js} +15 -15
- package/dist/{daemon-install-Z0aYOW9C.js → daemon-install-Cwmezi6s.js} +4 -4
- package/dist/{daemon-install-helpers-DoeVkj6M.js → daemon-install-helpers-BAt1F-Sd.js} +11 -11
- package/dist/{deliver-KC6M1Po5.js → deliver-g75DXZ54.js} +7 -7
- package/dist/deliver-runtime-FL5_bhMe.js +62 -0
- package/dist/{deps-send-discord.runtime-C2JzTkWt.js → deps-send-discord.runtime-BpCYDmRD.js} +16 -16
- package/dist/deps-send-imessage.runtime-Hx8SNVrk.js +36 -0
- package/dist/deps-send-signal.runtime-5-zcMae_.js +35 -0
- package/dist/{deps-send-slack.runtime-Ucy4geO1.js → deps-send-slack.runtime-CESru84F.js} +14 -14
- package/dist/{deps-send-telegram.runtime-DHzRQJe0.js → deps-send-telegram.runtime-BJGQ2OvJ.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-CtO9Pt8F.js +120 -0
- package/dist/{devices-cli-Cez-Kjzm.js → devices-cli-wlLcQp00.js} +8 -8
- package/dist/{diagnostic-DlgnWiS3.js → diagnostic-DUVtQcqK.js} +1 -1
- package/dist/{diagnostics-B9N9Gclp.js → diagnostics-CKx5Fdba.js} +5 -5
- package/dist/{directory-cli-DElz98Vj.js → directory-cli-DKKgOcpZ.js} +7 -7
- package/dist/{dns-cli-NR3uBIKu.js → dns-cli-D1chgoht.js} +5 -5
- package/dist/{dock-DhwktiRh.js → dock-BApnjSMS.js} +4 -4
- package/dist/{docs-cli-DL6UVBO7.js → docs-cli-BvOheJtP.js} +4 -4
- package/dist/{doctor-completion-CCNHTpp9.js → doctor-completion-D7PF7iP7.js} +2 -2
- package/dist/{doctor-completion-BQBZQyQq.js → doctor-completion-DyHABS_W.js} +1 -1
- package/dist/{doctor-config-flow-CN_hFkSO.js → doctor-config-flow-CoBBtWrG.js} +15 -15
- package/dist/{enable-DTsxqYdj.js → enable-D4na731V.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-BMnVDBPF.js → exec-approvals-allowlist-CyY44YOj.js} +1 -1
- package/dist/{exec-approvals-cli-OEgUH8zR.js → exec-approvals-cli-mrJDJoMt.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-DH8C1i7S.js → exec-safe-bin-runtime-policy-BP-hoGyD.js} +2 -2
- package/dist/{fetch-CZCJhSwX.js → fetch-DpZmzITI.js} +3 -3
- package/dist/{fetch-guard-B5ANJDou.js → fetch-guard-CLZ6u2jq.js} +1 -1
- package/dist/{fs-safe-B5PDQs4d.js → fs-safe-CnDw0p6S.js} +24 -24
- package/dist/{gateway-cli-CyeZq5AC.js → gateway-cli-D5DEa_Z1.js} +1 -1
- package/dist/{gateway-cli-DLWVlNsd.js → gateway-cli-R1jPVrV-.js} +153 -153
- package/dist/{gateway-rpc-Cs0KliQu.js → gateway-rpc-sfxU7DjV.js} +1 -1
- package/dist/{health-DD6PJgN8.js → health-ysQviffW.js} +11 -11
- package/dist/{hooks-cli-BeB2OkD-.js → hooks-cli-DHi_8Dym.js} +81 -81
- package/dist/{hooks-status-DyvZhQMV.js → hooks-status-DBxEspfP.js} +1 -1
- package/dist/{image-Cb-G2N6H.js → image-DqLDeq0S.js} +5 -5
- package/dist/{image-ops-CX39q-u7.js → image-ops-DQnLLCmy.js} +10 -10
- package/dist/image-runtime-Dny90w7z.js +56 -0
- package/dist/index.js +1 -1
- package/dist/{inspect-DCCTTM2p.js → inspect-DmEOlMyu.js} +4 -4
- package/dist/{install-safe-path-B-vV6gg0.js → install-safe-path-lYB1n1zs.js} +25 -25
- package/dist/{installs-D2BwpBpI.js → installs-BqdehfDe.js} +9 -9
- package/dist/{ipv4-B7QK2crX.js → ipv4-Dw7o7EN4.js} +1 -1
- package/dist/{ir-BJoTxOuZ.js → ir-BFLOrX1v.js} +8 -8
- package/dist/{issue-format-D_dmhPpa.js → issue-format-B3rjIDp2.js} +1 -1
- package/dist/{json-files-DKBWexTJ.js → json-files-Gs9H0Aq3.js} +8 -8
- package/dist/{lifecycle-core-BdCUsFAO.js → lifecycle-core-f8bB01eE.js} +5 -5
- package/dist/{login-ByMSGK1J.js → login-Yxw0ePBs.js} +3 -3
- package/dist/{login-qr-CDwnwe9P.js → login-qr-BJCPbTFZ.js} +6 -6
- package/dist/{logs-cli-skIcVW3V.js → logs-cli-D5fWLF2F.js} +9 -9
- package/dist/{manager-CJIx-nFA.js → manager-CLRUN9PX.js} +14 -14
- package/dist/{manager-runtime-C21y6GjQ.js → manager-runtime-BxaiDdDE.js} +9 -9
- package/dist/{manifest-registry-B-2nrmVS.js → manifest-registry-ZTwWlNy8.js} +1 -1
- package/dist/{memory-cli-BKJMqEje.js → memory-cli-1oaIDOW8.js} +12 -12
- package/dist/{model-BF-E_mpk.js → model-4MYhtwmk.js} +2 -2
- package/dist/{model-catalog-C2xpcL9w.js → model-catalog-Bq8ljVOk.js} +3 -3
- package/dist/{model-picker-B_jBkcxo.js → model-picker-MNBPQ3J0.js} +4 -4
- package/dist/{models-kMN-tUPU.js → models-DT64zDal.js} +17 -17
- package/dist/{models-cli-QTm186Iq.js → models-cli-CDfSk6DT.js} +78 -78
- package/dist/{models-config-Bzcv6yHw.js → models-config-rHYOUx9N.js} +6 -6
- package/dist/{net-B4T9jJmY.js → net-WImcDVCL.js} +2 -2
- package/dist/{node-cli-pYAcollM.js → node-cli-0d0U2A1N.js} +33 -33
- package/dist/{node-command-policy-CEkzpJ-E.js → node-command-policy-BsxOgSi5.js} +1 -1
- package/dist/{node-service-DoeR9Tg_.js → node-service-BvafMFan.js} +1 -1
- package/dist/{nodes-cli-Bx2ytnbF.js → nodes-cli-b8Ghnuxt.js} +16 -16
- package/dist/{nodes-screen-D4GSrs9P.js → nodes-screen-ChMr3Xvv.js} +7 -7
- package/dist/{npm-pack-install-CR0ksmYd.js → npm-pack-install-Cq3pNk7b.js} +18 -18
- package/dist/{npm-resolution-BkWQgNIO.js → npm-resolution-MRSgQLVD.js} +4 -4
- package/dist/{onboard-BCnqRDky.js → onboard-axkpT0wk.js} +2 -2
- package/dist/{onboard-channels-B2GvfCnG.js → onboard-channels-puO2LD6g.js} +21 -21
- package/dist/{onboard-config-DWnlWcjI.js → onboard-config-C06y4K2b.js} +1 -1
- package/dist/{onboard-config-oUKoFfFB.js → onboard-config-DzpTyHer.js} +1 -1
- package/dist/{onboard-custom-DygXBNvm.js → onboard-custom-Cpf2aU9S.js} +4 -4
- package/dist/{onboard-CQ-YoTSl.js → onboard-glePi2Vw.js} +7 -7
- package/dist/{onboard-helpers-DBgIqxpx.js → onboard-helpers-CEIyWqFt.js} +10 -10
- package/dist/{onboard-hooks-CKJoEftC.js → onboard-hooks-cPtbvxIQ.js} +4 -4
- package/dist/{onboard-remote-eycsmUSY.js → onboard-remote-BWxqa7D6.js} +4 -4
- package/dist/{onboard-skills-qZsTdEYi.js → onboard-skills-BjGs7gMo.js} +4 -4
- package/dist/{onboarding-BY3YZMkn.js → onboarding-BtT09n3z.js} +15 -15
- package/dist/{onboarding-DR-2kdRy.js → onboarding-zs-UwrpV.js} +2 -2
- package/dist/{onboarding.finalize-CEgugO0l.js → onboarding.finalize-9y17HMBX.js} +3 -3
- package/dist/{onboarding.finalize-B_gI9SXJ.js → onboarding.finalize-Bs4z1MKJ.js} +87 -87
- package/dist/{onboarding.gateway-config-D0IdOPlC.js → onboarding.gateway-config-CkT0qEDp.js} +18 -18
- package/dist/{onboarding.secret-input-B92nv1e5.js → onboarding.secret-input-C7qPkRfU.js} +1 -1
- package/dist/{openai-model-default-hj3S7o-G.js → openai-model-default-C4ZEdxRm.js} +2 -2
- package/dist/{openclaw-root-CcI1kSyI.js → openclaw-root-3A_8MzYe.js} +8 -8
- package/dist/{outbound-ev7SVuPh.js → outbound-ChrgPoxb.js} +3 -3
- package/dist/{outbound-attachment-DFjyJ3Np.js → outbound-attachment-BV-XqIuc.js} +2 -2
- package/dist/{pairing-cli-BEwqqs3y.js → pairing-cli-DAiiAM8B.js} +8 -8
- package/dist/{pairing-labels-CAXv-Bhv.js → pairing-labels-CGVQ42A3.js} +1 -1
- package/dist/{pairing-store-Cw7fg9R2.js → pairing-store-W5camsG4.js} +3 -3
- package/dist/{path-alias-guards-C74pGxcZ.js → path-alias-guards-CQsCVlSQ.js} +3 -3
- package/dist/{path-safety-Ck76OVAf.js → path-safety-BrZp6wHv.js} +1 -1
- package/dist/{paths-A42qSVaB.js → paths-DvmtmdGA.js} +9 -9
- package/dist/{pi-embedded-helpers-CU3j5zQw.js → pi-embedded-helpers-66TKj98I.js} +6 -6
- package/dist/{pi-model-discovery-Ci3qWkfz.js → pi-model-discovery-Bs768Cx7.js} +1 -1
- package/dist/{pi-model-discovery-runtime-CQWul9Vg.js → pi-model-discovery-runtime-DEV-guE_.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-C3GLLjEH.js → pi-tools.before-tool-call.runtime-gtwRqfD1.js} +5 -5
- package/dist/{pi-tools.policy-DwQdI7Kl.js → pi-tools.policy-CQSaeIZr.js} +5 -5
- package/dist/{plugin-auto-enable-apzoyUq4.js → plugin-auto-enable-z-6f3_56.js} +3 -3
- package/dist/{plugin-registry-B8gsdjW8.js → plugin-registry-DvUq6zds.js} +3 -3
- 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/{active-listener-CYvTJUbv.js → active-listener-B5t82gRU.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CLAvYiCX.js → api-key-rotation-BFNdrCf9.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B1iVdt7A.js → audio-preflight-B7ivxhvF.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-6TQq2i9u.js → audio-transcription-runner-B8OUiy7P.js} +11 -11
- 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-web-CXMt7BY7.js → channel-web-BiTTQ4xr.js} +18 -18
- package/dist/plugin-sdk/{chrome-DifgiNQb.js → chrome-wTqnW5U7.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-BwfAoL8g.js → commands-registry-BWv4oM2P.js} +4 -4
- 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-runtime-Qmy3w63D.js +32 -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-signal.runtime-DK121Bh0.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-AaWSr7fe.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dylx-xTp.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-81uWD-yI.js +57 -0
- package/dist/plugin-sdk/{diagnostic-BiLQ5uMU.js → diagnostic-DJkCYiHJ.js} +2 -2
- package/dist/plugin-sdk/{errors-C-TFeu_U.js → errors-x0EvNKYN.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-su5BIIz5.js → fetch-guard-B4oIrtQU.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B0eWdlGT.js → fs-safe-BGLuaVDw.js} +3 -3
- package/dist/plugin-sdk/{image-BHgCDBaW.js → image-D9cX-W4_.js} +6 -6
- 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/index.js +50 -50
- package/dist/plugin-sdk/{ir-BVqIWdpl.js → ir-DvNCG3HQ.js} +7 -7
- package/dist/plugin-sdk/{local-roots-CCfvGuoX.js → local-roots-DJr1PN3z.js} +4 -4
- 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-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-runtime-Ccj_7Z0c.js +15 -0
- package/dist/plugin-sdk/{outbound-DVpHFwMf.js → outbound-Cw6160wa.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-DXCuJPzV.js → outbound-attachment-DWhUVfia.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Ddj-jk91.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/{pi-embedded-helpers-De-tYNO5.js → pi-embedded-helpers-3l1dRoEY.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-runtime-jmgr21i6.js +8 -0
- 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-Df9rHggh.js → plugins-Bm4rp8IX.js} +4 -4
- package/dist/plugin-sdk/{proxy-fetch-DxlXp4Yi.js → proxy-fetch-BZAtM2fT.js} +1 -1
- 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/{query-expansion-X3iK3wW4.js → query-expansion-B7JBWi3Y.js} +4 -4
- package/dist/plugin-sdk/{redact-DIGZ7dEc.js → redact-DZTeCKgA.js} +1 -1
- package/dist/plugin-sdk/{reply-CPlMOjnY.js → reply-SL3TFM_1.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target--JkNiVR3.js → resolve-outbound-target-8WMGshxA.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-CAg6hblr.js → run-with-concurrency-CbyBbGss.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-_T4-3_NI.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DDvDCva6.js +19 -0
- package/dist/plugin-sdk/{send-BfMo4yKi.js → send-CnZwc5Xm.js} +13 -13
- 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/{session-xR2DLzse.js → session-Cpth1H2A.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-DHOHDbOQ.js → skill-commands-X5gpohJ1.js} +4 -4
- 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-dispatch.runtime-eYhiYLqH.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-CyuOIQN-.js +16 -0
- package/dist/plugin-sdk/{ssrf-Ctw5peX0.js → ssrf-BlFOb1TL.js} +1 -1
- package/dist/plugin-sdk/{store-BECFHajU.js → store-DuNHlb8J.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-BQN30Vt4.js +52 -0
- package/dist/plugin-sdk/{tables-BGPXRfUo.js → tables-DBVdEzq2.js} +1 -1
- package/dist/plugin-sdk/{target-errors-EppfnloD.js → target-errors-CX2np2l6.js} +2 -2
- package/dist/plugin-sdk/{thinking-DwXFSbD_.js → thinking-B9UJvomD.js} +7 -7
- package/dist/plugin-sdk/{tokens-DuRErjk3.js → tokens-XT-8y62w.js} +1 -1
- package/dist/plugin-sdk/{tool-images-6BfTarJB.js → tool-images-CJ10KuSq.js} +2 -2
- package/dist/plugin-sdk/web-ZPe2mrXE.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-k9k_HQg1.js → whatsapp-actions-CgqENBb8.js} +17 -17
- package/dist/{plugins-DPzGpZa7.js → plugins-BPdE2epV.js} +2 -2
- package/dist/{plugins-cli-DzdzJs7b.js → plugins-cli-D_HZ8IcN.js} +83 -83
- package/dist/{ports-tNwRP0LA.js → ports-DGlQBAf1.js} +1 -1
- package/dist/{ports-jMaAsRpr.js → ports-DfNdy6Sc.js} +2 -2
- package/dist/{program-context-BfnHzkXT.js → program-context-Bo0I4EhU.js} +6 -6
- package/dist/{program-Rna_eew4.js → program-qFtKaO8C.js} +81 -81
- package/dist/{prompt-select-styled-1nWCPZKF.js → prompt-select-styled-BaS1yOmO.js} +40 -40
- package/dist/{prompt-select-styled-BDi5UBUn.js → prompt-select-styled-HTcuT580.js} +1 -1
- package/dist/{provider-auth-helpers-DlZjYqHx.js → provider-auth-helpers-CrGaU-6B.js} +5 -5
- package/dist/{proxy-env-CKsbj01c.js → proxy-env--152Piqf.js} +1 -1
- package/dist/{push-apns-BNZHhyJh.js → push-apns-BcgP-1tO.js} +5 -5
- package/dist/{pw-ai-DYmnLtI5.js → pw-ai-lyRZ2lRj.js} +18 -18
- package/dist/{qmd-manager-CtnM6lKC.js → qmd-manager-Q-iay5w2.js} +20 -20
- package/dist/{qr-cli-CiaeVLGo.js → qr-cli-M55o9uQ3.js} +2 -2
- package/dist/{query-expansion-CGww5_oH.js → query-expansion-QQ7-fKJN.js} +12 -12
- package/dist/{redact-snapshot-Bg3sMcIL.js → redact-snapshot-DtttUfNB.js} +1 -1
- package/dist/{register.agent-zhueqr8n.js → register.agent-Cb82_m36.js} +94 -94
- package/dist/register.configure-BWs4EgtE.js +166 -0
- package/dist/{register.maintenance-RJM2wCjj.js → register.maintenance-CsTacSHr.js} +95 -95
- package/dist/{register.maintenance-BoigTo1u.js → register.maintenance-J9W7v4aX.js} +4 -4
- package/dist/{register.message-CnEQThm-.js → register.message-BPMXTFeN.js} +74 -74
- package/dist/{register.onboard--1jxOBJy.js → register.onboard-BGLiQ6un.js} +2 -2
- package/dist/{register.onboard-BtBM_7Qe.js → register.onboard-cffJmoWf.js} +18 -18
- package/dist/{register.setup-o2PFpqW-.js → register.setup-BclTPsuN.js} +21 -21
- package/dist/{register.setup-B_O283DR.js → register.setup-CAO8cRvw.js} +2 -2
- package/dist/{register.status-health-sessions-CVjLnoAQ.js → register.status-health-sessions-Cr554peJ.js} +88 -88
- package/dist/{register.subclis-Cm8zQPce.js → register.subclis-BFRjp1Wi.js} +31 -31
- package/dist/{rpc-B2top5G1.js → rpc-C3fo7Fc4.js} +1 -1
- package/dist/{run-main-Bcwtj17t.js → run-main-DWCFqeRi.js} +92 -92
- package/dist/{runtime-Bwd93vnw.js → runtime-aCMkJumC.js} +3 -3
- package/dist/{runtime-config-collectors-CrW6OjTr.js → runtime-config-collectors-BArtbEg9.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-D08ghHWe.js → runtime-whatsapp-login.runtime-BoLTF-OO.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-B3NjGGpU.js → runtime-whatsapp-outbound.runtime-CQSrwbqD.js} +15 -15
- package/dist/{sandbox-BvR_Auee.js → sandbox-CswRLZuX.js} +18 -18
- package/dist/{sandbox-cli-myJWqWAa.js → sandbox-cli-CvsjCdCm.js} +25 -25
- package/dist/{secrets-cli-1xQw45fy.js → secrets-cli-6shNNxcY.js} +11 -11
- package/dist/{security-cli-o0C0Tcn_.js → security-cli-aM0KmhSS.js} +42 -42
- package/dist/{send-CzH87tPi.js → send-Br8GGwD9.js} +6 -6
- package/dist/{send-CgUKGlTT.js → send-BsLP4ooQ.js} +4 -4
- package/dist/{send-CkTGqTX7.js → send-CFJQjYMY.js} +11 -11
- package/dist/{send-Dtf_Rspz.js → send-DaH87GbQ.js} +8 -8
- package/dist/{send-BXBEWheN.js → send-DhC9fy39.js} +5 -5
- package/dist/{server-context-jBMc5KL9.js → server-context-Chb0NTKM.js} +12 -12
- package/dist/{server-lifecycle-B5N_h0YG.js → server-lifecycle-B2vW1X8l.js} +2 -2
- package/dist/{server-middleware-Bt0-4Zx7.js → server-middleware-BwS1-Xql.js} +1 -1
- package/dist/{server-node-events-8TZ5uZ7a.js → server-node-events-DKjcwxsN.js} +74 -74
- package/dist/{server-BtfPMtk8.js → server-pG33jNj1.js} +20 -20
- package/dist/{service-CC8D6AOn.js → service-ByGIhP5D.js} +15 -15
- package/dist/{session-1PuqW42w.js → session-C-semPd7.js} +1 -1
- package/dist/{session-utils-B61AjjG6.js → session-utils-DQdPC90P.js} +6 -6
- package/dist/{sessions-eRTHXGkn.js → sessions-ColhCohs.js} +4 -4
- package/dist/{sessions-D1iVO-At.js → sessions-_J4_CA-P.js} +15 -15
- package/dist/{shared-D0de8v-p.js → shared-ZPmPfnoa.js} +1 -1
- package/dist/{shared-3WRMPSAF.js → shared-hHKmh3AF.js} +3 -3
- package/dist/{skill-commands-C6S5sumb.js → skill-commands-H-0YJw4z.js} +5 -5
- package/dist/{skill-scanner-CC_bdAdQ.js → skill-scanner-C04nRvTZ.js} +6 -6
- package/dist/{skills-EgqBDxQ-.js → skills-BJsPKAnb.js} +3 -3
- package/dist/{skills-cli-B62v0B8Y.js → skills-cli-Dlle8Jal.js} +5 -5
- package/dist/{skills-install-DNWnoHCI.js → skills-install-Y62tfBpX.js} +6 -6
- package/dist/{skills-status-Bnyg73Jn.js → skills-status-Ck_Xn7qD.js} +1 -1
- package/dist/{slash-commands.runtime-DZBOZGXG.js → slash-commands.runtime-Chf-kE5X.js} +11 -11
- package/dist/slash-dispatch.runtime-ByKS2u9M.js +115 -0
- package/dist/{slash-skill-commands.runtime-B4sqth9E.js → slash-skill-commands.runtime-BJJnGhEx.js} +15 -15
- package/dist/{status-CKWYXIIT.js → status-DX3J1HLf.js} +27 -27
- package/dist/{status.update-CO_hSO5b.js → status.update-Bt1iuijX.js} +2 -2
- package/dist/{store-ihYI8Jc3.js → store-DFGXphHz.js} +5 -5
- package/dist/{subagent-registry-0UHaPcka.js → subagent-registry-D15JW57h.js} +149 -149
- package/dist/subagent-registry-runtime-B12EGepi.js +115 -0
- package/dist/{system-cli-CAm_NHpc.js → system-cli-C-E7OxVj.js} +9 -9
- package/dist/{system-run-command-Brwa-hul.js → system-run-command-B4X3kEB0.js} +1 -1
- package/dist/{systemd-CULbJju8.js → systemd-Z2v3LHpX.js} +9 -9
- package/dist/{systemd-hints-D9XaooZC.js → systemd-hints-DhbLId9K.js} +6 -6
- package/dist/{systemd-linger-SLVqtYjz.js → systemd-linger-B6KsEYH6.js} +1 -1
- package/dist/{tables-Devzuq-q.js → tables-3AsJttWw.js} +1 -1
- package/dist/{tailnet-KUL9QhBk.js → tailnet-CrF4jOdB.js} +1 -1
- package/dist/{target-errors-D5MoCoCl.js → target-errors-DXOQGMiV.js} +4 -4
- package/dist/{tool-images-CEFl9wsx.js → tool-images-BOfCiGuh.js} +1 -1
- package/dist/{tui-CRYLJSVD.js → tui-CkQCGUpD.js} +6 -6
- package/dist/{tui-cli-DB82w6p8.js → tui-cli-BpyTGK67.js} +32 -32
- package/dist/{update-B1gR_Fep.js → update-BB9JebC9.js} +3 -3
- package/dist/{update-cli-C1DALvzD.js → update-cli-DR5UbjaD.js} +104 -104
- package/dist/{update-cli-BDOF9xoT.js → update-cli-DfVrqXfg.js} +4 -4
- package/dist/{update-runner-Bw1MljLh.js → update-runner-Dq6iBeiC.js} +16 -16
- package/dist/web-BA84rOuO.js +119 -0
- package/dist/{webhooks-cli-B3iWJR9P.js → webhooks-cli-BY1niEMR.js} +6 -6
- package/dist/{whatsapp-actions-B53LlFl5.js → whatsapp-actions-BuO3DPPZ.js} +17 -17
- package/dist/{with-timeout-B5BHCMsa.js → with-timeout-a_kBhS5N.js} +3 -3
- package/dist/{workspace-D8DzE384.js → workspace-CiGqHbhA.js} +1 -1
- package/dist/{workspace-dirs-_RQ0G-Vf.js → workspace-dirs-C9jwceid.js} +1 -1
- package/dist/{wsl-CzuO5aHB.js → wsl-DCEQRUtE.js} +2 -2
- package/extensions/blockchain/package.json +1 -3
- package/package.json +1 -1
- package/dist/deliver-runtime-C5J_x4jO.js +0 -62
- package/dist/deps-send-imessage.runtime-BFk4Fvrd.js +0 -36
- package/dist/deps-send-signal.runtime-Lw_dTkGz.js +0 -35
- package/dist/deps-send-whatsapp.runtime-CvFgs4NK.js +0 -120
- package/dist/image-runtime-7mmAmEoX.js +0 -56
- package/dist/plugin-sdk/deliver-runtime-BzekNyDR.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DAQdyr0A.js +0 -23
- 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-slack.runtime-RJ6do6c_.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-CT8fXkjj.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-B3vpd-GR.js +0 -57
- package/dist/plugin-sdk/image-runtime-usFQghD_.js +0 -25
- package/dist/plugin-sdk/manager-runtime-C8E7uQRc.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-BInvqyx7.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-VulSN6Vo.js +0 -10
- 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-dispatch.runtime-BrC7vdR-.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-ztQcIAHF.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-S1tiTKcN.js +0 -52
- package/dist/plugin-sdk/web-B9un2u9S.js +0 -56
- package/dist/register.configure-Bi9KnPuo.js +0 -166
- package/dist/slash-dispatch.runtime-DwWpNqdA.js +0 -115
- package/dist/subagent-registry-runtime-CeHVZoXv.js +0 -115
- package/dist/web-BVIL9iG1.js +0 -119
|
@@ -2,58 +2,58 @@ import { g as getResolvedLoggerSettings } from "./globals-d3aR1MYC.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { i as defaultRuntime } from "./ansi-D8xB67JW.js";
|
|
4
4
|
import { r as isTruthyEnvValue$1 } from "./entry.js";
|
|
5
|
-
import { Bi as CLAUDE_CLI_PROFILE_ID, Er as resolveConfiguredModelRef, G as writeConfigFile, Ii as DEFAULT_MODEL, Kn as repairOAuthProfileIdMismatch, Li as DEFAULT_PROVIDER, Or as resolveHooksGmailModel, V as readConfigFileSnapshot, Vi as CODEX_CLI_PROFILE_ID, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gr as getModelRefStatus, ir as updateAuthProfileStoreWithLock, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider } from "./auth-profiles-
|
|
5
|
+
import { Bi as CLAUDE_CLI_PROFILE_ID, Er as resolveConfiguredModelRef, G as writeConfigFile, Ii as DEFAULT_MODEL, Kn as repairOAuthProfileIdMismatch, Li as DEFAULT_PROVIDER, Or as resolveHooksGmailModel, V as readConfigFileSnapshot, Vi as CODEX_CLI_PROFILE_ID, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gr as getModelRefStatus, ir as updateAuthProfileStoreWithLock, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider } from "./auth-profiles-O2Q8_o0a.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
7
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-DnGYstsz.js";
|
|
8
8
|
import { E as parseAgentSessionKey } from "./session-key-CC77ya0a.js";
|
|
9
9
|
import { S as sleep, v as resolveUserPath, x as shortenHomePath } from "./utils-BnC3HGtm.js";
|
|
10
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
10
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-3A_8MzYe.js";
|
|
11
11
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DQcHcbQy.js";
|
|
12
12
|
import { A as hasConfiguredSecretInput } from "./registry-CwKS6RIg.js";
|
|
13
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
14
|
-
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-
|
|
15
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
16
|
-
import { Nn as analyzeBootstrapBudget, Pn as buildBootstrapInjectionStats, b as loadOpenClawPlugins, dn as buildAuthHealthSummary, fn as formatRemainingShort, un as DEFAULT_OAUTH_WARN_MS, vr as resolveAgentSessionDirs, wr as resolveBootstrapContextForRun } from "./subagent-registry-
|
|
13
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Ck_Xn7qD.js";
|
|
14
|
+
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-_J4_CA-P.js";
|
|
15
|
+
import { n as listChannelPlugins } from "./plugins-BPdE2epV.js";
|
|
16
|
+
import { Nn as analyzeBootstrapBudget, Pn as buildBootstrapInjectionStats, b as loadOpenClawPlugins, dn as buildAuthHealthSummary, fn as formatRemainingShort, un as DEFAULT_OAUTH_WARN_MS, vr as resolveAgentSessionDirs, wr as resolveBootstrapContextForRun } from "./subagent-registry-D15JW57h.js";
|
|
17
17
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-0JI_ndQl.js";
|
|
18
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
-
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-
|
|
20
|
-
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-
|
|
21
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
22
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
23
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
24
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
18
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DUvxsaBy.js";
|
|
19
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-WImcDVCL.js";
|
|
20
|
+
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-66TKj98I.js";
|
|
21
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-CswRLZuX.js";
|
|
22
|
+
import { a as resolveGatewayAuth } from "./auth-22wVQqM3.js";
|
|
23
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-DfNdy6Sc.js";
|
|
24
|
+
import { n as loadModelCatalog } from "./model-catalog-Bq8ljVOk.js";
|
|
25
25
|
import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-94o94Cc7.js";
|
|
26
|
-
import { l as resolveDmAllowState } from "./pi-tools.policy-
|
|
27
|
-
import { r as isWSLEnv, t as isWSL } from "./wsl-
|
|
28
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
26
|
+
import { l as resolveDmAllowState } from "./pi-tools.policy-CQSaeIZr.js";
|
|
27
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-DCEQRUtE.js";
|
|
28
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-CEIyWqFt.js";
|
|
29
29
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Dws687Oa.js";
|
|
30
|
-
import { i as resolveMemoryBackendConfig } from "./memory-cli-
|
|
31
|
-
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-
|
|
30
|
+
import { i as resolveMemoryBackendConfig } from "./memory-cli-1oaIDOW8.js";
|
|
31
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-CLRUN9PX.js";
|
|
32
32
|
import { t as note$1 } from "./note-51HX9rr7.js";
|
|
33
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
34
|
-
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
33
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-CUJB3e53.js";
|
|
34
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BAt1F-Sd.js";
|
|
35
35
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-ClLXlv9g.js";
|
|
36
|
-
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
37
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
38
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
39
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
40
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
41
|
-
import { r as healthCommand } from "./health-
|
|
42
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
43
|
-
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
44
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
36
|
+
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-Z2v3LHpX.js";
|
|
37
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-ByGIhP5D.js";
|
|
38
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DhbLId9K.js";
|
|
39
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-CKx5Fdba.js";
|
|
40
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DmEOlMyu.js";
|
|
41
|
+
import { r as healthCommand } from "./health-ysQviffW.js";
|
|
42
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-DsgdrhIz.js";
|
|
43
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-1e3thcpb.js";
|
|
44
|
+
import { t as runGatewayUpdate } from "./update-runner-Dq6iBeiC.js";
|
|
45
45
|
import { n as logConfigUpdated } from "./logging-4zSchJ5n.js";
|
|
46
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
46
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CoBBtWrG.js";
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-gumxl5c_.js";
|
|
48
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
48
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B6KsEYH6.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-GTeknL_T.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-D7PF7iP7.js";
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
54
54
|
import fs from "node:fs";
|
|
55
55
|
import { promisify } from "node:util";
|
|
56
|
-
import
|
|
56
|
+
import fs$1 from "node:fs/promises";
|
|
57
57
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
58
58
|
|
|
59
59
|
//#region src/commands/doctor-auth.ts
|
|
@@ -604,16 +604,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
604
604
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
605
605
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
606
606
|
try {
|
|
607
|
-
await
|
|
607
|
+
await fs$1.mkdir(trashDir, { recursive: true });
|
|
608
608
|
} catch {}
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fs$1.access(params.plistPath);
|
|
611
611
|
} catch {
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
614
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
615
615
|
try {
|
|
616
|
-
await
|
|
616
|
+
await fs$1.rename(params.plistPath, dest);
|
|
617
617
|
return dest;
|
|
618
618
|
} catch {
|
|
619
619
|
return null;
|
|
@@ -1952,11 +1952,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1952
1952
|
argv1: process.argv[1]
|
|
1953
1953
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1954
1954
|
try {
|
|
1955
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1955
|
+
const [schemaStats, uiStats] = await Promise.all([fs$1.stat(schemaPath).catch(() => null), fs$1.stat(uiIndexPath).catch(() => null)]);
|
|
1956
1956
|
if (schemaStats && !uiStats) {
|
|
1957
1957
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1958
1958
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1959
|
-
if (!await
|
|
1959
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1960
1960
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1961
1961
|
return;
|
|
1962
1962
|
}
|
|
@@ -2001,7 +2001,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
2001
2001
|
initialValue: true
|
|
2002
2002
|
})) {
|
|
2003
2003
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
2004
|
-
if (!await
|
|
2004
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
2005
2005
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
2006
2006
|
return;
|
|
2007
2007
|
}
|
|
@@ -47,7 +47,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-B0lQ1X82.js";
|
|
48
48
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BOo3XOLT.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-Dbc6Wesr.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion-DyHABS_W.js";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
2
|
-
import { Sr as normalizeProviderId, Zn as upsertAuthProfile, er as ensureAuthProfileStore } from "./auth-profiles-
|
|
3
|
-
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
-
import { r as isWSLEnv } from "./wsl-
|
|
2
|
+
import { Sr as normalizeProviderId, Zn as upsertAuthProfile, er as ensureAuthProfileStore } from "./auth-profiles-O2Q8_o0a.js";
|
|
3
|
+
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-D15JW57h.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-DCEQRUtE.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-Dws687Oa.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { f as updateConfig } from "./shared-hHKmh3AF.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-Jtjowoeg.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-4zSchJ5n.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as isLegacyIpv4Literal, Ot as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv6Address, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, kt as parseLooseIpAddress, vt as isCanonicalDottedDecimalIPv4, xt as isIpv4Address } from "./auth-profiles-
|
|
1
|
+
import { Ct as isLegacyIpv4Literal, Ot as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv6Address, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, kt as parseLooseIpAddress, vt as isCanonicalDottedDecimalIPv4, xt as isIpv4Address } from "./auth-profiles-O2Q8_o0a.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -2,14 +2,14 @@ import { r as isVerbose } from "./globals-d3aR1MYC.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
4
4
|
import { E as parseAgentSessionKey } from "./session-key-CC77ya0a.js";
|
|
5
|
-
import { g as sniffMimeFromBase64 } from "./subagent-registry-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { g as sniffMimeFromBase64 } from "./subagent-registry-D15JW57h.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-Gs9H0Aq3.js";
|
|
7
7
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-BWh_1W9T.js";
|
|
8
|
-
import { o as estimateBase64DecodedBytes } from "./tool-images-
|
|
8
|
+
import { o as estimateBase64DecodedBytes } from "./tool-images-BOfCiGuh.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
11
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
12
|
-
import
|
|
12
|
+
import fs from "node:fs/promises";
|
|
13
13
|
import http2 from "node:http2";
|
|
14
14
|
|
|
15
15
|
//#region src/gateway/ws-logging.ts
|
|
@@ -526,7 +526,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
526
526
|
value: {
|
|
527
527
|
teamId,
|
|
528
528
|
keyId,
|
|
529
|
-
privateKey: normalizePrivateKey(await
|
|
529
|
+
privateKey: normalizePrivateKey(await fs.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -3,11 +3,11 @@ import "./paths-BMo6kTge.js";
|
|
|
3
3
|
import "./ansi-D8xB67JW.js";
|
|
4
4
|
import "./subsystem-sfEQP4fF.js";
|
|
5
5
|
import "./boolean-ydSOedIP.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-O2Q8_o0a.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-DnGYstsz.js";
|
|
9
9
|
import "./utils-BnC3HGtm.js";
|
|
10
|
-
import "./openclaw-root-
|
|
10
|
+
import "./openclaw-root-3A_8MzYe.js";
|
|
11
11
|
import "./logger-BX552_3d.js";
|
|
12
12
|
import "./exec-DQcHcbQy.js";
|
|
13
13
|
import "./registry-CwKS6RIg.js";
|
|
@@ -15,21 +15,21 @@ import "./github-copilot-token-DS1iTsaA.js";
|
|
|
15
15
|
import "./host-env-security-DkAVVuaw.js";
|
|
16
16
|
import "./version-5hWIVAVM.js";
|
|
17
17
|
import "./env-vars-QSsEkFDU.js";
|
|
18
|
-
import "./manifest-registry-
|
|
19
|
-
import "./path-alias-guards-
|
|
20
|
-
import "./net-
|
|
21
|
-
import "./tailnet-
|
|
22
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
23
|
-
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-
|
|
18
|
+
import "./manifest-registry-ZTwWlNy8.js";
|
|
19
|
+
import "./path-alias-guards-CQsCVlSQ.js";
|
|
20
|
+
import "./net-WImcDVCL.js";
|
|
21
|
+
import "./tailnet-CrF4jOdB.js";
|
|
22
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-CYBD3o7s.js";
|
|
23
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-DvmtmdGA.js";
|
|
24
24
|
import "./redact-BWh_1W9T.js";
|
|
25
25
|
import { r as formatErrorMessage } from "./errors-By-4EgM8.js";
|
|
26
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
27
|
-
import "./proxy-env
|
|
28
|
-
import "./ports-
|
|
29
|
-
import { n as markPwAiLoaded } from "./whatsapp-actions-
|
|
26
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-CnDw0p6S.js";
|
|
27
|
+
import "./proxy-env--152Piqf.js";
|
|
28
|
+
import "./ports-DfNdy6Sc.js";
|
|
29
|
+
import { n as markPwAiLoaded } from "./whatsapp-actions-BuO3DPPZ.js";
|
|
30
30
|
import path from "node:path";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
|
-
import
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
import { chromium, devices } from "playwright-core";
|
|
34
34
|
|
|
35
35
|
//#region src/browser/pw-session.ts
|
|
@@ -548,9 +548,9 @@ function buildSiblingTempPath(targetPath) {
|
|
|
548
548
|
return path.join(path.dirname(targetPath), `.openclaw-output-${id}-${safeTail}.part`);
|
|
549
549
|
}
|
|
550
550
|
async function writeViaSiblingTempPath(params) {
|
|
551
|
-
const rootDir = await
|
|
551
|
+
const rootDir = await fs.realpath(path.resolve(params.rootDir)).catch(() => path.resolve(params.rootDir));
|
|
552
552
|
const requestedTargetPath = path.resolve(params.targetPath);
|
|
553
|
-
const targetPath = await
|
|
553
|
+
const targetPath = await fs.realpath(path.dirname(requestedTargetPath)).then((realDir) => path.join(realDir, path.basename(requestedTargetPath))).catch(() => requestedTargetPath);
|
|
554
554
|
const relativeTargetPath = path.relative(rootDir, targetPath);
|
|
555
555
|
if (!relativeTargetPath || relativeTargetPath === ".." || relativeTargetPath.startsWith(`..${path.sep}`) || path.isAbsolute(relativeTargetPath)) throw new Error("Target path is outside the allowed root");
|
|
556
556
|
const tempPath = buildSiblingTempPath(targetPath);
|
|
@@ -565,7 +565,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
565
565
|
});
|
|
566
566
|
renameSucceeded = true;
|
|
567
567
|
} finally {
|
|
568
|
-
if (!renameSucceeded) await
|
|
568
|
+
if (!renameSucceeded) await fs.rm(tempPath, { force: true }).catch(() => {});
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
|
|
@@ -956,7 +956,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
956
956
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
957
957
|
const requestedPath = outPath?.trim();
|
|
958
958
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
959
|
-
await
|
|
959
|
+
await fs.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
960
960
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
961
961
|
else await writeViaSiblingTempPath({
|
|
962
962
|
rootDir: path.dirname(resolvedOutPath),
|
|
@@ -2,22 +2,22 @@ import "./globals-d3aR1MYC.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import "./ansi-D8xB67JW.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
5
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-DnGYstsz.js";
|
|
6
6
|
import { E as parseAgentSessionKey } from "./session-key-CC77ya0a.js";
|
|
7
7
|
import "./utils-BnC3HGtm.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-3A_8MzYe.js";
|
|
9
9
|
import "./logger-BX552_3d.js";
|
|
10
10
|
import "./exec-DQcHcbQy.js";
|
|
11
|
-
import "./path-alias-guards-
|
|
11
|
+
import "./path-alias-guards-CQsCVlSQ.js";
|
|
12
12
|
import "./paths-0JI_ndQl.js";
|
|
13
13
|
import "./redact-BWh_1W9T.js";
|
|
14
|
-
import { l as writeFileWithinRoot } from "./fs-safe-
|
|
14
|
+
import { l as writeFileWithinRoot } from "./fs-safe-CnDw0p6S.js";
|
|
15
15
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-sB-dPrhi.js";
|
|
16
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
16
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-QQ7-fKJN.js";
|
|
17
17
|
import { spawn } from "node:child_process";
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import path from "node:path";
|
|
20
|
-
import
|
|
20
|
+
import fs from "node:fs/promises";
|
|
21
21
|
import readline from "node:readline";
|
|
22
22
|
|
|
23
23
|
//#region src/memory/qmd-scope.ts
|
|
@@ -293,10 +293,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
293
293
|
async initialize(mode) {
|
|
294
294
|
this.bootstrapCollections();
|
|
295
295
|
if (mode === "status") return;
|
|
296
|
-
await
|
|
297
|
-
await
|
|
298
|
-
await
|
|
299
|
-
if (this.sessionExporter) await
|
|
296
|
+
await fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
297
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
298
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
299
|
+
if (this.sessionExporter) await fs.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
300
300
|
await this.symlinkSharedModels();
|
|
301
301
|
await this.ensureCollections();
|
|
302
302
|
if (this.qmd.update.onBoot) {
|
|
@@ -389,7 +389,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
389
389
|
}
|
|
390
390
|
async ensureCollectionPath(collection) {
|
|
391
391
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
392
|
-
await
|
|
392
|
+
await fs.mkdir(collection.path, { recursive: true });
|
|
393
393
|
}
|
|
394
394
|
isDirectoryGlobPattern(pattern) {
|
|
395
395
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -833,19 +833,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
833
833
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
834
834
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
835
835
|
try {
|
|
836
|
-
if (!(await
|
|
836
|
+
if (!(await fs.stat(defaultModelsDir).catch((err) => {
|
|
837
837
|
if (err.code === "ENOENT") return null;
|
|
838
838
|
throw err;
|
|
839
839
|
}))?.isDirectory()) return;
|
|
840
840
|
try {
|
|
841
|
-
await
|
|
841
|
+
await fs.lstat(targetModelsDir);
|
|
842
842
|
return;
|
|
843
843
|
} catch {}
|
|
844
844
|
try {
|
|
845
|
-
await
|
|
845
|
+
await fs.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
846
846
|
} catch (symlinkErr) {
|
|
847
847
|
const code = symlinkErr.code;
|
|
848
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
848
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fs.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
849
849
|
else throw symlinkErr;
|
|
850
850
|
}
|
|
851
851
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1021,7 +1021,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1021
1021
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1022
1022
|
let handle;
|
|
1023
1023
|
try {
|
|
1024
|
-
handle = await
|
|
1024
|
+
handle = await fs.open(absPath);
|
|
1025
1025
|
} catch (err) {
|
|
1026
1026
|
if (isFileMissingError(err)) return { missing: true };
|
|
1027
1027
|
throw err;
|
|
@@ -1053,7 +1053,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1053
1053
|
try {
|
|
1054
1054
|
return {
|
|
1055
1055
|
missing: false,
|
|
1056
|
-
text: await
|
|
1056
|
+
text: await fs.readFile(absPath, "utf-8")
|
|
1057
1057
|
};
|
|
1058
1058
|
} catch (err) {
|
|
1059
1059
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1070,7 +1070,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1070
1070
|
async exportSessions() {
|
|
1071
1071
|
if (!this.sessionExporter) return;
|
|
1072
1072
|
const exportDir = this.sessionExporter.dir;
|
|
1073
|
-
await
|
|
1073
|
+
await fs.mkdir(exportDir, { recursive: true });
|
|
1074
1074
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1075
1075
|
const keep = /* @__PURE__ */ new Set();
|
|
1076
1076
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1096,11 +1096,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1096
1096
|
});
|
|
1097
1097
|
keep.add(target);
|
|
1098
1098
|
}
|
|
1099
|
-
const exported = await
|
|
1099
|
+
const exported = await fs.readdir(exportDir).catch(() => []);
|
|
1100
1100
|
for (const name of exported) {
|
|
1101
1101
|
if (!name.endsWith(".md")) continue;
|
|
1102
1102
|
const full = path.join(exportDir, name);
|
|
1103
|
-
if (!keep.has(full)) await
|
|
1103
|
+
if (!keep.has(full)) await fs.rm(full, { force: true });
|
|
1104
1104
|
}
|
|
1105
1105
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1106
1106
|
}
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { p as theme } from "./globals-d3aR1MYC.js";
|
|
3
3
|
import { u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
4
4
|
import { i as defaultRuntime } from "./ansi-D8xB67JW.js";
|
|
5
|
-
import { Et as isRfc1918Ipv4Address, lt as secretRefKey, x as resolveSecretRefValues, yt as isCarrierGradeNatIpv4Address, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { Et as isRfc1918Ipv4Address, lt as secretRefKey, x as resolveSecretRefValues, yt as isCarrierGradeNatIpv4Address, z as loadConfig } from "./auth-profiles-O2Q8_o0a.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-DQcHcbQy.js";
|
|
7
7
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-CwKS6RIg.js";
|
|
8
|
-
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
8
|
+
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DjEo9W7_.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-DBJiRgR0.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import qrcode from "qrcode-terminal";
|
|
@@ -7,7 +7,7 @@ import { createRequire } from "node:module";
|
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/memory/fs-utils.ts
|
|
13
13
|
function isFileMissingError(err) {
|
|
@@ -16,7 +16,7 @@ function isFileMissingError(err) {
|
|
|
16
16
|
async function statRegularFile(absPath) {
|
|
17
17
|
let stat;
|
|
18
18
|
try {
|
|
19
|
-
stat = await
|
|
19
|
+
stat = await fs$1.lstat(absPath);
|
|
20
20
|
} catch (err) {
|
|
21
21
|
if (isFileMissingError(err)) return { missing: true };
|
|
22
22
|
throw err;
|
|
@@ -51,7 +51,7 @@ function isMemoryPath(relPath) {
|
|
|
51
51
|
return normalized.startsWith("memory/");
|
|
52
52
|
}
|
|
53
53
|
async function walkDir(dir, files) {
|
|
54
|
-
const entries = await
|
|
54
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
55
55
|
for (const entry of entries) {
|
|
56
56
|
const full = path.join(dir, entry.name);
|
|
57
57
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -71,7 +71,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
71
71
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
72
72
|
const addMarkdownFile = async (absPath) => {
|
|
73
73
|
try {
|
|
74
|
-
const stat = await
|
|
74
|
+
const stat = await fs$1.lstat(absPath);
|
|
75
75
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
76
76
|
if (!absPath.endsWith(".md")) return;
|
|
77
77
|
result.push(absPath);
|
|
@@ -80,12 +80,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
80
80
|
await addMarkdownFile(memoryFile);
|
|
81
81
|
await addMarkdownFile(altMemoryFile);
|
|
82
82
|
try {
|
|
83
|
-
const dirStat = await
|
|
83
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
84
84
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
85
85
|
} catch {}
|
|
86
86
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
87
87
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
88
|
-
const stat = await
|
|
88
|
+
const stat = await fs$1.lstat(inputPath);
|
|
89
89
|
if (stat.isSymbolicLink()) continue;
|
|
90
90
|
if (stat.isDirectory()) {
|
|
91
91
|
await walkDir(inputPath, result);
|
|
@@ -99,7 +99,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
99
99
|
for (const entry of result) {
|
|
100
100
|
let key = entry;
|
|
101
101
|
try {
|
|
102
|
-
key = await
|
|
102
|
+
key = await fs$1.realpath(entry);
|
|
103
103
|
} catch {}
|
|
104
104
|
if (seen.has(key)) continue;
|
|
105
105
|
seen.add(key);
|
|
@@ -113,14 +113,14 @@ function hashText(value) {
|
|
|
113
113
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
114
114
|
let stat;
|
|
115
115
|
try {
|
|
116
|
-
stat = await
|
|
116
|
+
stat = await fs$1.stat(absPath);
|
|
117
117
|
} catch (err) {
|
|
118
118
|
if (isFileMissingError(err)) return null;
|
|
119
119
|
throw err;
|
|
120
120
|
}
|
|
121
121
|
let content;
|
|
122
122
|
try {
|
|
123
|
-
content = await
|
|
123
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
124
124
|
} catch (err) {
|
|
125
125
|
if (isFileMissingError(err)) return null;
|
|
126
126
|
throw err;
|
|
@@ -254,7 +254,7 @@ const log = createSubsystemLogger("memory");
|
|
|
254
254
|
async function listSessionFilesForAgent(agentId) {
|
|
255
255
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
256
256
|
try {
|
|
257
|
-
return (await
|
|
257
|
+
return (await fs$1.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
258
258
|
} catch {
|
|
259
259
|
return [];
|
|
260
260
|
}
|
|
@@ -284,8 +284,8 @@ function extractSessionText(content) {
|
|
|
284
284
|
}
|
|
285
285
|
async function buildSessionEntry(absPath) {
|
|
286
286
|
try {
|
|
287
|
-
const stat = await
|
|
288
|
-
const lines = (await
|
|
287
|
+
const stat = await fs$1.stat(absPath);
|
|
288
|
+
const lines = (await fs$1.readFile(absPath, "utf-8")).split("\n");
|
|
289
289
|
const collected = [];
|
|
290
290
|
const lineMap = [];
|
|
291
291
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
2
|
-
import { at as sensitive } from "./auth-profiles-
|
|
2
|
+
import { at as sensitive } from "./auth-profiles-O2Q8_o0a.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|