@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
package/dist/{audio-transcription-runner-DU6wV8vt.js → audio-transcription-runner-CgLX4N3r.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
-
import { _ as runExec } from "./workspace-
|
|
4
|
-
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, j as requireApiKey, ot as isInboundPathAllowed, rr as resolveOpenClawAgentDir, st as mergeInboundPathRoots } from "./model-selection-
|
|
5
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
6
|
-
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-
|
|
7
|
-
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
1
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredOpenClawTmpDir } from "./subsystem-CEiApUN8.js";
|
|
3
|
+
import { _ as runExec } from "./workspace-D6GL2anS.js";
|
|
4
|
+
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, j as requireApiKey, ot as isInboundPathAllowed, rr as resolveOpenClawAgentDir, st as mergeInboundPathRoots } from "./model-selection-BiqOlgFe.js";
|
|
5
|
+
import { _ as normalizeChatType } from "./plugins-Burzc1_i.js";
|
|
6
|
+
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-gm8VfGiD.js";
|
|
7
|
+
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-B2LPzwKF.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DozurFmr.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CSrVj6X7.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-XtFb6zM7.js";
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CUJC6xSi.js";
|
|
12
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-C_2Ejh5T.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
@@ -22,7 +22,7 @@ import crypto from "node:crypto";
|
|
|
22
22
|
const log = createSubsystemLogger("model-catalog");
|
|
23
23
|
let modelCatalogPromise = null;
|
|
24
24
|
let hasLoggedModelCatalogError = false;
|
|
25
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
25
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-FwBV8Q5J.js").then((n) => n.r);
|
|
26
26
|
let importPiSdk = defaultImportPiSdk;
|
|
27
27
|
const CODEX_PROVIDER = "openai-codex";
|
|
28
28
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
package/dist/{audio-transcription-runner-D1MyUZ7c.js → audio-transcription-runner-DKJsRpdc.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, k as resolvePreferredOpenClawTmpDir } from "./globals-d3aR1MYC.js";
|
|
2
|
-
import { $ as mergeInboundPathRoots, Q as isInboundPathAllowed, Sr as normalizeProviderId, Vr as normalizeGoogleModelId, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, mi as resolveApiKeyForProvider, pi as requireApiKey } from "./auth-profiles-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
2
|
+
import { $ as mergeInboundPathRoots, Q as isInboundPathAllowed, Sr as normalizeProviderId, Vr as normalizeGoogleModelId, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, et as resolveIMessageAttachmentRoots, mi as resolveApiKeyForProvider, pi as requireApiKey } from "./auth-profiles-Dhb7Y6H5.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-CRf0l_Gq.js";
|
|
4
4
|
import { n as runExec } from "./exec-DQcHcbQy.js";
|
|
5
|
-
import { j as normalizeChatType } from "./plugins-
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
5
|
+
import { j as normalizeChatType } from "./plugins-DPzGpZa7.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CX39q-u7.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-By-4EgM8.js";
|
|
8
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
8
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-C2xpcL9w.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-CZCJhSwX.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-CGz7ZD6t.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
13
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B5ANJDou.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-Cb-G2N6H.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-C20s2VP6.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-D-ure8qR.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
@@ -18,7 +18,7 @@ import os from "node:os";
|
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
|
-
import
|
|
21
|
+
import fsPromises from "node:fs/promises";
|
|
22
22
|
|
|
23
23
|
//#region src/media-understanding/attachments.normalize.ts
|
|
24
24
|
function normalizeAttachmentPath(raw) {
|
|
@@ -426,7 +426,7 @@ var MediaAttachmentCache = class {
|
|
|
426
426
|
const size = await this.ensureLocalStat(entry);
|
|
427
427
|
if (entry.resolvedPath) {
|
|
428
428
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
429
|
-
const buffer = await
|
|
429
|
+
const buffer = await fsPromises.readFile(entry.resolvedPath);
|
|
430
430
|
entry.buffer = buffer;
|
|
431
431
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
432
432
|
buffer,
|
|
@@ -496,10 +496,10 @@ var MediaAttachmentCache = class {
|
|
|
496
496
|
prefix: "openclaw-media",
|
|
497
497
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
498
498
|
});
|
|
499
|
-
await
|
|
499
|
+
await fsPromises.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
503
503
|
};
|
|
504
504
|
return {
|
|
505
505
|
path: tmpPath,
|
|
@@ -546,12 +546,12 @@ var MediaAttachmentCache = class {
|
|
|
546
546
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
547
547
|
try {
|
|
548
548
|
const currentPath = entry.resolvedPath;
|
|
549
|
-
const stat = await
|
|
549
|
+
const stat = await fsPromises.stat(currentPath);
|
|
550
550
|
if (!stat.isFile()) {
|
|
551
551
|
entry.resolvedPath = void 0;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
const canonicalPath = await
|
|
554
|
+
const canonicalPath = await fsPromises.realpath(currentPath).catch(() => currentPath);
|
|
555
555
|
if (!isInboundPathAllowed({
|
|
556
556
|
filePath: canonicalPath,
|
|
557
557
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -573,7 +573,7 @@ var MediaAttachmentCache = class {
|
|
|
573
573
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
574
574
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
575
575
|
if (root.includes("*")) return root;
|
|
576
|
-
return await
|
|
576
|
+
return await fsPromises.realpath(root).catch(() => root);
|
|
577
577
|
}))))();
|
|
578
578
|
return await this.canonicalLocalPathRoots;
|
|
579
579
|
}
|
|
@@ -646,7 +646,7 @@ const MIN_AUDIO_FILE_BYTES = 1024;
|
|
|
646
646
|
async function fileExists(filePath) {
|
|
647
647
|
if (!filePath) return false;
|
|
648
648
|
try {
|
|
649
|
-
await
|
|
649
|
+
await fsPromises.stat(filePath);
|
|
650
650
|
return true;
|
|
651
651
|
} catch {
|
|
652
652
|
return false;
|
|
@@ -1237,7 +1237,7 @@ async function resolveCliOutput(params) {
|
|
|
1237
1237
|
const commandId = commandBase(params.command);
|
|
1238
1238
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1239
1239
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1240
|
-
const content = await
|
|
1240
|
+
const content = await fsPromises.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fsPromises.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fsPromises.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fsPromises.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fsPromises.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fsPromises.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BMo6kTge.js";
|
|
2
|
-
import { A as formatPermissionRemediation, M as safeStat, Qt as normalizeTrustedSafeBinDirs, R as createConfigIO, Rn as INCLUDE_KEY, dt as isDangerousNetworkMode, ft as normalizeNetworkMode, j as inspectPathPermissions, k as formatPermissionDetail, zn as MAX_INCLUDE_DEPTH } from "./auth-profiles-
|
|
2
|
+
import { A as formatPermissionRemediation, M as safeStat, Qt as normalizeTrustedSafeBinDirs, R as createConfigIO, Rn as INCLUDE_KEY, dt as isDangerousNetworkMode, ft as normalizeNetworkMode, j as inspectPathPermissions, k as formatPermissionDetail, zn as MAX_INCLUDE_DEPTH } from "./auth-profiles-Dhb7Y6H5.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
4
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId } from "./agent-scope-CRf0l_Gq.js";
|
|
5
5
|
import { c as normalizeAgentId } from "./session-key-CC77ya0a.js";
|
|
6
6
|
import { A as hasConfiguredSecretInput } from "./registry-CwKS6RIg.js";
|
|
7
7
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-DV-6rguu.js";
|
|
8
|
-
import { d as normalizePluginsConfig } from "./manifest-registry-
|
|
9
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
10
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
8
|
+
import { d as normalizePluginsConfig } from "./manifest-registry-B-2nrmVS.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-DhwktiRh.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-EgqBDxQ-.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DOGMhglv.js";
|
|
12
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
13
|
-
import { t as GatewayClient } from "./client-
|
|
14
|
-
import { l as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
12
|
+
import { n as listChannelPlugins } from "./plugins-DPzGpZa7.js";
|
|
13
|
+
import { t as GatewayClient } from "./client-BEF5fXj0.js";
|
|
14
|
+
import { l as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-d1gA727i.js";
|
|
15
15
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-CZ0gzXYo.js";
|
|
16
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
17
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
18
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-
|
|
16
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-BvR_Auee.js";
|
|
17
|
+
import { a as resolveGatewayAuth } from "./auth-XpPQf9A8.js";
|
|
18
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-jBMc5KL9.js";
|
|
19
19
|
import { r as formatErrorMessage } from "./errors-By-4EgM8.js";
|
|
20
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
21
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
22
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
23
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
24
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
20
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-DH8C1i7S.js";
|
|
21
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-NJXpIW-o.js";
|
|
22
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-Cw7fg9R2.js";
|
|
23
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-_RQ0G-Vf.js";
|
|
24
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-DwQdI7Kl.js";
|
|
25
25
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-B5o24WD5.js";
|
|
26
26
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-DsjUgnGw.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-COzG2ZeR.js";
|
|
28
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
29
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
28
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CC_bdAdQ.js";
|
|
29
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-CEkzpJ-E.js";
|
|
30
30
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-DiZDtmlZ.js";
|
|
31
31
|
import { t as inferParamBFromIdOrName } from "./model-param-b-NJsgH2EF.js";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import JSON5 from "json5";
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
|
-
import * as fs
|
|
36
|
-
import
|
|
35
|
+
import * as fs from "node:fs/promises";
|
|
36
|
+
import fsPromises from "node:fs/promises";
|
|
37
37
|
import { isIP } from "node:net";
|
|
38
38
|
|
|
39
39
|
//#region src/gateway/probe.ts
|
|
@@ -1342,7 +1342,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1342
1342
|
if (visited.has(resolved)) continue;
|
|
1343
1343
|
visited.add(resolved);
|
|
1344
1344
|
result.push(resolved);
|
|
1345
|
-
const rawText = await fs
|
|
1345
|
+
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1346
1346
|
if (!rawText) continue;
|
|
1347
1347
|
const nestedParsed = (() => {
|
|
1348
1348
|
try {
|
|
@@ -1377,7 +1377,7 @@ function expandTilde(p, env) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1379
1379
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1380
|
-
const raw = await
|
|
1380
|
+
const raw = await fsPromises.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1381
1381
|
if (!raw.trim()) return [];
|
|
1382
1382
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1383
1383
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1399,7 +1399,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1399
1399
|
};
|
|
1400
1400
|
return {
|
|
1401
1401
|
extensionsDir,
|
|
1402
|
-
pluginDirs: (await
|
|
1402
|
+
pluginDirs: (await fsPromises.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1403
1403
|
params.onReadError?.(err);
|
|
1404
1404
|
return [];
|
|
1405
1405
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1462,7 +1462,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
async function readInstalledPackageVersion(dir) {
|
|
1464
1464
|
try {
|
|
1465
|
-
const raw = await
|
|
1465
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1466
1466
|
const parsed = JSON.parse(raw);
|
|
1467
1467
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1468
1468
|
} catch {
|
|
@@ -1498,10 +1498,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1498
1498
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1499
1499
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1500
1500
|
const dir = queue.shift();
|
|
1501
|
-
const dirRealPath = await
|
|
1501
|
+
const dirRealPath = await fsPromises.realpath(dir).catch(() => path.resolve(dir));
|
|
1502
1502
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1503
1503
|
visitedDirs.add(dirRealPath);
|
|
1504
|
-
const entries = await
|
|
1504
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1505
1505
|
for (const entry of entries) {
|
|
1506
1506
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1507
1507
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1510,7 +1510,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1510
1510
|
continue;
|
|
1511
1511
|
}
|
|
1512
1512
|
if (entry.isSymbolicLink()) {
|
|
1513
|
-
const stat = await
|
|
1513
|
+
const stat = await fsPromises.stat(fullPath).catch(() => null);
|
|
1514
1514
|
if (!stat) continue;
|
|
1515
1515
|
if (stat.isDirectory()) {
|
|
1516
1516
|
queue.push(fullPath);
|
|
@@ -1800,13 +1800,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1800
1800
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1801
1801
|
for (const workspaceDir of workspaceDirs) {
|
|
1802
1802
|
const workspacePath = path.resolve(workspaceDir);
|
|
1803
|
-
const workspaceRealPath = await
|
|
1803
|
+
const workspaceRealPath = await fsPromises.realpath(workspacePath).catch(() => workspacePath);
|
|
1804
1804
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1805
1805
|
for (const skillFilePath of skillFilePaths) {
|
|
1806
1806
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1807
1807
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1808
1808
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1809
|
-
const skillRealPath = await
|
|
1809
|
+
const skillRealPath = await fsPromises.realpath(canonicalSkillPath).catch(() => null);
|
|
1810
1810
|
if (!skillRealPath) continue;
|
|
1811
1811
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1812
1812
|
escapedSkillFiles.push({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import { c as isRecord } from "./utils-
|
|
4
|
-
import "./logger-
|
|
1
|
+
import "./paths-Cvc9EM8Y.js";
|
|
2
|
+
import "./subsystem-CEiApUN8.js";
|
|
3
|
+
import { c as isRecord } from "./utils-BFS4zK3g.js";
|
|
4
|
+
import "./logger-CV2IWsAW.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-CSrVj6X7.js";
|
|
6
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
6
|
+
import { t as makeProxyFetch } from "./proxy-fetch-C_2Ejh5T.js";
|
|
7
7
|
import "./proxy-BMKyKeTK.js";
|
|
8
8
|
|
|
9
9
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as safeEqualSecret } from "./secret-equal-DRMKpDYs.js";
|
|
2
|
-
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-
|
|
2
|
+
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-B4T9jJmY.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-CZ0gzXYo.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-DEC99Hks.js";
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Di as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Dr as resolveDefaultModelForAgent, Ei as isHuggingfacePolicyLocked, Jn as listProfilesForProvider, Ni as KILOCODE_DEFAULT_MODEL_REF, Ti as discoverHuggingfaceModels, Zn as upsertAuthProfile, _ as parseOAuthCallbackInput, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, g as generateChutesPkce, gi as resolveEnvApiKey, h as exchangeChutesCodeForTokens, m as CHUTES_AUTHORIZE_ENDPOINT, ni as SYNTHETIC_DEFAULT_MODEL_REF, qr as VENICE_DEFAULT_MODEL_REF, r as resolveAuthProfileOrder, sr as resolveOpenClawAgentDir } from "./auth-profiles-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { r as isLoopbackHost } from "./net-
|
|
5
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
6
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
7
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
8
|
-
import { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-
|
|
9
|
-
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-
|
|
10
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
11
|
-
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
12
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
2
|
+
import { Di as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Dr as resolveDefaultModelForAgent, Ei as isHuggingfacePolicyLocked, Jn as listProfilesForProvider, Ni as KILOCODE_DEFAULT_MODEL_REF, Ti as discoverHuggingfaceModels, Zn as upsertAuthProfile, _ as parseOAuthCallbackInput, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, g as generateChutesPkce, gi as resolveEnvApiKey, h as exchangeChutesCodeForTokens, m as CHUTES_AUTHORIZE_ENDPOINT, ni as SYNTHETIC_DEFAULT_MODEL_REF, qr as VENICE_DEFAULT_MODEL_REF, r as resolveAuthProfileOrder, sr as resolveOpenClawAgentDir } from "./auth-profiles-Dhb7Y6H5.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CRf0l_Gq.js";
|
|
4
|
+
import { r as isLoopbackHost } from "./net-B4T9jJmY.js";
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-C2xpcL9w.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-DBgIqxpx.js";
|
|
7
|
+
import { t as enablePluginInConfig } from "./enable-DTsxqYdj.js";
|
|
8
|
+
import { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-lwbv0OFA.js";
|
|
9
|
+
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-B8r2bVLN.js";
|
|
10
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DlZjYqHx.js";
|
|
11
|
+
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-hj3S7o-G.js";
|
|
12
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-B_jBkcxo.js";
|
|
13
13
|
import { r as runOpenAIOAuthTlsPreflight, t as formatOpenAIOAuthTlsPreflightFix } from "./oauth-tls-preflight-gumxl5c_.js";
|
|
14
14
|
import { randomBytes } from "node:crypto";
|
|
15
15
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -3,10 +3,10 @@ import "./paths-BMo6kTge.js";
|
|
|
3
3
|
import "./ansi-D8xB67JW.js";
|
|
4
4
|
import "./subsystem-sfEQP4fF.js";
|
|
5
5
|
import "./boolean-ydSOedIP.js";
|
|
6
|
-
import { Ai as normalizeOptionalSecretInput, Sr as normalizeProviderId, Zn as upsertAuthProfile, ct as resolveDefaultSecretProviderAlias, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gi as resolveEnvApiKey, ji as normalizeSecretInput, pt as parseDurationMs, r as resolveAuthProfileOrder } from "./auth-profiles-
|
|
7
|
-
import "./agent-scope-
|
|
6
|
+
import { Ai as normalizeOptionalSecretInput, Sr as normalizeProviderId, Zn as upsertAuthProfile, ct as resolveDefaultSecretProviderAlias, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gi as resolveEnvApiKey, ji as normalizeSecretInput, pt as parseDurationMs, r as resolveAuthProfileOrder } from "./auth-profiles-Dhb7Y6H5.js";
|
|
7
|
+
import "./agent-scope-CRf0l_Gq.js";
|
|
8
8
|
import "./utils-BnC3HGtm.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-CcI1kSyI.js";
|
|
10
10
|
import "./logger-BX552_3d.js";
|
|
11
11
|
import "./exec-DQcHcbQy.js";
|
|
12
12
|
import "./registry-CwKS6RIg.js";
|
|
@@ -14,16 +14,16 @@ import "./github-copilot-token-DS1iTsaA.js";
|
|
|
14
14
|
import "./host-env-security-DkAVVuaw.js";
|
|
15
15
|
import "./version-5hWIVAVM.js";
|
|
16
16
|
import "./env-vars-QSsEkFDU.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./models-config-
|
|
19
|
-
import "./model-catalog-
|
|
20
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
21
|
-
import "./issue-format-
|
|
22
|
-
import "./shared-
|
|
23
|
-
import { A as applyTogetherConfig, B as applyLitellmConfig, E as applyQianfanConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, M as applyVeniceConfig, O as applySyntheticConfig, P as applyXaiConfig, R as applyZaiConfig, St as setZaiApiKey, W as applyVercelAiGatewayConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, f as applyHuggingfaceConfig, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, ht as setSyntheticApiKey, it as setHuggingfaceApiKey, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, pt as setOpenrouterApiKey, r as applyOpencodeZenConfig, rt as setGeminiApiKey, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, yt as setVolcengineApiKey } from "./auth-token-
|
|
24
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
25
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
26
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
17
|
+
import "./manifest-registry-B-2nrmVS.js";
|
|
18
|
+
import "./models-config-Bzcv6yHw.js";
|
|
19
|
+
import "./model-catalog-C2xpcL9w.js";
|
|
20
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-lwbv0OFA.js";
|
|
21
|
+
import "./issue-format-D_dmhPpa.js";
|
|
22
|
+
import "./shared-3WRMPSAF.js";
|
|
23
|
+
import { A as applyTogetherConfig, B as applyLitellmConfig, E as applyQianfanConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, M as applyVeniceConfig, O as applySyntheticConfig, P as applyXaiConfig, R as applyZaiConfig, St as setZaiApiKey, W as applyVercelAiGatewayConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, f as applyHuggingfaceConfig, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, ht as setSyntheticApiKey, it as setHuggingfaceApiKey, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, pt as setOpenrouterApiKey, r as applyOpencodeZenConfig, rt as setGeminiApiKey, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, yt as setVolcengineApiKey } from "./auth-token-B8r2bVLN.js";
|
|
24
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-hj3S7o-G.js";
|
|
25
|
+
import { r as applyPrimaryModel } from "./model-picker-B_jBkcxo.js";
|
|
26
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-DygXBNvm.js";
|
|
27
27
|
|
|
28
28
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
29
29
|
function parseEnvVarNameFromSourceLabel(source) {
|
package/dist/{auth-choice.apply-helpers-DXntDnow.js → auth-choice.apply-helpers-lwbv0OFA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Li as DEFAULT_PROVIDER, O as encodeJsonPointerToken, Tr as resolveAllowlistModelKey, ct as resolveDefaultSecretProviderAlias, gi as resolveEnvApiKey, ot as isValidFileSecretRefId, y as resolveSecretRefString } from "./auth-profiles-
|
|
1
|
+
import { Li as DEFAULT_PROVIDER, O as encodeJsonPointerToken, Tr as resolveAllowlistModelKey, ct as resolveDefaultSecretProviderAlias, gi as resolveEnvApiKey, ot as isValidFileSecretRefId, y as resolveSecretRefString } from "./auth-profiles-Dhb7Y6H5.js";
|
|
2
2
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-juje-J6N.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/auth-choice.api-key.ts
|
|
@@ -4,10 +4,10 @@ import { t as stripAnsi } from "./ansi-D8xB67JW.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
5
5
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
7
|
-
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-CRf0l_Gq.js";
|
|
8
8
|
import { c as normalizeAgentId, t as DEFAULT_AGENT_ID, y as isBlockedObjectKey } from "./session-key-CC77ya0a.js";
|
|
9
9
|
import { E as isPlainObject$2, S as sleep, h as resolveConfigDir, u as isRecord$2, v as resolveUserPath } from "./utils-BnC3HGtm.js";
|
|
10
|
-
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./openclaw-root-
|
|
10
|
+
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./openclaw-root-CcI1kSyI.js";
|
|
11
11
|
import { n as runExec } from "./exec-DQcHcbQy.js";
|
|
12
12
|
import { A as hasConfiguredSecretInput, D as DEFAULT_SECRET_PROVIDER_ALIAS, F as resolveSecretInputRef, M as normalizeResolvedSecretInputString, N as normalizeSecretInputString, O as assertSecretInputResolved, P as parseEnvTemplateSecretRef, j as isSecretRef, k as coerceSecretRef, l as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CwKS6RIg.js";
|
|
13
13
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DS1iTsaA.js";
|
|
@@ -15,8 +15,8 @@ import { i as sanitizeHostExecEnv } from "./host-env-security-DkAVVuaw.js";
|
|
|
15
15
|
import { t as VERSION } from "./version-5hWIVAVM.js";
|
|
16
16
|
import { t as applyConfigEnvVars } from "./env-vars-QSsEkFDU.js";
|
|
17
17
|
import { i as isPathInside } from "./legacy-names-DV-6rguu.js";
|
|
18
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
19
|
-
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-
|
|
18
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-B-2nrmVS.js";
|
|
19
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-DhwktiRh.js";
|
|
20
20
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-BsDJWzgM.js";
|
|
21
21
|
import { createRequire } from "node:module";
|
|
22
22
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -26,7 +26,7 @@ import fs from "node:fs";
|
|
|
26
26
|
import JSON5 from "json5";
|
|
27
27
|
import { isDeepStrictEqual } from "node:util";
|
|
28
28
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
29
|
-
import
|
|
29
|
+
import fsPromises from "node:fs/promises";
|
|
30
30
|
import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock";
|
|
31
31
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
32
32
|
import dotenv from "dotenv";
|
|
@@ -3560,7 +3560,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
3560
3560
|
}
|
|
3561
3561
|
async function readLockPayload(lockPath) {
|
|
3562
3562
|
try {
|
|
3563
|
-
const raw = await
|
|
3563
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
3564
3564
|
const parsed = JSON.parse(raw);
|
|
3565
3565
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
3566
3566
|
return {
|
|
@@ -3574,9 +3574,9 @@ async function readLockPayload(lockPath) {
|
|
|
3574
3574
|
async function resolveNormalizedFilePath(filePath) {
|
|
3575
3575
|
const resolved = path.resolve(filePath);
|
|
3576
3576
|
const dir = path.dirname(resolved);
|
|
3577
|
-
await
|
|
3577
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
3578
3578
|
try {
|
|
3579
|
-
const realDir = await
|
|
3579
|
+
const realDir = await fsPromises.realpath(dir);
|
|
3580
3580
|
return path.join(realDir, path.basename(resolved));
|
|
3581
3581
|
} catch {
|
|
3582
3582
|
return resolved;
|
|
@@ -3590,7 +3590,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
3590
3590
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
3591
3591
|
}
|
|
3592
3592
|
try {
|
|
3593
|
-
const stat = await
|
|
3593
|
+
const stat = await fsPromises.stat(lockPath);
|
|
3594
3594
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
3595
3595
|
} catch {
|
|
3596
3596
|
return true;
|
|
@@ -3603,7 +3603,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
3603
3603
|
if (current.count > 0) return;
|
|
3604
3604
|
HELD_LOCKS.delete(normalizedFile);
|
|
3605
3605
|
await current.handle.close().catch(() => void 0);
|
|
3606
|
-
await
|
|
3606
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
3607
3607
|
}
|
|
3608
3608
|
async function acquireFileLock(filePath, options) {
|
|
3609
3609
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -3618,7 +3618,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3618
3618
|
}
|
|
3619
3619
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
3620
3620
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
3621
|
-
const handle = await
|
|
3621
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
3622
3622
|
await handle.writeFile(JSON.stringify({
|
|
3623
3623
|
pid: process.pid,
|
|
3624
3624
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -3635,7 +3635,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3635
3635
|
} catch (err) {
|
|
3636
3636
|
if (err.code !== "EEXIST") throw err;
|
|
3637
3637
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
3638
|
-
await
|
|
3638
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
3639
3639
|
continue;
|
|
3640
3640
|
}
|
|
3641
3641
|
if (attempt >= attempts - 1) break;
|
|
@@ -14787,7 +14787,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
14787
14787
|
//#region src/security/audit-fs.ts
|
|
14788
14788
|
async function safeStat(targetPath) {
|
|
14789
14789
|
try {
|
|
14790
|
-
const lst = await
|
|
14790
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
14791
14791
|
return {
|
|
14792
14792
|
ok: true,
|
|
14793
14793
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -14826,7 +14826,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
14826
14826
|
let effectiveMode = st.mode;
|
|
14827
14827
|
let effectiveIsDir = st.isDir;
|
|
14828
14828
|
if (st.isSymlink) try {
|
|
14829
|
-
const target = await
|
|
14829
|
+
const target = await fsPromises.stat(targetPath);
|
|
14830
14830
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
14831
14831
|
effectiveIsDir = target.isDirectory();
|
|
14832
14832
|
} catch {}
|
|
@@ -15080,7 +15080,7 @@ async function assertSecurePath(params) {
|
|
|
15080
15080
|
if (stat.isSymlink) {
|
|
15081
15081
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
15082
15082
|
try {
|
|
15083
|
-
effectivePath = await
|
|
15083
|
+
effectivePath = await fsPromises.realpath(effectivePath);
|
|
15084
15084
|
} catch {
|
|
15085
15085
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
15086
15086
|
}
|
|
@@ -15128,7 +15128,7 @@ async function readFileProviderPayload(params) {
|
|
|
15128
15128
|
}, timeoutMs);
|
|
15129
15129
|
});
|
|
15130
15130
|
try {
|
|
15131
|
-
const payload = await Promise.race([
|
|
15131
|
+
const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
15132
15132
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
15133
15133
|
const text = payload.toString("utf8");
|
|
15134
15134
|
if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
3
|
-
import { $r as TOGETHER_MODEL_CATALOG, Br as buildXiaomiProvider, Ci as HUGGINGFACE_MODEL_CATALOG, Di as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Fr as QIANFAN_DEFAULT_MODEL_ID, Ir as XIAOMI_DEFAULT_MODEL_ID, Jr as VENICE_MODEL_CATALOG, Kr as VENICE_BASE_URL, Lr as buildKilocodeProvider, Mi as KILOCODE_BASE_URL, Ni as KILOCODE_DEFAULT_MODEL_REF, Oi as buildCloudflareAiGatewayModelDefinition, Pr as QIANFAN_BASE_URL, Qr as TOGETHER_BASE_URL, Rr as buildKimiCodingProvider, Si as HUGGINGFACE_BASE_URL, Sr as normalizeProviderId, Yr as buildVeniceModelDefinition, Zn as upsertAuthProfile, ei as buildTogetherModelDefinition, ii as buildSyntheticModelDefinition, ji as normalizeSecretInput, ki as resolveCloudflareAiGatewayBaseUrl, ni as SYNTHETIC_DEFAULT_MODEL_REF, qr as VENICE_DEFAULT_MODEL_REF, ri as SYNTHETIC_MODEL_CATALOG, sr as resolveOpenClawAgentDir, ti as SYNTHETIC_BASE_URL, wi as buildHuggingfaceModelDefinition, zr as buildQianfanProvider } from "./auth-profiles-
|
|
3
|
+
import { $r as TOGETHER_MODEL_CATALOG, Br as buildXiaomiProvider, Ci as HUGGINGFACE_MODEL_CATALOG, Di as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Fr as QIANFAN_DEFAULT_MODEL_ID, Ir as XIAOMI_DEFAULT_MODEL_ID, Jr as VENICE_MODEL_CATALOG, Kr as VENICE_BASE_URL, Lr as buildKilocodeProvider, Mi as KILOCODE_BASE_URL, Ni as KILOCODE_DEFAULT_MODEL_REF, Oi as buildCloudflareAiGatewayModelDefinition, Pr as QIANFAN_BASE_URL, Qr as TOGETHER_BASE_URL, Rr as buildKimiCodingProvider, Si as HUGGINGFACE_BASE_URL, Sr as normalizeProviderId, Yr as buildVeniceModelDefinition, Zn as upsertAuthProfile, ei as buildTogetherModelDefinition, ii as buildSyntheticModelDefinition, ji as normalizeSecretInput, ki as resolveCloudflareAiGatewayBaseUrl, ni as SYNTHETIC_DEFAULT_MODEL_REF, qr as VENICE_DEFAULT_MODEL_REF, ri as SYNTHETIC_MODEL_CATALOG, sr as resolveOpenClawAgentDir, ti as SYNTHETIC_BASE_URL, wi as buildHuggingfaceModelDefinition, zr as buildQianfanProvider } from "./auth-profiles-Dhb7Y6H5.js";
|
|
4
4
|
import { D as DEFAULT_SECRET_PROVIDER_ALIAS, k as coerceSecretRef } from "./registry-CwKS6RIg.js";
|
|
5
5
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-juje-J6N.js";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as isRich, p as theme, z as hasRootVersionAlias } from "./globals-d3aR1MYC.js";
|
|
2
2
|
import { n as visibleWidth } from "./ansi-D8xB67JW.js";
|
|
3
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { Hn as resolveCommitHash } from "./subagent-registry-
|
|
3
|
+
import { z as loadConfig } from "./auth-profiles-Dhb7Y6H5.js";
|
|
4
|
+
import { Hn as resolveCommitHash } from "./subagent-registry-0UHaPcka.js";
|
|
5
5
|
import chalk from "chalk";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/tagline.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as runCommandWithTimeout } from "./exec-DQcHcbQy.js";
|
|
2
|
-
import { t as isTailnetIPv4 } from "./tailnet-
|
|
2
|
+
import { t as isTailnetIPv4 } from "./tailnet-KUL9QhBk.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-c22X_Wwq.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/bonjour-discovery.ts
|