@termix-it/cryptoclaw 1.1.7 → 1.1.9
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-CvCASRYY.js → accounts-7nNRr4R3.js} +1 -1
- package/dist/{accounts-Du96Wx8V.js → accounts-BE0b9CWs.js} +1 -1
- package/dist/{accounts-hPtcpdFk.js → accounts-BIr_ieyH.js} +1 -1
- package/dist/{accounts-LGj1Il6r.js → accounts-BcrjW3D1.js} +1 -1
- package/dist/{accounts-Bdbf4Fn_.js → accounts-CKpnUMZd.js} +16 -16
- package/dist/{accounts-BkK7T7q3.js → accounts-yWl6UnE5.js} +7 -7
- package/dist/{acp-cli-BVLYN9b6.js → acp-cli-BkRJvbhG.js} +8 -8
- package/dist/{active-listener-CJdR33z9.js → active-listener-ClXqZUsD.js} +1 -1
- package/dist/{agent-scope-DnGYstsz.js → agent-scope-CRf0l_Gq.js} +17 -17
- package/dist/{agents-DmV9pcSX.js → agents-DF9-Gawd.js} +14 -14
- package/dist/{agents.config-BlbII3kh.js → agents.config-D-kz_GD7.js} +2 -2
- package/dist/{api-key-rotation-bH-pRnX0.js → api-key-rotation-C20s2VP6.js} +1 -1
- package/dist/{api-key-rotation-DX2h8ORX.js → api-key-rotation-CUJC6xSi.js} +2 -2
- package/dist/{audio-preflight-ZycldM-G.js → audio-preflight--MDRrrlB.js} +33 -33
- package/dist/{audio-preflight-BxFoXiPf.js → audio-preflight-Det_pb9p.js} +34 -34
- package/dist/{audio-transcription-runner-DU6wV8vt.js → audio-transcription-runner-CgLX4N3r.js} +12 -12
- package/dist/{audio-transcription-runner-D1MyUZ7c.js → audio-transcription-runner-DKJsRpdc.js} +23 -23
- package/dist/{audit-B5zuu-5Z.js → audit-B-SXg-Xk.js} +29 -29
- package/dist/{audit-membership-runtime-Dg3H6a5z.js → audit-membership-runtime-Ch2lLD_u.js} +5 -5
- package/dist/{auth-22wVQqM3.js → auth-XpPQf9A8.js} +1 -1
- package/dist/{auth-choice-MPAsBFfw.js → auth-choice-CLs5WpL3.js} +11 -11
- package/dist/{auth-choice-CEgBDcRt.js → auth-choice-DGDwkTV6.js} +13 -13
- package/dist/{auth-choice.apply-helpers-DXntDnow.js → auth-choice.apply-helpers-lwbv0OFA.js} +1 -1
- package/dist/{auth-profiles-O2Q8_o0a.js → auth-profiles-Dhb7Y6H5.js} +16 -16
- package/dist/{auth-token-Jtjowoeg.js → auth-token-B8r2bVLN.js} +1 -1
- package/dist/{banner-CjhJhSHE.js → banner-CxQq-XAy.js} +2 -2
- package/dist/{bonjour-discovery-BrgT_UZ5.js → bonjour-discovery-BG6bPBFk.js} +1 -1
- package/dist/{browser-cli-DhGYbRc3.js → browser-cli-Bs9Jn2SN.js} +12 -12
- 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/{call-DUvxsaBy.js → call-d1gA727i.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-1e3thcpb.js → channel-account-context-Crd0PQwN.js} +5 -5
- package/dist/{channel-activity-DvY5-NBa.js → channel-activity-32lmgAZH.js} +3 -3
- package/dist/{channel-activity-BdjzKjf6.js → channel-activity-I7fJP8eL.js} +1 -1
- package/dist/{channel-options-uHVlMBJK.js → channel-options-COkismPi.js} +3 -3
- package/dist/{channel-selection-H4NMMvR3.js → channel-selection-BgyyrS1w.js} +1 -1
- package/dist/{channel-web-v-nG1mnb.js → channel-web-DZGV2k-s.js} +17 -17
- package/dist/{channels-cli-CaRBsVKj.js → channels-cli-DIC4XXvf.js} +93 -93
- package/dist/{channels-status-issues-CUJB3e53.js → channels-status-issues-e73oAXc5.js} +1 -1
- package/dist/{chrome-BDn3oCxA.js → chrome-CtEQV_6p.js} +26 -26
- package/dist/{chrome-CYBD3o7s.js → chrome-dfA2MJQH.js} +4 -4
- package/dist/{clawbot-cli-DQDZpHp6.js → clawbot-cli-B--Pll5v.js} +11 -11
- package/dist/{cli-CnYD8U_2.js → cli-Df4l1wtv.js} +73 -73
- package/dist/{client-DPmb6CIu.js → client-BEF5fXj0.js} +2 -2
- package/dist/{command-registry-CSJb-2Si.js → command-registry-CBfNNhgy.js} +11 -11
- package/dist/{command-secret-targets-DjEo9W7_.js → command-secret-targets-CnULpcUz.js} +4 -4
- package/dist/{commands-CUPc3v8D.js → commands-NJXpIW-o.js} +1 -1
- package/dist/{commands-registry-C3lrGFPc.js → commands-registry-FnGtnvb0.js} +4 -4
- package/dist/{commands-registry-BLcZaG1W.js → commands-registry-leOuyQey.js} +3 -3
- package/dist/{completion-cli-GV-mihuA.js → completion-cli-Bai3pUlw.js} +1 -1
- package/dist/{completion-cli-BpRlBZPa.js → completion-cli-FP9HAEQ3.js} +13 -13
- package/dist/{config-cli-BGy3uFX6.js → config-cli-9yew-sxg.js} +7 -7
- package/dist/{config-guard-CiLylaoa.js → config-guard-QxrUunD8.js} +3 -3
- package/dist/{config-validation-CmNLlf8O.js → config-validation-XC8HKQ95.js} +3 -3
- package/dist/{configure-Dcjc_rvn.js → configure-DeAtHK8r.js} +17 -17
- package/dist/{control-ui-assets-DsgdrhIz.js → control-ui-assets-C08JRwwL.js} +1 -1
- package/dist/{cron-cli-C0KJ0GIR.js → cron-cli-TmXvhnuy.js} +11 -11
- package/dist/{daemon-cli-DVxXbSSo.js → daemon-cli-CxdLAg0T.js} +15 -15
- package/dist/{daemon-install-Cwmezi6s.js → daemon-install-Z0aYOW9C.js} +4 -4
- package/dist/{daemon-install-helpers-BAt1F-Sd.js → daemon-install-helpers-DoeVkj6M.js} +11 -11
- package/dist/{deliver-CIws33al.js → deliver-32OxViWG.js} +20 -20
- package/dist/{deliver-g75DXZ54.js → deliver-KC6M1Po5.js} +7 -7
- package/dist/deliver-runtime-C5J_x4jO.js +62 -0
- package/dist/deliver-runtime-DGYhS7K1.js +37 -0
- package/dist/deps-send-discord.runtime-BJmezHoH.js +27 -0
- package/dist/{deps-send-discord.runtime-BpCYDmRD.js → deps-send-discord.runtime-C2JzTkWt.js} +16 -16
- package/dist/deps-send-imessage.runtime-BFk4Fvrd.js +36 -0
- package/dist/deps-send-imessage.runtime-Dsq-J7FK.js +26 -0
- package/dist/deps-send-signal.runtime-2kRNCAkm.js +25 -0
- package/dist/deps-send-signal.runtime-Lw_dTkGz.js +35 -0
- package/dist/deps-send-slack.runtime-DoM54spr.js +23 -0
- package/dist/{deps-send-slack.runtime-CESru84F.js → deps-send-slack.runtime-Ucy4geO1.js} +14 -14
- package/dist/deps-send-telegram.runtime-DGtmyBk2.js +28 -0
- package/dist/{deps-send-telegram.runtime-BJGQ2OvJ.js → deps-send-telegram.runtime-DHzRQJe0.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-B_ZiouDf.js +61 -0
- package/dist/deps-send-whatsapp.runtime-CvFgs4NK.js +120 -0
- package/dist/{devices-cli-wlLcQp00.js → devices-cli-Cez-Kjzm.js} +8 -8
- package/dist/{diagnostic-DUVtQcqK.js → diagnostic-DlgnWiS3.js} +1 -1
- package/dist/{diagnostic-tCJa7Lw4.js → diagnostic-UO82MQjo.js} +2 -2
- package/dist/{diagnostics-CKx5Fdba.js → diagnostics-B9N9Gclp.js} +5 -5
- package/dist/{directory-cli-DKKgOcpZ.js → directory-cli-DElz98Vj.js} +7 -7
- package/dist/{dns-cli-D1chgoht.js → dns-cli-NR3uBIKu.js} +5 -5
- package/dist/{dock-BApnjSMS.js → dock-DhwktiRh.js} +4 -4
- package/dist/{docs-cli-BvOheJtP.js → docs-cli-DL6UVBO7.js} +4 -4
- package/dist/{doctor-completion-CUfmZ2QW.js → doctor-completion-BQBZQyQq.js} +1 -1
- package/dist/{doctor-completion-C-EngqIL.js → doctor-completion-CCNHTpp9.js} +2 -2
- package/dist/{doctor-config-flow-CoBBtWrG.js → doctor-config-flow-CN_hFkSO.js} +15 -15
- package/dist/{enable-D4na731V.js → enable-DTsxqYdj.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-x0EvNKYN.js → errors-BwBpGOBV.js} +1 -1
- package/dist/{exec-approvals-allowlist-CyY44YOj.js → exec-approvals-allowlist-BMnVDBPF.js} +1 -1
- package/dist/{exec-approvals-cli-mrJDJoMt.js → exec-approvals-cli-OEgUH8zR.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BP-hoGyD.js → exec-safe-bin-runtime-policy-DH8C1i7S.js} +2 -2
- package/dist/{fetch-DpZmzITI.js → fetch-CZCJhSwX.js} +3 -3
- package/dist/{fetch-BAOdAoIM.js → fetch-DozurFmr.js} +5 -5
- package/dist/{fetch-guard-CLZ6u2jq.js → fetch-guard-B5ANJDou.js} +1 -1
- package/dist/{fetch-guard-B158yrdn.js → fetch-guard-XtFb6zM7.js} +2 -2
- package/dist/{frontmatter-BMvyqQHI.js → frontmatter-Cy6ESb-O.js} +3 -3
- package/dist/{fs-safe-CnDw0p6S.js → fs-safe-B5PDQs4d.js} +24 -24
- package/dist/{fs-safe-dXrcaQOs.js → fs-safe-YxZ8RAEw.js} +4 -4
- package/dist/{gateway-cli-Dsw3_ijn.js → gateway-cli-CyeZq5AC.js} +1 -1
- package/dist/{gateway-cli-Bzuh64lS.js → gateway-cli-DLWVlNsd.js} +153 -153
- package/dist/{gateway-rpc-sfxU7DjV.js → gateway-rpc-Cs0KliQu.js} +1 -1
- package/dist/{github-copilot-token-DDa7O18e.js → github-copilot-token-D7knylDF.js} +7 -7
- package/dist/{health-ysQviffW.js → health-DD6PJgN8.js} +11 -11
- package/dist/{hooks-cli-DHi_8Dym.js → hooks-cli-BeB2OkD-.js} +81 -81
- package/dist/{hooks-status-DBxEspfP.js → hooks-status-DyvZhQMV.js} +1 -1
- package/dist/{image-TyVVUbmF.js → image-B2LPzwKF.js} +6 -6
- package/dist/{image-DqLDeq0S.js → image-Cb-G2N6H.js} +5 -5
- package/dist/{image-ops-DQnLLCmy.js → image-ops-CX39q-u7.js} +10 -10
- package/dist/{image-ops-Lq3nZ855.js → image-ops-gm8VfGiD.js} +2 -2
- package/dist/image-runtime-7mmAmEoX.js +56 -0
- package/dist/image-runtime-BL3D208M.js +30 -0
- package/dist/index.js +1 -1
- package/dist/{inspect-DmEOlMyu.js → inspect-DCCTTM2p.js} +4 -4
- package/dist/{install-safe-path-lYB1n1zs.js → install-safe-path-B-vV6gg0.js} +25 -25
- package/dist/{installs-BqdehfDe.js → installs-D2BwpBpI.js} +9 -9
- package/dist/{ipv4-Dw7o7EN4.js → ipv4-B7QK2crX.js} +1 -1
- package/dist/{ir-Dpb1g0jL.js → ir-B7IR3m4T.js} +7 -7
- package/dist/{ir-BFLOrX1v.js → ir-BJoTxOuZ.js} +8 -8
- package/dist/{issue-format-B3rjIDp2.js → issue-format-D_dmhPpa.js} +1 -1
- package/dist/{json-files-Gs9H0Aq3.js → json-files-DKBWexTJ.js} +8 -8
- package/dist/{legacy-names-iGQfUMAW.js → legacy-names-TrN6kryB.js} +1 -1
- package/dist/{lifecycle-core-f8bB01eE.js → lifecycle-core-BdCUsFAO.js} +5 -5
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-DeYjzyXs.js → logger-CV2IWsAW.js} +1 -1
- package/dist/{login-Yxw0ePBs.js → login-ByMSGK1J.js} +3 -3
- package/dist/{login-C0ZsBFpc.js → login-C6CkDgLi.js} +5 -5
- package/dist/{login-qr-BJCPbTFZ.js → login-qr-CDwnwe9P.js} +6 -6
- package/dist/{login-qr-1rURNNTB.js → login-qr-WEr1WQvg.js} +11 -11
- package/dist/{logs-cli-D5fWLF2F.js → logs-cli-skIcVW3V.js} +9 -9
- package/dist/{manager-DSkj7L3Z.js → manager-BWh3BVp1.js} +13 -13
- package/dist/{manager-CLRUN9PX.js → manager-CJIx-nFA.js} +14 -14
- package/dist/{manager-runtime-BxaiDdDE.js → manager-runtime-C21y6GjQ.js} +9 -9
- package/dist/manager-runtime-CJHBIXOb.js +19 -0
- package/dist/{manifest-registry-ZTwWlNy8.js → manifest-registry-B-2nrmVS.js} +1 -1
- package/dist/{memory-cli-1oaIDOW8.js → memory-cli-BKJMqEje.js} +12 -12
- package/dist/{model-4MYhtwmk.js → model-BF-E_mpk.js} +2 -2
- package/dist/{model-catalog-Bq8ljVOk.js → model-catalog-C2xpcL9w.js} +3 -3
- package/dist/{model-picker-MNBPQ3J0.js → model-picker-B_jBkcxo.js} +4 -4
- package/dist/{model-selection-7_ya2Uju.js → model-selection-BiqOlgFe.js} +43 -43
- package/dist/{models-cli-CDfSk6DT.js → models-cli-QTm186Iq.js} +78 -78
- package/dist/{models-config-rHYOUx9N.js → models-config-Bzcv6yHw.js} +6 -6
- package/dist/{models-DT64zDal.js → models-kMN-tUPU.js} +17 -17
- package/dist/{net-WImcDVCL.js → net-B4T9jJmY.js} +2 -2
- package/dist/{node-cli-0d0U2A1N.js → node-cli-pYAcollM.js} +33 -33
- package/dist/{node-command-policy-BsxOgSi5.js → node-command-policy-CEkzpJ-E.js} +1 -1
- package/dist/{node-service-BvafMFan.js → node-service-DoeR9Tg_.js} +1 -1
- package/dist/{nodes-cli-b8Ghnuxt.js → nodes-cli-Bx2ytnbF.js} +16 -16
- package/dist/{nodes-screen-ChMr3Xvv.js → nodes-screen-D4GSrs9P.js} +7 -7
- package/dist/{npm-pack-install-Cq3pNk7b.js → npm-pack-install-CR0ksmYd.js} +18 -18
- package/dist/{npm-resolution-MRSgQLVD.js → npm-resolution-BkWQgNIO.js} +4 -4
- package/dist/{onboard-BJVoYoHZ.js → onboard-BCnqRDky.js} +1 -1
- package/dist/{onboard-BOHGDo4g.js → onboard-CQ-YoTSl.js} +6 -6
- package/dist/{onboard-channels-puO2LD6g.js → onboard-channels-B2GvfCnG.js} +21 -21
- package/dist/{onboard-custom-Cpf2aU9S.js → onboard-custom-DygXBNvm.js} +4 -4
- package/dist/{onboard-helpers-CEIyWqFt.js → onboard-helpers-DBgIqxpx.js} +10 -10
- package/dist/{onboard-hooks-cPtbvxIQ.js → onboard-hooks-CKJoEftC.js} +4 -4
- package/dist/{onboard-remote-BWxqa7D6.js → onboard-remote-eycsmUSY.js} +4 -4
- package/dist/{onboard-skills-BjGs7gMo.js → onboard-skills-qZsTdEYi.js} +4 -4
- package/dist/{onboarding-6IEtOwuP.js → onboarding-BY3YZMkn.js} +16 -16
- package/dist/{onboarding-CsT6rGtX.js → onboarding-DR-2kdRy.js} +3 -3
- package/dist/{onboarding.finalize-DbT65Q0d.js → onboarding.finalize-B_gI9SXJ.js} +87 -87
- package/dist/{onboarding.finalize-DrToeErV.js → onboarding.finalize-CEgugO0l.js} +3 -3
- package/dist/{onboarding.gateway-config-CkT0qEDp.js → onboarding.gateway-config-D0IdOPlC.js} +18 -18
- package/dist/{onboarding.secret-input-C7qPkRfU.js → onboarding.secret-input-B92nv1e5.js} +1 -1
- package/dist/{openai-model-default-C4ZEdxRm.js → openai-model-default-hj3S7o-G.js} +2 -2
- package/dist/{openclaw-root-3A_8MzYe.js → openclaw-root-CcI1kSyI.js} +8 -8
- package/dist/{outbound-C4dZ6V9n.js → outbound-DSVwKSv4.js} +6 -6
- package/dist/{outbound-attachment-CvEoWB03.js → outbound-attachment-CcY_Rg0-.js} +2 -2
- package/dist/{outbound-attachment-BV-XqIuc.js → outbound-attachment-DFjyJ3Np.js} +2 -2
- package/dist/{outbound-ChrgPoxb.js → outbound-ev7SVuPh.js} +3 -3
- package/dist/{pairing-cli-DAiiAM8B.js → pairing-cli-BEwqqs3y.js} +8 -8
- package/dist/{pairing-labels-CGVQ42A3.js → pairing-labels-CAXv-Bhv.js} +1 -1
- package/dist/{pairing-store-W5camsG4.js → pairing-store-Cw7fg9R2.js} +3 -3
- package/dist/{path-alias-guards-CQsCVlSQ.js → path-alias-guards-C74pGxcZ.js} +3 -3
- package/dist/{path-alias-guards-CBjJlK0T.js → path-alias-guards-Gzq1eAOo.js} +1 -1
- package/dist/{path-safety-BrZp6wHv.js → path-safety-Ck76OVAf.js} +1 -1
- package/dist/{paths-DvmtmdGA.js → paths-A42qSVaB.js} +9 -9
- package/dist/{paths-CZ0nrg7g.js → paths-BWg7M5Yy.js} +3 -3
- package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
- package/dist/{pi-embedded-CD6DgdIO.js → pi-embedded-DkdNpxSe.js} +168 -168
- package/dist/{pi-embedded-helpers-B5RhZxjN.js → pi-embedded-helpers-B_qa7ikD.js} +52 -52
- package/dist/{pi-embedded-helpers-66TKj98I.js → pi-embedded-helpers-CU3j5zQw.js} +6 -6
- package/dist/{pi-model-discovery-Bs768Cx7.js → pi-model-discovery-Ci3qWkfz.js} +1 -1
- package/dist/{pi-model-discovery-Cv6-G7zn.js → pi-model-discovery-FwBV8Q5J.js} +7 -7
- package/dist/pi-model-discovery-runtime-BozG-CtU.js +12 -0
- package/dist/{pi-model-discovery-runtime-DEV-guE_.js → pi-model-discovery-runtime-CQWul9Vg.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-BfpR8xeI.js → pi-tools.before-tool-call.runtime-2r6sdUt5.js} +10 -10
- package/dist/{pi-tools.before-tool-call.runtime-gtwRqfD1.js → pi-tools.before-tool-call.runtime-C3GLLjEH.js} +5 -5
- package/dist/{pi-tools.policy-CQSaeIZr.js → pi-tools.policy-DwQdI7Kl.js} +5 -5
- package/dist/{plugin-auto-enable-z-6f3_56.js → plugin-auto-enable-apzoyUq4.js} +3 -3
- package/dist/{plugin-registry-DvUq6zds.js → plugin-registry-B8gsdjW8.js} +3 -3
- package/dist/plugin-sdk/{accounts-C4br4nlZ.js → accounts-BOVsvZ69.js} +3 -3
- package/dist/plugin-sdk/{accounts-DTNnTWpJ.js → accounts-BkuioOq8.js} +2 -2
- package/dist/plugin-sdk/{accounts-BypsQT27.js → accounts-C1Yf8rUO.js} +2 -2
- package/dist/plugin-sdk/{active-listener-B5t82gRU.js → active-listener-CYvTJUbv.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BFNdrCf9.js → api-key-rotation-CLAvYiCX.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B7ivxhvF.js → audio-preflight-B1iVdt7A.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-B8OUiy7P.js → audio-transcription-runner-6TQq2i9u.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Re50ULXH.js → audit-membership-runtime-DS34hPU6.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Dx1jbA3a.js → channel-activity-BcVbdzzf.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BiTTQ4xr.js → channel-web-CXMt7BY7.js} +18 -18
- package/dist/plugin-sdk/{chrome-wTqnW5U7.js → chrome-DifgiNQb.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-BWv4oM2P.js → commands-registry-BwfAoL8g.js} +4 -4
- package/dist/plugin-sdk/{config-cWsVJMRn.js → config-DdConC4M.js} +7 -7
- package/dist/plugin-sdk/{deliver-Ba8ti0Um.js → deliver-30LL_FDf.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BzekNyDR.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DAQdyr0A.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-DeN3xqBZ.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BzOTNsH2.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-RJ6do6c_.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-CT8fXkjj.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-B3vpd-GR.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DJkCYiHJ.js → diagnostic-BiLQ5uMU.js} +2 -2
- package/dist/{errors-DqgvfHhI.js → plugin-sdk/errors-C-TFeu_U.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-B4oIrtQU.js → fetch-guard-su5BIIz5.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-BGLuaVDw.js → fs-safe-B0eWdlGT.js} +3 -3
- package/dist/plugin-sdk/{image-D9cX-W4_.js → image-BHgCDBaW.js} +6 -6
- package/dist/plugin-sdk/{image-ops-N60pMFiM.js → image-ops-D5EPN96N.js} +2 -2
- package/dist/plugin-sdk/image-runtime-usFQghD_.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-DvNCG3HQ.js → ir-BVqIWdpl.js} +7 -7
- package/dist/plugin-sdk/{local-roots-DJr1PN3z.js → local-roots-CCfvGuoX.js} +4 -4
- package/dist/plugin-sdk/{logger-COmHOvdm.js → logger-z1vqlUc1.js} +2 -2
- package/dist/plugin-sdk/{login-CoU-pP8D.js → login-1hsZj0g8.js} +4 -4
- package/dist/plugin-sdk/{login-qr-wRFAAkU1.js → login-qr-mIn4oSE6.js} +5 -5
- package/dist/plugin-sdk/{manager-BlnM_iwm.js → manager-CKCJdSeL.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-C8E7uQRc.js +15 -0
- package/dist/plugin-sdk/{outbound-Cw6160wa.js → outbound-DVpHFwMf.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-DWhUVfia.js → outbound-attachment-DXCuJPzV.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Ck7kqOtM.js → path-alias-guards-Ddj-jk91.js} +1 -1
- package/dist/plugin-sdk/{paths-C_3UIAbs.js → paths-MqZfQzk4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-3l1dRoEY.js → pi-embedded-helpers-De-tYNO5.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bi4ewLKb.js → pi-model-discovery-CmWdgrld.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-BInvqyx7.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DJbnwybV.js → pi-tools.before-tool-call.runtime-DZs_C8RL.js} +4 -4
- package/dist/plugin-sdk/{plugins-Bm4rp8IX.js → plugins-Df9rHggh.js} +4 -4
- package/dist/plugin-sdk/{proxy-fetch-BZAtM2fT.js → proxy-fetch-DxlXp4Yi.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CslJ6u1B.js → pw-ai-BcFVaXMO.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-BV37X-4s.js → qmd-manager-CgAY74JQ.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-B7JBWi3Y.js → query-expansion-X3iK3wW4.js} +4 -4
- package/dist/plugin-sdk/{redact-DZTeCKgA.js → redact-DIGZ7dEc.js} +1 -1
- package/dist/plugin-sdk/{reply-SL3TFM_1.js → reply-CPlMOjnY.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-8WMGshxA.js → resolve-outbound-target--JkNiVR3.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-CbyBbGss.js → run-with-concurrency-CAg6hblr.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-VulSN6Vo.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-KEv7zH3k.js +19 -0
- package/dist/plugin-sdk/{send-DAZltiIW.js → send-BR0ocVRg.js} +8 -8
- package/dist/plugin-sdk/{send-CnZwc5Xm.js → send-BfMo4yKi.js} +13 -13
- package/dist/plugin-sdk/{send-DGJpvm7n.js → send-BosYVCS8.js} +5 -5
- package/dist/plugin-sdk/{send-DbUkzyXv.js → send-C1N0kX50.js} +7 -7
- package/dist/plugin-sdk/{send-DbhdUm2I.js → send-DyAZa1y0.js} +6 -6
- package/dist/plugin-sdk/{session-Cpth1H2A.js → session-xR2DLzse.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-X5gpohJ1.js → skill-commands-DHOHDbOQ.js} +4 -4
- package/dist/plugin-sdk/{skills-s-HEpPkh.js → skills-LpJmo0DO.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-Bh4gVuZZ.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BrC7vdR-.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-ztQcIAHF.js +16 -0
- package/dist/plugin-sdk/{ssrf-BlFOb1TL.js → ssrf-Ctw5peX0.js} +1 -1
- package/dist/plugin-sdk/{store-DuNHlb8J.js → store-BECFHajU.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-S1tiTKcN.js +52 -0
- package/dist/plugin-sdk/{tables-DBVdEzq2.js → tables-BGPXRfUo.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CX2np2l6.js → target-errors-EppfnloD.js} +2 -2
- package/dist/plugin-sdk/{thinking-B9UJvomD.js → thinking-DwXFSbD_.js} +7 -7
- package/dist/plugin-sdk/{tokens-XT-8y62w.js → tokens-DuRErjk3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CJ10KuSq.js → tool-images-6BfTarJB.js} +2 -2
- package/dist/plugin-sdk/web-B9un2u9S.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-CgqENBb8.js → whatsapp-actions-k9k_HQg1.js} +17 -17
- package/dist/{plugins-Crz4XiBW.js → plugins-Burzc1_i.js} +10 -10
- package/dist/{plugins-BPdE2epV.js → plugins-DPzGpZa7.js} +2 -2
- package/dist/{plugins-cli-D_HZ8IcN.js → plugins-cli-DzdzJs7b.js} +83 -83
- package/dist/{ports-DfNdy6Sc.js → ports-jMaAsRpr.js} +2 -2
- package/dist/{ports-DGlQBAf1.js → ports-tNwRP0LA.js} +1 -1
- package/dist/{program-CKWx208-.js → program-Rna_eew4.js} +81 -81
- package/dist/{program-context-DkcaWwi4.js → program-context-BfnHzkXT.js} +6 -6
- package/dist/{prompt-select-styled-CbN_Mt7I.js → prompt-select-styled-1nWCPZKF.js} +40 -40
- package/dist/{prompt-select-styled-CMY_nBLN.js → prompt-select-styled-BDi5UBUn.js} +1 -1
- package/dist/{provider-auth-helpers-CrGaU-6B.js → provider-auth-helpers-DlZjYqHx.js} +5 -5
- package/dist/{proxy-env-yDqp-Ahu.js → proxy-env-C05eD8Tt.js} +1 -1
- package/dist/{proxy-env--152Piqf.js → proxy-env-CKsbj01c.js} +1 -1
- package/dist/{proxy-fetch-BNoCHTJq.js → proxy-fetch-C_2Ejh5T.js} +1 -1
- package/dist/{push-apns-BcgP-1tO.js → push-apns-BNZHhyJh.js} +5 -5
- package/dist/{pw-ai-BfVnhdW1.js → pw-ai-BbxaV2Cy.js} +15 -15
- package/dist/{pw-ai-lyRZ2lRj.js → pw-ai-DYmnLtI5.js} +18 -18
- package/dist/{qmd-manager-Q-iay5w2.js → qmd-manager-CtnM6lKC.js} +20 -20
- package/dist/{qmd-manager-CGRr_vXf.js → qmd-manager-JjGGwn8R.js} +11 -11
- package/dist/{qr-cli-M55o9uQ3.js → qr-cli-CiaeVLGo.js} +2 -2
- package/dist/{query-expansion-QQ7-fKJN.js → query-expansion-CGww5_oH.js} +12 -12
- package/dist/{query-expansion-BbZnWoPn.js → query-expansion-DkXzaUOH.js} +6 -6
- package/dist/{redact-DLKBjGbP.js → redact-C-aJRv5O.js} +1 -1
- package/dist/{redact-snapshot-DtttUfNB.js → redact-snapshot-Bg3sMcIL.js} +1 -1
- package/dist/{register.agent-Cb82_m36.js → register.agent-zhueqr8n.js} +94 -94
- package/dist/register.configure-Bi9KnPuo.js +166 -0
- package/dist/{register.maintenance-BpUAzsp4.js → register.maintenance-BoigTo1u.js} +4 -4
- package/dist/{register.maintenance-BPqW1lws.js → register.maintenance-RJM2wCjj.js} +95 -95
- package/dist/{register.message-BPMXTFeN.js → register.message-CnEQThm-.js} +74 -74
- package/dist/{register.onboard-Cehu9gcA.js → register.onboard--1jxOBJy.js} +2 -2
- package/dist/{register.onboard-DJaBbqh_.js → register.onboard-BtBM_7Qe.js} +18 -18
- package/dist/{register.setup-D16BxCi3.js → register.setup-B_O283DR.js} +2 -2
- package/dist/{register.setup-BqX8kJu2.js → register.setup-o2PFpqW-.js} +21 -21
- package/dist/{register.status-health-sessions-Cr554peJ.js → register.status-health-sessions-CVjLnoAQ.js} +88 -88
- package/dist/{register.subclis-CD2aBcEc.js → register.subclis-Cm8zQPce.js} +31 -31
- package/dist/{rpc-C3fo7Fc4.js → rpc-B2top5G1.js} +1 -1
- package/dist/{run-main-DT-sx35e.js → run-main-Bcwtj17t.js} +92 -92
- package/dist/{run-with-concurrency-Cy32RsV5.js → run-with-concurrency-CYTs7gPY.js} +4 -4
- package/dist/{runtime-aCMkJumC.js → runtime-Bwd93vnw.js} +3 -3
- package/dist/{runtime-config-collectors-BArtbEg9.js → runtime-config-collectors-CrW6OjTr.js} +1 -1
- package/dist/runtime-whatsapp-login.runtime-BU92rhCA.js +14 -0
- package/dist/{runtime-whatsapp-login.runtime-BoLTF-OO.js → runtime-whatsapp-login.runtime-D08ghHWe.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-CQSrwbqD.js → runtime-whatsapp-outbound.runtime-B3NjGGpU.js} +15 -15
- package/dist/runtime-whatsapp-outbound.runtime-DZy-sAPP.js +23 -0
- package/dist/{sandbox-CswRLZuX.js → sandbox-BvR_Auee.js} +18 -18
- package/dist/{sandbox-cli-CvsjCdCm.js → sandbox-cli-myJWqWAa.js} +25 -25
- package/dist/{secrets-cli-6shNNxcY.js → secrets-cli-1xQw45fy.js} +11 -11
- package/dist/{security-cli-aM0KmhSS.js → security-cli-o0C0Tcn_.js} +42 -42
- package/dist/{send-DhC9fy39.js → send-BXBEWheN.js} +5 -5
- package/dist/{send-BsLP4ooQ.js → send-CgUKGlTT.js} +4 -4
- package/dist/{send-rltgPz0P.js → send-ChW15YPB.js} +25 -25
- package/dist/{send-DIjmqe2S.js → send-Cj0LCSvd.js} +7 -7
- package/dist/{send-CFJQjYMY.js → send-CkTGqTX7.js} +11 -11
- package/dist/{send-Br8GGwD9.js → send-CzH87tPi.js} +6 -6
- package/dist/{send-CRTDD5rW.js → send-DDKqu28r.js} +7 -7
- package/dist/{send-DaH87GbQ.js → send-Dtf_Rspz.js} +8 -8
- package/dist/{send-CjE4bDH3.js → send-hOoCA9jX.js} +6 -6
- package/dist/{send-rDDHhjBl.js → send-q-l5fncb.js} +5 -5
- package/dist/{server-pG33jNj1.js → server-BtfPMtk8.js} +20 -20
- package/dist/{server-context-Chb0NTKM.js → server-context-jBMc5KL9.js} +12 -12
- package/dist/{server-lifecycle-B2vW1X8l.js → server-lifecycle-B5N_h0YG.js} +2 -2
- package/dist/{server-middleware-BwS1-Xql.js → server-middleware-Bt0-4Zx7.js} +1 -1
- package/dist/{server-node-events-DKjcwxsN.js → server-node-events-8TZ5uZ7a.js} +74 -74
- package/dist/{service-ByGIhP5D.js → service-CC8D6AOn.js} +15 -15
- package/dist/{session-C-semPd7.js → session-1PuqW42w.js} +1 -1
- package/dist/{session-ZkhbSK-_.js → session-BzKpA5X4.js} +8 -8
- package/dist/{session-utils-DQdPC90P.js → session-utils-B61AjjG6.js} +6 -6
- package/dist/{sessions-_J4_CA-P.js → sessions-D1iVO-At.js} +15 -15
- package/dist/{sessions-ColhCohs.js → sessions-eRTHXGkn.js} +4 -4
- package/dist/{shared-hHKmh3AF.js → shared-3WRMPSAF.js} +3 -3
- package/dist/{shared-ZPmPfnoa.js → shared-D0de8v-p.js} +1 -1
- package/dist/{skill-commands-H-0YJw4z.js → skill-commands-C6S5sumb.js} +5 -5
- package/dist/{skill-commands-BbrUWmMz.js → skill-commands-CIcvUo1A.js} +9 -9
- package/dist/{skill-scanner-C04nRvTZ.js → skill-scanner-CC_bdAdQ.js} +6 -6
- package/dist/{skills-zY2xHnd5.js → skills-DU6_fNPx.js} +22 -22
- package/dist/{skills-BJsPKAnb.js → skills-EgqBDxQ-.js} +3 -3
- package/dist/{skills-cli-Dlle8Jal.js → skills-cli-B62v0B8Y.js} +5 -5
- package/dist/{skills-install-Y62tfBpX.js → skills-install-DNWnoHCI.js} +6 -6
- package/dist/{skills-status-Ck_Xn7qD.js → skills-status-Bnyg73Jn.js} +1 -1
- package/dist/slash-commands.runtime-CXJJf0jq.js +17 -0
- package/dist/{slash-commands.runtime-Chf-kE5X.js → slash-commands.runtime-DZBOZGXG.js} +11 -11
- package/dist/slash-dispatch.runtime-CnDWfnhw.js +57 -0
- package/dist/slash-dispatch.runtime-DwWpNqdA.js +115 -0
- package/dist/{slash-skill-commands.runtime-BJJnGhEx.js → slash-skill-commands.runtime-B4sqth9E.js} +15 -15
- package/dist/slash-skill-commands.runtime-NPMuDGFx.js +21 -0
- package/dist/{status-DX3J1HLf.js → status-CKWYXIIT.js} +27 -27
- package/dist/{status.update-Bt1iuijX.js → status.update-CO_hSO5b.js} +2 -2
- package/dist/{store-C5Xnn6ks.js → store-DcxsUE2f.js} +2 -2
- package/dist/{store-DFGXphHz.js → store-ihYI8Jc3.js} +5 -5
- package/dist/{subagent-registry-D15JW57h.js → subagent-registry-0UHaPcka.js} +149 -149
- package/dist/subagent-registry-runtime-CeHVZoXv.js +115 -0
- package/dist/subagent-registry-runtime-R6EArAuY.js +57 -0
- package/dist/{subsystem-D7UWJNhH.js → subsystem-CEiApUN8.js} +14 -14
- package/dist/{system-cli-C-E7OxVj.js → system-cli-CAm_NHpc.js} +9 -9
- package/dist/{system-run-command-B4X3kEB0.js → system-run-command-Brwa-hul.js} +1 -1
- package/dist/{systemd-Z2v3LHpX.js → systemd-CULbJju8.js} +9 -9
- package/dist/{systemd-hints-DhbLId9K.js → systemd-hints-D9XaooZC.js} +6 -6
- package/dist/{systemd-linger-B6KsEYH6.js → systemd-linger-SLVqtYjz.js} +1 -1
- package/dist/{tables-BjzJIB8C.js → tables-DTb5mzup.js} +1 -1
- package/dist/{tables-3AsJttWw.js → tables-Devzuq-q.js} +1 -1
- package/dist/{tailnet-CrF4jOdB.js → tailnet-KUL9QhBk.js} +1 -1
- package/dist/{target-errors-DXOQGMiV.js → target-errors-D5MoCoCl.js} +4 -4
- package/dist/{target-errors-Bh5rgTYp.js → target-errors-jNfnUab4.js} +2 -2
- package/dist/{thinking-BEanj93W.js → thinking-BJkp7vCP.js} +6 -6
- package/dist/{tokens-D44Sg_H7.js → tokens-tz04P2cO.js} +1 -1
- package/dist/{tool-images-BOfCiGuh.js → tool-images-CEFl9wsx.js} +1 -1
- package/dist/{tool-images-hnyXsODy.js → tool-images-DRyUUf-X.js} +2 -2
- package/dist/{tui-CkQCGUpD.js → tui-CRYLJSVD.js} +6 -6
- package/dist/{tui-cli-BpyTGK67.js → tui-cli-DB82w6p8.js} +32 -32
- package/dist/{update-BB9JebC9.js → update-B1gR_Fep.js} +3 -3
- package/dist/{update-cli-DqrqytDz.js → update-cli-BDOF9xoT.js} +4 -4
- package/dist/{update-cli-JuUmzkri.js → update-cli-C1DALvzD.js} +104 -104
- package/dist/{update-runner-Dq6iBeiC.js → update-runner-Bw1MljLh.js} +16 -16
- package/dist/{utils-BYUbDw97.js → utils-BFS4zK3g.js} +7 -7
- package/dist/web-BVIL9iG1.js +119 -0
- package/dist/{web-C2ixiS4L.js → web-fbVaDaVW.js} +56 -56
- package/dist/{webhooks-cli-BY1niEMR.js → webhooks-cli-B3iWJR9P.js} +6 -6
- package/dist/{whatsapp-actions-BuO3DPPZ.js → whatsapp-actions-B53LlFl5.js} +17 -17
- package/dist/{whatsapp-actions-D9Mgw_FD.js → whatsapp-actions-CMHMrQzp.js} +22 -22
- package/dist/{with-timeout-a_kBhS5N.js → with-timeout-B5BHCMsa.js} +3 -3
- package/dist/{workspace-cnS4Cq6e.js → workspace-D6GL2anS.js} +21 -21
- package/dist/{workspace-CiGqHbhA.js → workspace-D8DzE384.js} +1 -1
- package/dist/{workspace-dirs-C9jwceid.js → workspace-dirs-_RQ0G-Vf.js} +1 -1
- package/dist/{wsl-DCEQRUtE.js → wsl-CzuO5aHB.js} +2 -2
- package/extensions/blockchain/package.json +1 -3
- package/package.json +1 -1
- package/dist/deliver-runtime-D0Xl5o_r.js +0 -37
- package/dist/deliver-runtime-FL5_bhMe.js +0 -62
- package/dist/deps-send-discord.runtime-DW7EsqB3.js +0 -27
- package/dist/deps-send-imessage.runtime-C9MPsbI1.js +0 -26
- package/dist/deps-send-imessage.runtime-Hx8SNVrk.js +0 -36
- package/dist/deps-send-signal.runtime-5-zcMae_.js +0 -35
- package/dist/deps-send-signal.runtime-Cx7m-MT1.js +0 -25
- package/dist/deps-send-slack.runtime-gSE6on2e.js +0 -23
- package/dist/deps-send-telegram.runtime-DWF59L9O.js +0 -28
- package/dist/deps-send-whatsapp.runtime-CtO9Pt8F.js +0 -120
- package/dist/deps-send-whatsapp.runtime-DQqdJ-WY.js +0 -61
- package/dist/image-runtime-BzWmZQi8.js +0 -30
- package/dist/image-runtime-Dny90w7z.js +0 -56
- package/dist/manager-runtime-BN3RhlSg.js +0 -19
- package/dist/pi-model-discovery-runtime-DsYnhIro.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-Qmy3w63D.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Db6_7ZAc.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-C_EYS_sH.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DK121Bh0.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-AaWSr7fe.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dylx-xTp.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-81uWD-yI.js +0 -57
- package/dist/plugin-sdk/image-runtime-BBiuMz7E.js +0 -25
- package/dist/plugin-sdk/manager-runtime-Ccj_7Z0c.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-jmgr21i6.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-_T4-3_NI.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DDvDCva6.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BoVuWmR3.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-eYhiYLqH.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-CyuOIQN-.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-BQN30Vt4.js +0 -52
- package/dist/plugin-sdk/web-ZPe2mrXE.js +0 -56
- package/dist/register.configure-BWs4EgtE.js +0 -166
- package/dist/runtime-whatsapp-login.runtime-DF2whIjt.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-9BSn7L2P.js +0 -23
- package/dist/slash-commands.runtime-CxlppU-H.js +0 -17
- package/dist/slash-dispatch.runtime-BaKhHnG2.js +0 -57
- package/dist/slash-dispatch.runtime-ByKS2u9M.js +0 -115
- package/dist/slash-skill-commands.runtime-CyXuXpqz.js +0 -21
- package/dist/subagent-registry-runtime-B12EGepi.js +0 -115
- package/dist/subagent-registry-runtime-BocGtsA4.js +0 -57
- package/dist/web-BA84rOuO.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-Dhb7Y6H5.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-CRf0l_Gq.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-CcI1kSyI.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-Bnyg73Jn.js";
|
|
14
|
+
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-D1iVO-At.js";
|
|
15
|
+
import { n as listChannelPlugins } from "./plugins-DPzGpZa7.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-0UHaPcka.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-d1gA727i.js";
|
|
19
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-B4T9jJmY.js";
|
|
20
|
+
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-CU3j5zQw.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-BvR_Auee.js";
|
|
22
|
+
import { a as resolveGatewayAuth } from "./auth-XpPQf9A8.js";
|
|
23
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-jMaAsRpr.js";
|
|
24
|
+
import { n as loadModelCatalog } from "./model-catalog-C2xpcL9w.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-DwQdI7Kl.js";
|
|
27
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-CzuO5aHB.js";
|
|
28
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-DBgIqxpx.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-BKJMqEje.js";
|
|
31
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-CJIx-nFA.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-e73oAXc5.js";
|
|
34
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DoeVkj6M.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-CULbJju8.js";
|
|
37
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CC8D6AOn.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-D9XaooZC.js";
|
|
39
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-B9N9Gclp.js";
|
|
40
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DCCTTM2p.js";
|
|
41
|
+
import { r as healthCommand } from "./health-DD6PJgN8.js";
|
|
42
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C08JRwwL.js";
|
|
43
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-Crd0PQwN.js";
|
|
44
|
+
import { t as runGatewayUpdate } from "./update-runner-Bw1MljLh.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-CN_hFkSO.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-SLVqtYjz.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-CCNHTpp9.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 fsPromises 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 fsPromises.mkdir(trashDir, { recursive: true });
|
|
608
608
|
} catch {}
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fsPromises.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 fsPromises.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([fsPromises.stat(schemaPath).catch(() => null), fsPromises.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 fsPromises.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 fsPromises.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-BQBZQyQq.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-Dhb7Y6H5.js";
|
|
3
|
+
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-0UHaPcka.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-CzuO5aHB.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-3WRMPSAF.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-B8r2bVLN.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 { Tt as parseLooseIpAddress, _t as isBlockedSpecialUseIpv6Address, bt as isLegacyIpv4Literal, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, vt as isCanonicalDottedDecimalIPv4, wt as parseCanonicalIpAddress, yt as isIpv4Address } from "./model-selection-
|
|
1
|
+
import { Tt as parseLooseIpAddress, _t as isBlockedSpecialUseIpv6Address, bt as isLegacyIpv4Literal, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, vt as isCanonicalDottedDecimalIPv4, wt as parseCanonicalIpAddress, yt as isIpv4Address } from "./model-selection-BiqOlgFe.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";
|
|
@@ -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-Dhb7Y6H5.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-0UHaPcka.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DKBWexTJ.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-CEFl9wsx.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 fsPromises 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 fsPromises.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import { cr as formatCliCommand } from "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
9
|
-
import "./legacy-names-
|
|
10
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
11
|
-
import "./path-alias-guards-
|
|
12
|
-
import "./redact-
|
|
13
|
-
import { r as formatErrorMessage } from "./errors-
|
|
14
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
15
|
-
import "./proxy-env-
|
|
1
|
+
import "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-CEiApUN8.js";
|
|
4
|
+
import "./utils-BFS4zK3g.js";
|
|
5
|
+
import "./workspace-D6GL2anS.js";
|
|
6
|
+
import "./logger-CV2IWsAW.js";
|
|
7
|
+
import { cr as formatCliCommand } from "./model-selection-BiqOlgFe.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-TrN6kryB.js";
|
|
10
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CtEQV_6p.js";
|
|
11
|
+
import "./path-alias-guards-Gzq1eAOo.js";
|
|
12
|
+
import "./redact-C-aJRv5O.js";
|
|
13
|
+
import { r as formatErrorMessage } from "./errors-BwBpGOBV.js";
|
|
14
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-YxZ8RAEw.js";
|
|
15
|
+
import "./proxy-env-C05eD8Tt.js";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import crypto from "node:crypto";
|
|
@@ -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-Dhb7Y6H5.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-CRf0l_Gq.js";
|
|
9
9
|
import "./utils-BnC3HGtm.js";
|
|
10
|
-
import "./openclaw-root-
|
|
10
|
+
import "./openclaw-root-CcI1kSyI.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-B-2nrmVS.js";
|
|
19
|
+
import "./path-alias-guards-C74pGxcZ.js";
|
|
20
|
+
import "./net-B4T9jJmY.js";
|
|
21
|
+
import "./tailnet-KUL9QhBk.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-dfA2MJQH.js";
|
|
23
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-A42qSVaB.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-B5PDQs4d.js";
|
|
27
|
+
import "./proxy-env-CKsbj01c.js";
|
|
28
|
+
import "./ports-jMaAsRpr.js";
|
|
29
|
+
import { n as markPwAiLoaded } from "./whatsapp-actions-B53LlFl5.js";
|
|
30
30
|
import path from "node:path";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
|
-
import
|
|
32
|
+
import fsPromises 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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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-CRf0l_Gq.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-CcI1kSyI.js";
|
|
9
9
|
import "./logger-BX552_3d.js";
|
|
10
10
|
import "./exec-DQcHcbQy.js";
|
|
11
|
-
import "./path-alias-guards-
|
|
11
|
+
import "./path-alias-guards-C74pGxcZ.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-B5PDQs4d.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-CGww5_oH.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 fsPromises 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 fsPromises.mkdir(this.xdgConfigHome, { recursive: true });
|
|
297
|
+
await fsPromises.mkdir(this.xdgCacheHome, { recursive: true });
|
|
298
|
+
await fsPromises.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
299
|
+
if (this.sessionExporter) await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.lstat(targetModelsDir);
|
|
842
842
|
return;
|
|
843
843
|
} catch {}
|
|
844
844
|
try {
|
|
845
|
-
await
|
|
845
|
+
await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CEiApUN8.js";
|
|
4
4
|
import { C as parseAgentSessionKey } from "./session-key-DgdmD4k7.js";
|
|
5
|
-
import "./utils-
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./logger-
|
|
8
|
-
import "./path-alias-guards-
|
|
9
|
-
import "./redact-
|
|
10
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
5
|
+
import "./utils-BFS4zK3g.js";
|
|
6
|
+
import "./workspace-D6GL2anS.js";
|
|
7
|
+
import "./logger-CV2IWsAW.js";
|
|
8
|
+
import "./path-alias-guards-Gzq1eAOo.js";
|
|
9
|
+
import "./redact-C-aJRv5O.js";
|
|
10
|
+
import { c as writeFileWithinRoot } from "./fs-safe-YxZ8RAEw.js";
|
|
11
11
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-CjNYeBcQ.js";
|
|
12
|
-
import "./paths-
|
|
13
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
12
|
+
import "./paths-BWg7M5Yy.js";
|
|
13
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DkXzaUOH.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
@@ -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-Dhb7Y6H5.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-CnULpcUz.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 fsPromises 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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.stat(absPath);
|
|
288
|
+
const lines = (await fsPromises.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,11 +1,11 @@
|
|
|
1
|
-
import { t as runTasksWithConcurrency } from "./run-with-concurrency-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { t as redactSensitiveText } from "./redact-
|
|
4
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { t as runTasksWithConcurrency } from "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-CEiApUN8.js";
|
|
3
|
+
import { t as redactSensitiveText } from "./redact-C-aJRv5O.js";
|
|
4
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BWg7M5Yy.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs$1 from "node:fs";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/memory/fs-utils.ts
|
|
@@ -31,7 +31,7 @@ async function statRegularFile(absPath) {
|
|
|
31
31
|
//#region src/memory/internal.ts
|
|
32
32
|
function ensureDir(dir) {
|
|
33
33
|
try {
|
|
34
|
-
|
|
34
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
35
35
|
} catch {}
|
|
36
36
|
return dir;
|
|
37
37
|
}
|