activeclaw 2026.4.5 → 2026.4.6
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/{acp-cli-DFNJuSr1.js → acp-cli-DAoO2PiM.js} +9 -9
- package/dist/{acp-cli-CYNmIkev.js → acp-cli-e3Nru-Yh.js} +5 -5
- package/dist/{agent-BLSLlPLk.js → agent-d5Dwm5Vr.js} +8 -8
- package/dist/{agent-CCHm3dnF.js → agent-o_NVopFC.js} +11 -11
- package/dist/{agent-scope-Dv5h0qQE.js → agent-scope-BrJT9Gf9.js} +17 -17
- package/dist/{agents-BxHLH0uE.js → agents-BSbsIbCx.js} +7 -7
- package/dist/{agents.config-CxFlr00u.js → agents.config-63M2f6aF.js} +2 -2
- package/dist/{agents.config-BF0K3aA6.js → agents.config-CLmETqUQ.js} +1 -1
- package/dist/{api-key-rotation-cqcPDbSb.js → api-key-rotation--yH6WXh1.js} +1 -1
- package/dist/{api-key-rotation-BbIb9aas.js → api-key-rotation-BHAUzS3H.js} +2 -2
- package/dist/{api-key-rotation-Cyf-Q4MB.js → api-key-rotation-DeP9Nazr.js} +2 -2
- package/dist/{api-key-rotation-CpK2-BOi.js → api-key-rotation-ysMjkqBD.js} +1 -1
- package/dist/{audio-preflight-L-LZWSbn.js → audio-preflight-Bc4dihum.js} +16 -16
- package/dist/{audio-preflight-DRfaJpBd.js → audio-preflight-DPH8sex1.js} +8 -8
- package/dist/{audio-preflight-ugqpHAQh.js → audio-preflight-Dd3C7mtQ.js} +14 -14
- package/dist/{audio-preflight-BWsuQsJe.js → audio-preflight-DqbhN1m7.js} +4 -4
- package/dist/{audio-transcription-runner-Uz2dTIDx.js → audio-transcription-runner-B02iDYTW.js} +23 -23
- package/dist/{audio-transcription-runner-CovQeJJ8.js → audio-transcription-runner-B8jxT-MB.js} +6 -6
- package/dist/{audio-transcription-runner-BjxrFZhs.js → audio-transcription-runner-DIwGKsNI.js} +4 -4
- package/dist/{audio-transcription-runner-Bt0PplM9.js → audio-transcription-runner-TUBV75w0.js} +11 -11
- package/dist/{audit-CmbdapG_.js → audit-Cg4EdF12.js} +21 -21
- package/dist/{audit-membership-runtime-D-ZeUv63.js → audit-membership-runtime-DK2vsxHN.js} +6 -6
- package/dist/{audit-Dk_eftLe.js → audit-u873Aqoz.js} +7 -7
- package/dist/{auth-CCGOm7j4.js → auth-B7N969mv.js} +1 -1
- package/dist/{auth-Cp-1JzUb.js → auth-Bu24hYWH.js} +1 -1
- package/dist/{auth-choice-DMcjsacO.js → auth-choice-DKqoMQkv.js} +14 -14
- package/dist/{auth-choice-tokGZmzT.js → auth-choice-DPZZulXs.js} +13 -13
- package/dist/{auth-choice-CzIHMC2n.js → auth-choice-DWfkvDEv.js} +18 -18
- package/dist/{auth-choice-BOV3mxdG.js → auth-choice-fWWNZ0CE.js} +12 -12
- package/dist/{auth-choice.apply-helpers-alZH2ST_.js → auth-choice.apply-helpers-CJra1kZX.js} +1 -1
- package/dist/{auth-choice.apply-helpers-C0zKQkgn.js → auth-choice.apply-helpers-D_qbnasd.js} +1 -1
- package/dist/{auth-profiles-B5hyImOM.js → auth-profiles-D9Wn945p.js} +12 -0
- package/dist/{auth-token-BHnzfcUl.js → auth-token-BE6nISKT.js} +1 -1
- package/dist/{auth-token-Bzfws-T-.js → auth-token-DeLPA2C5.js} +1 -1
- package/dist/{banner-MJMqAYlg.js → banner-Ctm-KPnO.js} +1 -1
- package/dist/{bonjour-discovery-B4Fsf8u3.js → bonjour-discovery-CHN01_kY.js} +1 -1
- package/dist/{bonjour-discovery-LLqnJbvr.js → bonjour-discovery-Cak-jClv.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +27 -27
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +26 -26
- package/dist/{call-CKFLqNkw.js → call-7be5mSn_.js} +9 -9
- package/dist/{call-5htJiVxi.js → call-Ce8vjHmH.js} +2 -2
- package/dist/{channel-account-context-BI023AHZ.js → channel-account-context-D9S5HJn4.js} +6 -6
- package/dist/{channel-account-context-CZgEeotA.js → channel-account-context-XxNxKPcm.js} +1 -1
- package/dist/{channel-options-DAKPziI3.js → channel-options-D3pcpSuK.js} +2 -2
- package/dist/{channel-options-DiGuGjgV.js → channel-options-mvX8L4o1.js} +2 -2
- package/dist/{channel-selection-CrnnQqyM.js → channel-selection-Cz7kZ_dd.js} +1 -1
- package/dist/{channel-selection-Dh-j4PE7.js → channel-selection-DMlnEgJc.js} +1 -1
- package/dist/channels/plugins/actions/telegram.js +12 -0
- package/dist/{channels-cli-Lcff68v5.js → channels-cli-CUZNu153.js} +55 -55
- package/dist/{channels-cli-DvKsiDcY.js → channels-cli-D8giagPE.js} +40 -40
- package/dist/{chunk-cNotV828.js → chunk-B0PHAL_m.js} +1 -1
- package/dist/{chunk-DB_LA-72.js → chunk-BSmRwqjw.js} +2 -2
- package/dist/{chunk-I6GfHIkA.js → chunk-D4AO1AEe.js} +1 -1
- package/dist/{cleanup-utils-6oONTdk-.js → cleanup-utils-DuGSE7QL.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Nb2Rv2SE.js → cli-6tWBn9Hf.js} +39 -39
- package/dist/{cli-CX0-e1Do.js → cli-BTBoxnnI.js} +31 -31
- package/dist/{command-registry-B1NKrz1S.js → command-registry-dPZvDdl5.js} +12 -12
- package/dist/{command-secret-targets-DXU9DFeM.js → command-secret-targets-BQ5lbER9.js} +3 -3
- package/dist/{command-secret-targets-CpKxsR1T.js → command-secret-targets-lNjgc0CR.js} +3 -3
- package/dist/{compact-qJ63Ml29.js → compact-DpN1Nt0S.js} +34 -34
- package/dist/{compact.runtime-Cl5rju7L.js → compact.runtime-BFTC4NQ_.js} +9 -9
- package/dist/compact.runtime-BPuV_fJX.js +66 -0
- package/dist/{compact.runtime-B7P5LnIa.js → compact.runtime-BZd2c9ir.js} +31 -31
- package/dist/compact.runtime-Cdc-_-I8.js +28 -0
- package/dist/{completion-cli-DQ5HyrvM.js → completion-cli-BBsE2_OZ.js} +12 -12
- package/dist/{completion-cli-BkGeOB0Y.js → completion-cli-BWNkPwVM.js} +2 -2
- package/dist/{config-cli-BKXR8uQg.js → config-cli-BgEWgmJQ.js} +8 -8
- package/dist/{config-cli-CiLzQLbQ.js → config-cli-tykH1hkE.js} +4 -4
- package/dist/{config-guard-DKS3Bjiu.js → config-guard-DpwVMnwc.js} +3 -3
- package/dist/{config-guard-C5v1W26E.js → config-guard-ahuxxM-z.js} +15 -15
- package/dist/{config-validation-DsiQ4Ig0.js → config-validation-C7b6auM4.js} +2 -2
- package/dist/{config-validation-BKR2V3xN.js → config-validation-CanHLJ8X.js} +2 -2
- package/dist/{configure-JCyEZ5Fd.js → configure-ODmru9jh.js} +17 -17
- package/dist/{configure-B7kIEfSP.js → configure-gLnacCZu.js} +12 -12
- package/dist/{connection-auth-DoyMyMj7.js → connection-auth-Uq6_taV8.js} +1 -1
- package/dist/{connection-auth-_DWNXAV0.js → connection-auth-tv7E7e3R.js} +1 -1
- package/dist/{cron-cli-_jyWnQpP.js → cron-cli-DeTrhoKQ.js} +4 -4
- package/dist/{cron-cli-BS6spxkO.js → cron-cli-gWy7x5uI.js} +8 -8
- package/dist/{daemon-cli-BtKr1oQT.js → daemon-cli-DhF5rs_a.js} +7 -7
- package/dist/{daemon-cli-Be1vZo5e.js → daemon-cli-qKu_98e8.js} +12 -12
- package/dist/daemon-cli.js +12 -0
- package/dist/{daemon-install-DL5tMI7L.js → daemon-install-C3mTkJtr.js} +13 -13
- package/dist/{daemon-install-CAzURxv-.js → daemon-install-DVTKAzGi.js} +6 -6
- package/dist/{deliver-kqa-lgew.js → deliver-BBYhSw-z.js} +4 -4
- package/dist/{deliver-DZveowc3.js → deliver-D2j_qrPV.js} +18 -18
- package/dist/{deliver-CODiAnbo.js → deliver-DIDeQhCe.js} +1 -1
- package/dist/{deliver-C1juSywI.js → deliver-DvOSE6dK.js} +3 -3
- package/dist/deliver-runtime-B_vg9NSW.js +14 -0
- package/dist/{deliver-runtime-C6qB5ZVb.js → deliver-runtime-C0Wbfid0.js} +4 -4
- package/dist/{deliver-runtime-BsHI7dwo.js → deliver-runtime-DT4PMHlo.js} +9 -9
- package/dist/{deliver-runtime-D7Dud7B5.js → deliver-runtime-JgwxHubA.js} +2 -2
- package/dist/{deps-CLLCZe9I.js → deps-Y7mMaM9D.js} +1 -1
- package/dist/{deps-send-telegram.runtime-JtJ6ati5.js → deps-send-telegram.runtime-BIAuW6ip.js} +6 -6
- package/dist/deps-send-telegram.runtime-BMbKZ8Sj.js +19 -0
- package/dist/{deps-send-telegram.runtime-oajdQ06q.js → deps-send-telegram.runtime-C3q7fofC.js} +13 -13
- package/dist/{diagnostic-BXoxaU4W.js → diagnostic-Bbd8nFqt.js} +1 -1
- package/dist/{diagnostic-Booor3n0.js → diagnostic-BgC5_P-R.js} +1 -1
- package/dist/{diagnostic-BpFQ24Me.js → diagnostic-DGCbVfrY.js} +1 -1
- package/dist/{diagnostic-xdfzrdaY.js → diagnostic-G-xDRRdG.js} +2 -2
- package/dist/{diagnostics-DU5X6chC.js → diagnostics-C-VDJRVJ.js} +5 -5
- package/dist/{directory-cli-BuAiyESe.js → directory-cli-C1uCNh_L.js} +2 -2
- package/dist/{directory-cli-CjmZMS9e.js → directory-cli-kNyyepbw.js} +6 -6
- package/dist/{dns-cli-VjcjpJaH.js → dns-cli-Bl34g-49.js} +6 -6
- package/dist/{dns-cli-C3NikSdN.js → dns-cli-C4NOhwp6.js} +2 -2
- package/dist/{docs-cli-Dnr7p-iL.js → docs-cli-Cg3LkXnq.js} +4 -4
- package/dist/{doctor-completion-Cd5Nl3yQ.js → doctor-completion-COnwyNVJ.js} +2 -2
- package/dist/{doctor-completion-Cr_mm4ZQ.js → doctor-completion-Dmg5bIZZ.js} +1 -1
- package/dist/{doctor-config-flow-CACQt_iy.js → doctor-config-flow-BaPH3aqI.js} +6 -6
- package/dist/{doctor-config-flow-Cte0zkRl.js → doctor-config-flow-BcXzOsQs.js} +13 -13
- package/dist/{enable-Cf9rGPag.js → enable-DevEDLTp.js} +1 -1
- package/dist/{enable-DW4lKjBU.js → enable-yZG-yiAJ.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-DGWeP3w5.js → env-Bhn5CLil.js} +1 -1
- package/dist/{errors-B27FlGCB.js → errors-Bqf8bSUd.js} +1 -1
- package/dist/{exec-approvals-allowlist-CWZm-Xjt.js → exec-approvals-allowlist-BSEL6MhC.js} +1 -1
- package/dist/{exec-approvals-allowlist-DnjttVeB.js → exec-approvals-allowlist-Be63T3oT.js} +1 -1
- package/dist/{exec-approvals-cli-BHD1xE9Q.js → exec-approvals-cli-BXOXf0aV.js} +5 -5
- package/dist/{exec-approvals-cli-BRCUDW6B.js → exec-approvals-cli-Ckca7X8L.js} +14 -14
- package/dist/{exec-safe-bin-runtime-policy-CObmLqq8.js → exec-safe-bin-runtime-policy-BnTNRx5O.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-CjDG3QJD.js → exec-safe-bin-runtime-policy-DbbnAmrV.js} +2 -2
- package/dist/extensionAPI.js +9 -9
- package/dist/{fetch-aXWb4Ao5.js → fetch-BWClp-zV.js} +3 -3
- package/dist/{fetch-C-yIjbz-.js → fetch-DAiV9-bR.js} +1 -1
- package/dist/{fetch-3V1gxxYH.js → fetch-LN1gb6p0.js} +1 -1
- package/dist/{fetch-guard-DDQrBzBv.js → fetch-guard-Bd5oI7xu.js} +3 -3
- package/dist/{fetch-guard-Dsd8UoGA.js → fetch-guard-DGuF8Mhb.js} +1 -1
- package/dist/{fetch-guard-DkMZHPzY.js → fetch-guard-dTCN4rW8.js} +1 -1
- package/dist/{fetch-BXs0KCX9.js → fetch-hiM4UODI.js} +1 -1
- package/dist/{frontmatter-_kVsuvOa.js → frontmatter-CC95HXlE.js} +3 -3
- package/dist/{fs-safe-BLWbfoa6.js → fs-safe-B_UpcQBp.js} +34 -34
- package/dist/{fs-safe-DqIZh4BQ.js → fs-safe-hxxMXweE.js} +4 -4
- package/dist/{gateway-cli-C88jp3Aw.js → gateway-cli-DYQv0bbi.js} +99 -99
- package/dist/{gateway-cli-BOZLG619.js → gateway-cli-bTP1IILL.js} +55 -55
- package/dist/{gateway-install-token-BnQ74gB8.js → gateway-install-token-B7z4nya5.js} +4 -4
- package/dist/{gateway-install-token-qIxBiiV_.js → gateway-install-token-CVO9K6d2.js} +15 -15
- package/dist/{gateway-rpc-D5FI-w_h.js → gateway-rpc-ACgYuynD.js} +2 -2
- package/dist/{gateway-rpc-DZUx1OqN.js → gateway-rpc-DX5S8s8b.js} +2 -2
- package/dist/{github-copilot-token-DJKrUYl0.js → github-copilot-token-CLlAnyEf.js} +7 -7
- package/dist/{health-DhuzyE57.js → health-BPWpRQaJ.js} +4 -4
- package/dist/{health-DKId61cm.js → health-TMNIIFvC.js} +10 -10
- package/dist/{history-cli-BcwU3MKy.js → history-cli-D-sy-eCF.js} +25 -25
- package/dist/{history-cli-DPC2tW70.js → history-cli-HSiD9qOC.js} +11 -11
- package/dist/{hooks-cli-K9Olbeoq.js → hooks-cli-BarLlSI-.js} +46 -46
- package/dist/{hooks-cli-D4EdsaZd.js → hooks-cli-DzToC2dS.js} +32 -32
- package/dist/{hooks-status-DFoUaWp1.js → hooks-status-0HInFKiT.js} +1 -1
- package/dist/{image-xmUgWF9P.js → image-B4HCDVUj.js} +3 -3
- package/dist/{image-DAEA1-oq.js → image-BUEhx-b4.js} +5 -5
- package/dist/{image-B-QmrXyQ.js → image-DHFliGoO.js} +4 -4
- package/dist/{image-Hryb3xjW.js → image-kqy5P4_2.js} +2 -2
- package/dist/{image-runtime-Bq4LW7no.js → image-runtime-8ygTiDaV.js} +3 -3
- package/dist/{image-runtime-EqNC780Y.js → image-runtime-BKnEMJR7.js} +7 -7
- package/dist/{image-runtime-CqQexlZf.js → image-runtime-BtQeLPdH.js} +2 -2
- package/dist/image-runtime-DYqTmna6.js +12 -0
- package/dist/index.js +47 -47
- package/dist/{inspect-3xM6J2Z_.js → inspect-0yj9c1e2.js} +9 -9
- package/dist/{inspect-5BGzxifc.js → inspect-CmvIDefh.js} +1 -1
- package/dist/{installs-Cg8kKBcv.js → installs-DPimnX51.js} +7 -7
- package/dist/{ipv4-DZ8ZOnQk.js → ipv4-DPsEPkzz.js} +1 -1
- package/dist/{ipv4-BllQnUqi.js → ipv4-DkllL_TQ.js} +1 -1
- package/dist/{issue-format-BnnZmmHz.js → issue-format-DbKknWy1.js} +1 -1
- package/dist/{issue-format-Dbw0ZKZU.js → issue-format-hszNX8Io.js} +1 -1
- package/dist/llm-slug-generator.js +26 -26
- package/dist/{local-roots-B0MExwb7.js → local-roots-BZvUgFKO.js} +1 -1
- package/dist/{local-roots-ysSrZ6CP.js → local-roots-CyRw91V8.js} +3 -3
- package/dist/{logger-3NSI7j4D.js → logger-BA9koAaC.js} +6 -6
- package/dist/{logging-CM1xI8yT.js → logging-4UnG2dJ0.js} +1 -1
- package/dist/{logging-B9OKCko2.js → logging-59CroxmQ.js} +2 -2
- package/dist/{logging-C7WfrX3j.js → logging-BHhuGbN8.js} +1 -1
- package/dist/{logs-cli-DogTg6BW.js → logs-cli-B3BYjCxR.js} +8 -8
- package/dist/{logs-cli-DEIVxAcb.js → logs-cli-CZ-nwWSh.js} +4 -4
- package/dist/{manager-CwuAu16U.js → manager-BLYILa5H.js} +14 -14
- package/dist/{manager-D4NBKxDJ.js → manager-BaDp-h4i.js} +23 -23
- package/dist/{manager-BTf5kl5K.js → manager-DF7UBoKp.js} +3 -3
- package/dist/{manager-CxuSPBL7.js → manager-DFiUW_Ha.js} +2 -2
- package/dist/{manager-runtime-BUGnXZoY.js → manager-runtime-BCkunkcv.js} +4 -4
- package/dist/{manager-runtime-DJeYdbHj.js → manager-runtime-CPUoaf4n.js} +3 -3
- package/dist/manager-runtime-DMIUcUdt.js +15 -0
- package/dist/{manager-runtime-CirDe6Yc.js → manager-runtime-DxOKojtv.js} +10 -10
- package/dist/{memory-qo2PyyGc.js → memory-adblmZ7U.js} +5 -5
- package/dist/{memory-cli-B3Wdf8cX.js → memory-cli-BLSGcKsi.js} +3 -3
- package/dist/{memory-cli-DhQM5b25.js → memory-cli-C5dGMHKl.js} +12 -12
- package/dist/{model-catalog-C6EpVMgn.js → model-catalog-BtBiWr2U.js} +3 -3
- package/dist/{model-catalog-C8EYz2dm.js → model-catalog-DlYPcFqP.js} +3 -3
- package/dist/{model-picker-C_xmxZQw.js → model-picker-BZvJOgpa.js} +4 -4
- package/dist/{model-picker-93hk8EPQ.js → model-picker-BdabNhjk.js} +3 -3
- package/dist/{model-selection-BrTh8v9L.js → model-selection-CvKAj7nY.js} +102 -90
- package/dist/{model-selection-CftqhKNS.js → model-selection-DU-DNNW7.js} +63 -51
- package/dist/{model-selection-CS_9NrTE.js → model-selection-PlvJPOJ9.js} +12 -0
- package/dist/{models-Bol0QzVD.js → models-B2oGZOi7.js} +12 -12
- package/dist/{models-cli-kMKsts8T.js → models-cli-BGxdkTHM.js} +38 -38
- package/dist/{models-cli-DrLVOzUK.js → models-cli-Dr7f4M9k.js} +50 -50
- package/dist/{models-config-B9HFg-NI.js → models-config-Cg9vUkxp.js} +1 -1
- package/dist/{models-config-yo6Auh6b.js → models-config-xqqHZFkg.js} +7 -7
- package/dist/{npm-pack-install-BNF-iM37.js → npm-pack-install-BlYIroXs.js} +54 -54
- package/dist/{npm-resolution-Dc-9fZOQ.js → npm-resolution-CPR5hN9l.js} +4 -4
- package/dist/{npm-resolution-BO6SGdLs.js → npm-resolution-rTNTkWiL.js} +2 -2
- package/dist/{ollama-setup-Bhphyk4x.js → ollama-setup-C0EKmICU.js} +2 -2
- package/dist/{ollama-setup-DrJZug5K.js → ollama-setup-bTrV2RqI.js} +2 -2
- package/dist/{onboard-DoZZHyp1.js → onboard-CD3xyxv4.js} +7 -7
- package/dist/{onboard-C88F-Y13.js → onboard-Clal53cK.js} +7 -7
- package/dist/{onboard-channels-CKg0sLah.js → onboard-channels-CIp5xU1C.js} +5 -5
- package/dist/{onboard-channels-D8cEPFj3.js → onboard-channels-DoXdjnDu.js} +9 -9
- package/dist/{onboard-custom-CaacLXtg.js → onboard-custom-C3vRGHsc.js} +4 -4
- package/dist/{onboard-custom-CIE9LcFk.js → onboard-custom-W8wE0yre.js} +4 -4
- package/dist/{onboard-helpers-xbYuvLLu.js → onboard-helpers-C-tI0ORj.js} +8 -8
- package/dist/{onboard-helpers-B1g1N_R7.js → onboard-helpers-Dt3bHndL.js} +3 -3
- package/dist/{onboard-hooks-D2rz49Q8.js → onboard-hooks-BKK6FS_-.js} +4 -4
- package/dist/{onboard-remote-irbTZQ8D.js → onboard-remote-CnGUK4s9.js} +4 -4
- package/dist/{onboard-remote-DR0hiGln.js → onboard-remote-DUkT-5yX.js} +4 -4
- package/dist/{onboarding-CGx-wanB.js → onboarding-BXIBW9kp.js} +15 -15
- package/dist/{onboarding-CuMZLiwZ.js → onboarding-x5l1g4q6.js} +14 -14
- package/dist/{onboarding.finalize-CT3LVJ86.js → onboarding.finalize-B9dNdZ8n.js} +40 -40
- package/dist/{onboarding.finalize-4_qfJYB5.js → onboarding.finalize-CidZPV2S.js} +52 -52
- package/dist/{onboarding.gateway-config-BLn29YYn.js → onboarding.gateway-config-CllJn7mn.js} +11 -11
- package/dist/{onboarding.gateway-config-DBTVHN2e.js → onboarding.gateway-config-JJXnuJ29.js} +7 -7
- package/dist/{onboarding.secret-input-DSFE38xZ.js → onboarding.secret-input-Bmjiy8T4.js} +1 -1
- package/dist/{onboarding.secret-input-BI289pRS.js → onboarding.secret-input-DkAfkFVQ.js} +1 -1
- package/dist/{openai-codex-model-default-CvwSM6Hd.js → openai-codex-model-default-5GXfiA_D.js} +3 -3
- package/dist/{openai-codex-model-default-CNxuNGcG.js → openai-codex-model-default-BYIJH6vZ.js} +2 -2
- package/dist/{openai-model-default-BJAcSXF0.js → openai-model-default-DvF5RAGp.js} +2 -2
- package/dist/{openai-model-default-CHxnrkRk.js → openai-model-default-GgDZhvmV.js} +2 -2
- package/dist/{openclaw-root-B6cGCDGF.js → openclaw-root-DbbVtnL2.js} +8 -8
- package/dist/{outbound-send-deps-BfOiemtW.js → outbound-send-deps-ClezclXA.js} +1 -1
- package/dist/{outbound-send-deps-Ds9befoI.js → outbound-send-deps-DBVk1Se1.js} +1 -1
- package/dist/{pairing-cli-KQ0Gil81.js → pairing-cli-CYBWOxx2.js} +6 -6
- package/dist/{pairing-cli-DopHOckK.js → pairing-cli-rMFQX66I.js} +2 -2
- package/dist/{pairing-store-4ajjzoih.js → pairing-store-BeeSJLPy.js} +1 -1
- package/dist/{pairing-store-CGmLbKax.js → pairing-store-Dr8a_B6n.js} +1 -1
- package/dist/{path-alias-guards-DJQOJx9a.js → path-alias-guards-DBFU_Tqb.js} +3 -3
- package/dist/{path-safety-9zsLqD77.js → path-safety-CfDs7X4h.js} +1 -1
- package/dist/{paths-E3CbCLxE.js → paths-Bg_l6kdG.js} +7 -7
- package/dist/{paths-DHNo4U8q.js → paths-L_hqOE5A.js} +5 -5
- package/dist/{pi-embedded-Lk0-wBVJ.js → pi-embedded-0VIfw7tV.js} +19 -19
- package/dist/{pi-embedded-LWGrAjSd.js → pi-embedded-DbOc1rhk.js} +115 -115
- package/dist/{pi-model-discovery-CocLN2I9.js → pi-model-discovery-7pqY2wzA.js} +1 -1
- package/dist/{pi-model-discovery-BfCU9u9n.js → pi-model-discovery-BOkx-R2x.js} +7 -7
- package/dist/{pi-model-discovery-DmsAxxli.js → pi-model-discovery-DFqVpswz.js} +1 -1
- package/dist/{pi-model-discovery-BHnYQuJe.js → pi-model-discovery-DQwd8eWZ.js} +1 -1
- package/dist/{pi-model-discovery-runtime-BB9O_19w.js → pi-model-discovery-runtime-BKwEjlY0.js} +6 -6
- package/dist/{pi-model-discovery-runtime-BM8W_E1B.js → pi-model-discovery-runtime-C_LjYTlu.js} +2 -2
- package/dist/{pi-model-discovery-runtime-DlSVUM4a.js → pi-model-discovery-runtime-DkNoyqZg.js} +2 -2
- package/dist/pi-model-discovery-runtime-uYSpi8_B.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-YTBO0yhV.js → pi-tools.before-tool-call.runtime-CXBOjjBj.js} +2 -2
- package/dist/{pi-tools.before-tool-call.runtime-CbaZrfQj.js → pi-tools.before-tool-call.runtime-DfImcnUe.js} +2 -2
- package/dist/{pi-tools.before-tool-call.runtime-CZVSauJE.js → pi-tools.before-tool-call.runtime-gCJet3xa.js} +10 -10
- package/dist/{pi-tools.before-tool-call.runtime-yg3vl2rw.js → pi-tools.before-tool-call.runtime-mhmSMpSo.js} +6 -6
- package/dist/{pi-tools.policy-B8nfuYT3.js → pi-tools.policy-D6UiE_gG.js} +2 -2
- package/dist/{plugin-auto-enable-POm3kIKs.js → plugin-auto-enable-BYUBkHiG.js} +2 -2
- package/dist/{plugin-auto-enable-DKIdWd3o.js → plugin-auto-enable-fQ-uJndS.js} +1 -1
- package/dist/{plugin-install-plan-BhKQJYE9.js → plugin-install-plan-Dc8oPEOd.js} +1 -1
- package/dist/{plugin-registry-BLdJsHwq.js → plugin-registry-D5bAzbQy.js} +3 -3
- package/dist/{plugin-registry-DMXyfhbZ.js → plugin-registry-FMZRN3Ae.js} +2 -2
- package/dist/plugin-sdk/compat.js +12 -0
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +12 -0
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +12 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +12 -0
- package/dist/plugin-sdk/index.js +14 -2
- package/dist/plugin-sdk/telegram.js +14 -2
- package/dist/{plugins-cli-Mefrnu70.js → plugins-cli-N0WJ-bcK.js} +33 -33
- package/dist/{plugins-cli-Ckbdtcng.js → plugins-cli-Rgx--0P6.js} +49 -49
- package/dist/{ports-DoRPPhz1.js → ports-BKzkl2Nt.js} +2 -2
- package/dist/{ports-BgVXI3Be.js → ports-C6HO6zSD.js} +2 -2
- package/dist/{probe-auth-ClUveUpg.js → probe-auth-BhN3PhE1.js} +3 -3
- package/dist/{probe-auth-Dzz0uFIe.js → probe-auth-CBWjkGhd.js} +2 -2
- package/dist/{program-D992fHH9.js → program-B8-8_sev.js} +38 -38
- package/dist/{program-context-CKwgiqKA.js → program-context-DFu0VnTR.js} +35 -35
- package/dist/{prompt-select-styled-8JBrpJWx.js → prompt-select-styled-BRbUYwP5.js} +17 -17
- package/dist/{prompt-select-styled-Dj1guzwc.js → prompt-select-styled-CtJff3Gr.js} +28 -28
- package/dist/{provider-auth-helpers-YFTUV89g.js → provider-auth-helpers-BosQdg02.js} +5 -5
- package/dist/{provider-auth-helpers-Bt0HFLar.js → provider-auth-helpers-DOEJVM8b.js} +5 -5
- package/dist/{proxy-fetch-CuFiQFud.js → proxy-fetch-Spr_UMJ3.js} +1 -1
- package/dist/{qmd-manager-oxRfJV8J.js → qmd-manager-D5-UET4f.js} +7 -7
- package/dist/{qmd-manager-nnyEgnFp.js → qmd-manager-ZIMvAkMU.js} +20 -20
- package/dist/{query-expansion-CcJjpvgi.js → query-expansion-Czp8kqRG.js} +4 -4
- package/dist/{read-only-account-inspect-CWAyFOOe.js → read-only-account-inspect-sMyuBIwr.js} +3 -3
- package/dist/{redact-snapshot-CHOdPFBK.js → redact-snapshot-BhnwKwS_.js} +1 -1
- package/dist/{redact-snapshot-D2yDzyhm.js → redact-snapshot-esDYkCHN.js} +1 -1
- package/dist/{register.agent-CDre9OAT.js → register.agent-BLoojMSb.js} +49 -49
- package/dist/{register.agent-DJ14KYnV.js → register.agent-WN58ukFs.js} +65 -65
- package/dist/{register.backup-D0G-W10-.js → register.backup-DQtt76Pg.js} +1 -1
- package/dist/{register.backup-BDdG0ZZu.js → register.backup-DtwFlodN.js} +22 -22
- package/dist/register.configure-DBV1cDMO.js +117 -0
- package/dist/{register.configure-MZ2oMFlt.js → register.configure-iqLpf_vJ.js} +53 -53
- package/dist/{register.maintenance-8vlFCAL5.js → register.maintenance--G4Ezr1u.js} +46 -46
- package/dist/{register.maintenance-CB5u00DB.js → register.maintenance-JmxWnFLm.js} +59 -59
- package/dist/{register.message-B3Iqneie.js → register.message-B2Mo2hx9.js} +42 -42
- package/dist/{register.message-LPqeYXRd.js → register.message-DMa5MRsS.js} +33 -33
- package/dist/{register.onboard-DHr-W74h.js → register.onboard-B89iRFyV.js} +13 -13
- package/dist/{register.onboard-CTTwVj8d.js → register.onboard-iNt0A322.js} +8 -8
- package/dist/{register.setup-Dqfw5uEI.js → register.setup-CBwr4_Ob.js} +8 -8
- package/dist/{register.setup-C3kh_TbN.js → register.setup-DQ-uaQd4.js} +16 -16
- package/dist/{register.status-health-sessions-QpojEQ9d.js → register.status-health-sessions-B-2y3jIc.js} +52 -52
- package/dist/{register.status-health-sessions-DRKMAlro.js → register.status-health-sessions-CrW3NDOK.js} +40 -40
- package/dist/{register.subclis-iSDvGATC.js → register.subclis-DF5yhf7D.js} +23 -23
- package/dist/{reply-Bf21Hr1C.js → reply-OIc7wENR.js} +116 -116
- package/dist/{run-log-BqSHMnAd.js → run-log-D3XR2BLm.js} +13 -13
- package/dist/{run-log-CjYAiVe8.js → run-log-Q89iJgvA.js} +1 -1
- package/dist/{run-main-qumIkFEs.js → run-main-CbzvI1iB.js} +51 -51
- package/dist/{runtime-B8hPSCRB.js → runtime-DpfmBWKQ.js} +2 -2
- package/dist/{runtime-CCYCyl1P.js → runtime-hakwcpul.js} +3 -3
- package/dist/{runtime-web-tools-gpT7ZniL.js → runtime-web-tools-BZcX_oAn.js} +2 -2
- package/dist/{runtime-web-tools-CRJ-iI9c.js → runtime-web-tools-CWlvqBpH.js} +2 -2
- package/dist/{sandbox-cli-cb2ui3Pc.js → sandbox-cli-BLBFMAgV.js} +1 -1
- package/dist/{sandbox-cli-BwX10ANz.js → sandbox-cli-CWgKwadY.js} +5 -5
- package/dist/{search-manager-CjC4g5lJ.js → search-manager-Bj4BRNiF.js} +1 -1
- package/dist/{secret-file-BaxohaZh.js → secret-file-9CYwZJSc.js} +1 -1
- package/dist/{secret-file-DcuJtucq.js → secret-file-BCAZa3Jw.js} +1 -1
- package/dist/{secrets-cli-BSv3yeQa.js → secrets-cli-B-LFbTtv.js} +10 -10
- package/dist/{secrets-cli-CYAGIMSW.js → secrets-cli-DOf7NbbB.js} +6 -6
- package/dist/{security-cli-Dk67sFGR.js → security-cli-B2iw16q9.js} +21 -21
- package/dist/{security-cli-CPjzUYo3.js → security-cli-DbRGAdz_.js} +10 -10
- package/dist/{send-DAr4cmzw.js → send-BeUTtwRC.js} +11 -11
- package/dist/{send-CP84wq9N.js → send-CU6MWFln.js} +28 -28
- package/dist/{send-CeA0VP-c.js → send-TlYsQWZw.js} +4 -4
- package/dist/{service-Cfk6VWeP.js → service-kXk8K3mn.js} +13 -13
- package/dist/{session-utils-G8TPVqDh.js → session-utils-5dTolcMA.js} +3 -3
- package/dist/{sessions-DghMB51-.js → sessions-CNRe8TkE.js} +2 -2
- package/dist/{shared-C6ksnJEO.js → shared-C_hG8rgh.js} +1 -1
- package/dist/{skill-scanner-B8J7JGHG.js → skill-scanner-djTgcKux.js} +7 -7
- package/dist/{skills-Mq1GCIyL.js → skills-D7xInzjY.js} +2 -2
- package/dist/{sqlite-DMwlw8gY.js → sqlite-BXiqNpZr.js} +14 -14
- package/dist/{status-BkoerIVk.js → status-BWvpeDQr.js} +1 -1
- package/dist/{status-C2lZy-Fn.js → status-DlhZNZRA.js} +1 -1
- package/dist/{status-DN1kwt_G.js → status-XHz3g6hB.js} +22 -22
- package/dist/{status-CLNIJHL1.js → status-_r2NL6m9.js} +13 -13
- package/dist/{status.update-CVnOl9T7.js → status.update-BC8_WNUD.js} +1 -1
- package/dist/{status.update-B7WMKBpu.js → status.update-s77gig85.js} +3 -3
- package/dist/subagent-registry-runtime-4Iq7_pTU.js +28 -0
- package/dist/{subagent-registry-runtime-BejBDRIf.js → subagent-registry-runtime-CEms3TqA.js} +9 -9
- package/dist/{subagent-registry-runtime-C2amjBau.js → subagent-registry-runtime-CqZrbR_5.js} +39 -39
- package/dist/{subagent-registry-runtime-sAeDnTD0.js → subagent-registry-runtime-HMP_iPKA.js} +31 -31
- package/dist/{subsystem-Br253I8q.js → subsystem-CDH9S_yW.js} +14 -14
- package/dist/{system-cli-C_xi1PG1.js → system-cli-CJfVDX21.js} +4 -4
- package/dist/{system-cli-CmjCyWeV.js → system-cli-CgYFKf5C.js} +8 -8
- package/dist/{systemd-linger-8q_0YAMa.js → systemd-linger-CQCpuIm8.js} +1 -1
- package/dist/{systemd-B5QGtWUt.js → systemd-lqHMKF03.js} +11 -11
- package/dist/{tailnet-BII1rF_F.js → tailnet-Dd530XEB.js} +1 -1
- package/dist/{tailnet-GA0Saj6K.js → tailnet-lUwvztzP.js} +1 -1
- package/dist/{update-cli-Cta7h1PN.js → update-cli-TBdp8aQn.js} +69 -69
- package/dist/{update-cli-DT51qYuH.js → update-cli-obZZqciv.js} +49 -49
- package/dist/{update-B16VTBdW.js → update-lBwZcNEP.js} +2 -2
- package/dist/{update-runner-Dk9ujIjY.js → update-runner-Dh84Ivzm.js} +16 -16
- package/dist/{update-runner-D0FkcfIv.js → update-runner-DwRQE_g4.js} +4 -4
- package/dist/{webhooks-cli-DUi__sSq.js → webhooks-cli-D5ytuSnf.js} +1 -1
- package/dist/{webhooks-cli-fEwB1QWy.js → webhooks-cli-DGY-qrop.js} +5 -5
- package/dist/{workspace-DaDGuTlc.js → workspace-DY5PSKK1.js} +1 -1
- package/dist/{workspace-DRRA3YH5.js → workspace-DiYGwuGk.js} +20 -20
- package/dist/{writer-CBLUHPFY.js → writer-ChWOWmJt.js} +1 -1
- package/dist/{writer-DW7GwLNb.js → writer-Mpvw_WMM.js} +8 -8
- package/extensions/acpx/node_modules/.bin/acpx +3 -7
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +3 -7
- package/extensions/diffs/node_modules/.bin/playwright-core +3 -7
- package/extensions/googlechat/node_modules/.bin/openclaw +17 -0
- package/extensions/matrix/node_modules/.bin/markdown-it +17 -0
- package/extensions/memory-core/node_modules/.bin/openclaw +17 -0
- package/extensions/memory-core/package.json +11 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +3 -7
- package/extensions/memory-lancedb/node_modules/.bin/openai +3 -7
- package/extensions/tlon/node_modules/.bin/tlon +17 -0
- package/package.json +2 -2
- package/dist/compact.runtime-B3XexHCz.js +0 -28
- package/dist/compact.runtime-BTNt86Cy.js +0 -66
- package/dist/deliver-runtime-DP7LMYJz.js +0 -14
- package/dist/deps-send-telegram.runtime-CNQMFHHL.js +0 -19
- package/dist/image-runtime-BKlmPwGz.js +0 -12
- package/dist/manager-runtime-BIERqG19.js +0 -15
- package/dist/pi-model-discovery-runtime-BRBH9-81.js +0 -12
- package/dist/register.configure-B6etuAnH.js +0 -117
- package/dist/subagent-registry-runtime-BBvfeFxp.js +0 -28
- package/extensions/google-antigravity-auth/node_modules/.bin/openclaw +0 -21
- package/extensions/memory-core/node_modules/.bin/nlc +0 -21
- package/extensions/memory-core/node_modules/.bin/node-llama-cpp +0 -21
- package/extensions/memory-core/node_modules/.bin/tsc +0 -21
- package/extensions/memory-core/node_modules/.bin/tsserver +0 -21
package/dist/{audio-transcription-runner-Uz2dTIDx.js → audio-transcription-runner-B02iDYTW.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { S as logVerbose, T as shouldLogVerbose, V as resolvePreferredOpenClawTmpDir } from "./subsystem-Dk5WUhC2.js";
|
|
2
|
-
import { A as resolveApiKeyForProvider, C as normalizeGoogleModelId, ao as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, co as resolveIMessageAttachmentRoots, d as normalizeProviderId, hi as normalizeChatType, k as requireApiKey, oo as isInboundPathAllowed, so as mergeInboundPathRoots } from "./model-selection-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
2
|
+
import { A as resolveApiKeyForProvider, C as normalizeGoogleModelId, ao as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, co as resolveIMessageAttachmentRoots, d as normalizeProviderId, hi as normalizeChatType, k as requireApiKey, oo as isInboundPathAllowed, so as mergeInboundPathRoots } from "./model-selection-DU-DNNW7.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-BrJT9Gf9.js";
|
|
4
4
|
import { n as runExec } from "./exec-B8ip-O6u.js";
|
|
5
|
-
import { t as describeImageWithModel } from "./image-
|
|
5
|
+
import { t as describeImageWithModel } from "./image-BUEhx-b4.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-oCOYl-9e.js";
|
|
7
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
9
|
-
import { i as detectMime, l as kindFromMime, n as fetchRemoteMedia, o as getFileExtension, s as isAudioFileName, t as MediaFetchError } from "./fetch-
|
|
10
|
-
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-
|
|
11
|
-
import { n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
12
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DGuF8Mhb.js";
|
|
8
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DeP9Nazr.js";
|
|
9
|
+
import { i as detectMime, l as kindFromMime, n as fetchRemoteMedia, o as getFileExtension, s as isAudioFileName, t as MediaFetchError } from "./fetch-DAiV9-bR.js";
|
|
10
|
+
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-Bqf8bSUd.js";
|
|
11
|
+
import { n as getDefaultMediaLocalRoots } from "./local-roots-BZvUgFKO.js";
|
|
12
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-BtBiWr2U.js";
|
|
13
13
|
import { r as resolveProxyFetchFromEnv } from "./proxy-fetch-Cbsa1-1O.js";
|
|
14
14
|
import process$1 from "node:process";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import { constants } from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import fsPromises from "node:fs/promises";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
//#region src/auto-reply/templating.ts
|
|
22
22
|
function formatTemplateValue(value) {
|
|
@@ -949,7 +949,7 @@ var MediaAttachmentCache = class {
|
|
|
949
949
|
const size = await this.ensureLocalStat(entry);
|
|
950
950
|
if (entry.resolvedPath) {
|
|
951
951
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
952
|
-
const buffer = await
|
|
952
|
+
const buffer = await fsPromises.readFile(entry.resolvedPath);
|
|
953
953
|
entry.buffer = buffer;
|
|
954
954
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
955
955
|
buffer,
|
|
@@ -1019,10 +1019,10 @@ var MediaAttachmentCache = class {
|
|
|
1019
1019
|
prefix: "openclaw-media",
|
|
1020
1020
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
1021
1021
|
});
|
|
1022
|
-
await
|
|
1022
|
+
await fsPromises.writeFile(tmpPath, bufferResult.buffer);
|
|
1023
1023
|
entry.tempPath = tmpPath;
|
|
1024
1024
|
entry.tempCleanup = async () => {
|
|
1025
|
-
await
|
|
1025
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
1026
1026
|
};
|
|
1027
1027
|
return {
|
|
1028
1028
|
path: tmpPath,
|
|
@@ -1069,12 +1069,12 @@ var MediaAttachmentCache = class {
|
|
|
1069
1069
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
1070
1070
|
try {
|
|
1071
1071
|
const currentPath = entry.resolvedPath;
|
|
1072
|
-
const stat = await
|
|
1072
|
+
const stat = await fsPromises.stat(currentPath);
|
|
1073
1073
|
if (!stat.isFile()) {
|
|
1074
1074
|
entry.resolvedPath = void 0;
|
|
1075
1075
|
return;
|
|
1076
1076
|
}
|
|
1077
|
-
const canonicalPath = await
|
|
1077
|
+
const canonicalPath = await fsPromises.realpath(currentPath).catch(() => currentPath);
|
|
1078
1078
|
if (!isInboundPathAllowed({
|
|
1079
1079
|
filePath: canonicalPath,
|
|
1080
1080
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -1096,7 +1096,7 @@ var MediaAttachmentCache = class {
|
|
|
1096
1096
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
1097
1097
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
1098
1098
|
if (root.includes("*")) return root;
|
|
1099
|
-
return await
|
|
1099
|
+
return await fsPromises.realpath(root).catch(() => root);
|
|
1100
1100
|
}))))();
|
|
1101
1101
|
return await this.canonicalLocalPathRoots;
|
|
1102
1102
|
}
|
|
@@ -1106,7 +1106,7 @@ var MediaAttachmentCache = class {
|
|
|
1106
1106
|
async function fileExists(filePath) {
|
|
1107
1107
|
if (!filePath) return false;
|
|
1108
1108
|
try {
|
|
1109
|
-
await
|
|
1109
|
+
await fsPromises.stat(filePath);
|
|
1110
1110
|
return true;
|
|
1111
1111
|
} catch {
|
|
1112
1112
|
return false;
|
|
@@ -1220,7 +1220,7 @@ async function resolveCliOutput(params) {
|
|
|
1220
1220
|
const commandId = commandBase(params.command);
|
|
1221
1221
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1222
1222
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1223
|
-
const content = await
|
|
1223
|
+
const content = await fsPromises.readFile(fileOutput, "utf8");
|
|
1224
1224
|
if (content.trim()) return content.trim();
|
|
1225
1225
|
} catch {}
|
|
1226
1226
|
if (commandId === "gemini") {
|
|
@@ -1529,10 +1529,10 @@ async function runCliEntry(params) {
|
|
|
1529
1529
|
timeoutMs
|
|
1530
1530
|
});
|
|
1531
1531
|
if (capability === "audio") assertMinAudioSize({
|
|
1532
|
-
size: (await
|
|
1532
|
+
size: (await fsPromises.stat(pathResult.path)).size,
|
|
1533
1533
|
attachmentIndex: params.attachmentIndex
|
|
1534
1534
|
});
|
|
1535
|
-
const outputDir = await
|
|
1535
|
+
const outputDir = await fsPromises.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1536
1536
|
const mediaPath = pathResult.path;
|
|
1537
1537
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1538
1538
|
const templCtx = {
|
|
@@ -1566,7 +1566,7 @@ async function runCliEntry(params) {
|
|
|
1566
1566
|
model: command
|
|
1567
1567
|
};
|
|
1568
1568
|
} finally {
|
|
1569
|
-
await
|
|
1569
|
+
await fsPromises.rm(outputDir, {
|
|
1570
1570
|
recursive: true,
|
|
1571
1571
|
force: true
|
|
1572
1572
|
}).catch(() => {});
|
|
@@ -1609,9 +1609,9 @@ function candidateBinaryNames(name) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
async function isExecutable(filePath) {
|
|
1611
1611
|
try {
|
|
1612
|
-
if (!(await
|
|
1612
|
+
if (!(await fsPromises.stat(filePath)).isFile()) return false;
|
|
1613
1613
|
if (process.platform === "win32") return true;
|
|
1614
|
-
await
|
|
1614
|
+
await fsPromises.access(filePath, constants.X_OK);
|
|
1615
1615
|
return true;
|
|
1616
1616
|
} catch {
|
|
1617
1617
|
return false;
|
package/dist/{audio-transcription-runner-CovQeJJ8.js → audio-transcription-runner-B8jxT-MB.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { S as logVerbose, T as shouldLogVerbose, V as resolvePreferredOpenClawTmpDir } from "./subsystem-BEF5zTJO.js";
|
|
2
|
-
import { Es as resolveApiKeyForProvider, Ji as isInboundPathAllowed, Ts as requireApiKey, Xi as resolveIMessageAttachmentRoots, Yi as mergeInboundPathRoots, qi as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, rr as normalizeChatType, ss as normalizeProviderId, ys as normalizeGoogleModelId } from "./auth-profiles-
|
|
2
|
+
import { Es as resolveApiKeyForProvider, Ji as isInboundPathAllowed, Ts as requireApiKey, Xi as resolveIMessageAttachmentRoots, Yi as mergeInboundPathRoots, qi as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, rr as normalizeChatType, ss as normalizeProviderId, ys as normalizeGoogleModelId } from "./auth-profiles-D9Wn945p.js";
|
|
3
3
|
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-OAwT1oHV.js";
|
|
4
4
|
import { n as runExec } from "./exec-B-ZR6IBr.js";
|
|
5
|
-
import { i as detectMime, l as kindFromMime, n as fetchRemoteMedia, o as getFileExtension, s as isAudioFileName, t as MediaFetchError } from "./fetch-
|
|
6
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
5
|
+
import { i as detectMime, l as kindFromMime, n as fetchRemoteMedia, o as getFileExtension, s as isAudioFileName, t as MediaFetchError } from "./fetch-hiM4UODI.js";
|
|
6
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-DlYPcFqP.js";
|
|
7
7
|
import { n as getDefaultMediaLocalRoots } from "./local-roots-CY11yrWR.js";
|
|
8
8
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-BaSZYLcU.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-B0N_Hvgw.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { t as describeImageWithModel } from "./image-
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-dTCN4rW8.js";
|
|
11
|
+
import { t as describeImageWithModel } from "./image-B4HCDVUj.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation--yH6WXh1.js";
|
|
13
13
|
import { r as resolveProxyFetchFromEnv } from "./proxy-fetch-DNrsTLo-.js";
|
|
14
14
|
import process$1 from "node:process";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
package/dist/{audio-transcription-runner-BjxrFZhs.js → audio-transcription-runner-DIwGKsNI.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Ft as resolveAgentModelPrimaryValue, Pt as resolveAgentModelFallbackValues, q as runExec } from "./paths-Mt14cg41.js";
|
|
2
2
|
import { C as createSubsystemLogger, M as logVerbose, P as shouldLogVerbose, U as resolvePreferredOpenClawTmpDir } from "./logger-Bxlcwvue.js";
|
|
3
|
-
import { _i as resolveIMessageAttachmentRoots, b as resolveApiKeyForProvider, c as normalizeProviderId, gi as mergeInboundPathRoots, h as normalizeGoogleModelId, hi as isInboundPathAllowed, ii as loadConfig, mi as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, or as normalizeChatType, so as resolveOpenClawAgentDir, y as requireApiKey } from "./model-selection-
|
|
4
|
-
import { D as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
3
|
+
import { _i as resolveIMessageAttachmentRoots, b as resolveApiKeyForProvider, c as normalizeProviderId, gi as mergeInboundPathRoots, h as normalizeGoogleModelId, hi as isInboundPathAllowed, ii as loadConfig, mi as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, or as normalizeChatType, so as resolveOpenClawAgentDir, y as requireApiKey } from "./model-selection-PlvJPOJ9.js";
|
|
4
|
+
import { D as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-kqy5P4_2.js";
|
|
5
5
|
import { n as getDefaultMediaLocalRoots } from "./local-roots-RZoycic0.js";
|
|
6
|
-
import { a as withStrictGuardedFetchMode, i as fetchWithSsrFGuard, n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
6
|
+
import { a as withStrictGuardedFetchMode, i as fetchWithSsrFGuard, n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-ysMjkqBD.js";
|
|
7
7
|
import { i as fetchWithTimeout } from "./proxy-env-CHLzkW5x.js";
|
|
8
8
|
import { r as resolveProxyFetchFromEnv } from "./proxy-fetch-BG4Z45Re.js";
|
|
9
9
|
import { constants } from "node:fs";
|
|
@@ -148,7 +148,7 @@ function kindFromMime(mime) {
|
|
|
148
148
|
const log = createSubsystemLogger("model-catalog");
|
|
149
149
|
let modelCatalogPromise = null;
|
|
150
150
|
let hasLoggedModelCatalogError = false;
|
|
151
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
151
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DQwd8eWZ.js").then((n) => n.r);
|
|
152
152
|
let importPiSdk = defaultImportPiSdk;
|
|
153
153
|
const CODEX_PROVIDER = "openai-codex";
|
|
154
154
|
const OPENAI_PROVIDER = "openai";
|
package/dist/{audio-transcription-runner-Bt0PplM9.js → audio-transcription-runner-TUBV75w0.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as resolveAgentModelPrimaryValue, z as resolveAgentModelFallbackValues } from "./paths-
|
|
2
|
-
import { d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
-
import { _ as runExec } from "./workspace-
|
|
4
|
-
import { Ci as resolveIMessageAttachmentRoots, Si as mergeInboundPathRoots, b as requireApiKey, bi as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, g as normalizeGoogleModelId, li as loadConfig, uo as resolveOpenClawAgentDir, ur as normalizeChatType, x as resolveApiKeyForProvider, xi as isInboundPathAllowed } from "./model-selection-
|
|
5
|
-
import { i as detectMime, l as kindFromMime, n as fetchRemoteMedia, o as getFileExtension, s as isAudioFileName, t as MediaFetchError } from "./fetch-
|
|
6
|
-
import { D as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
-
import { n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
1
|
+
import { B as resolveAgentModelPrimaryValue, z as resolveAgentModelFallbackValues } from "./paths-Bg_l6kdG.js";
|
|
2
|
+
import { d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-CDH9S_yW.js";
|
|
3
|
+
import { _ as runExec } from "./workspace-DiYGwuGk.js";
|
|
4
|
+
import { Ci as resolveIMessageAttachmentRoots, Si as mergeInboundPathRoots, b as requireApiKey, bi as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, g as normalizeGoogleModelId, li as loadConfig, uo as resolveOpenClawAgentDir, ur as normalizeChatType, x as resolveApiKeyForProvider, xi as isInboundPathAllowed } from "./model-selection-CvKAj7nY.js";
|
|
5
|
+
import { i as detectMime, l as kindFromMime, n as fetchRemoteMedia, o as getFileExtension, s as isAudioFileName, t as MediaFetchError } from "./fetch-LN1gb6p0.js";
|
|
6
|
+
import { D as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DHFliGoO.js";
|
|
7
|
+
import { n as getDefaultMediaLocalRoots } from "./local-roots-CyRw91V8.js";
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Bd5oI7xu.js";
|
|
9
9
|
import { i as fetchWithTimeout } from "./proxy-env-C-Ky4p9K.js";
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { r as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BHAUzS3H.js";
|
|
11
|
+
import { r as resolveProxyFetchFromEnv } from "./proxy-fetch-Spr_UMJ3.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
@@ -20,7 +20,7 @@ import crypto from "node:crypto";
|
|
|
20
20
|
const log = createSubsystemLogger("model-catalog");
|
|
21
21
|
let modelCatalogPromise = null;
|
|
22
22
|
let hasLoggedModelCatalogError = false;
|
|
23
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
23
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-BOkx-R2x.js").then((n) => n.r);
|
|
24
24
|
let importPiSdk = defaultImportPiSdk;
|
|
25
25
|
const CODEX_PROVIDER = "openai-codex";
|
|
26
26
|
const OPENAI_PROVIDER = "openai";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BJV7vkaX.js";
|
|
2
|
-
import { Co as isDangerousNetworkMode, Fa as formatPermissionRemediation, Ha as createConfigIO, Ia as inspectPathPermissions, La as safeStat, Ls as INCLUDE_KEY, Pa as formatPermissionDetail, Pi as getBlockedBindReason, Qi as resolveToolProfilePolicy, Ui as resolveSandboxToolPolicyForAgent, Vi as resolveSandboxConfigForAgent, ls as normalizeTrustedSafeBinDirs, pi as resolveChannelDefaultAccountId, wo as normalizeNetworkMode } from "./model-selection-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { Co as isDangerousNetworkMode, Fa as formatPermissionRemediation, Ha as createConfigIO, Ia as inspectPathPermissions, La as safeStat, Ls as INCLUDE_KEY, Pa as formatPermissionDetail, Pi as getBlockedBindReason, Qi as resolveToolProfilePolicy, Ui as resolveSandboxToolPolicyForAgent, Vi as resolveSandboxConfigForAgent, ls as normalizeTrustedSafeBinDirs, pi as resolveChannelDefaultAccountId, wo as normalizeNetworkMode } from "./model-selection-DU-DNNW7.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
4
4
|
import { s as normalizeAgentId } from "./session-key-VV3RvEri.js";
|
|
5
5
|
import { r as normalizeStringEntries } from "./string-normalization-B7Qb9jnK.js";
|
|
6
6
|
import { a as hasConfiguredSecretInput } from "./types.secrets-ZqKzSyNC.js";
|
|
7
7
|
import { i as formatCliCommand, n as isPathInside, t as extensionUsesSkippedScannerPath } from "./scan-paths-meOkBmZg.js";
|
|
8
|
-
import { S as normalizePluginsConfig, r as loadWorkspaceSkillEntries } from "./skills-
|
|
8
|
+
import { S as normalizePluginsConfig, r as loadWorkspaceSkillEntries } from "./skills-D7xInzjY.js";
|
|
9
9
|
import { m as MANIFEST_KEY } from "./frontmatter-DTFXPyoL.js";
|
|
10
10
|
import { n as listChannelPlugins } from "./plugins-Delv1GbW.js";
|
|
11
11
|
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-CH9PY2Dm.js";
|
|
12
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
13
|
-
import { _ as pickSandboxToolPolicy, a as resolveDmAllowState, f as isToolAllowedByPolicies, n as hasConfiguredUnavailableCredentialStatus, r as hasResolvedCredentialValue, t as inspectReadOnlyChannelAccount } from "./read-only-account-inspect-
|
|
14
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
15
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
12
|
+
import { t as buildGatewayConnectionDetails } from "./call-7be5mSn_.js";
|
|
13
|
+
import { _ as pickSandboxToolPolicy, a as resolveDmAllowState, f as isToolAllowedByPolicies, n as hasConfiguredUnavailableCredentialStatus, r as hasResolvedCredentialValue, t as inspectReadOnlyChannelAccount } from "./read-only-account-inspect-sMyuBIwr.js";
|
|
14
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-DbbnAmrV.js";
|
|
15
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-Dr8a_B6n.js";
|
|
16
16
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-BgP2XPPl.js";
|
|
17
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
18
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
19
|
-
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-
|
|
17
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-djTgcKux.js";
|
|
18
|
+
import { a as resolveGatewayAuth } from "./auth-Bu24hYWH.js";
|
|
19
|
+
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-BhN3PhE1.js";
|
|
20
20
|
import { c as isDangerousNameMatchingEnabled, l as isNumericTelegramUserId, t as isDiscordMutableAllowEntry, u as normalizeTelegramAllowFromEntry } from "./mutable-allowlist-detectors-BZy6Qt78.js";
|
|
21
21
|
import { t as inferParamBFromIdOrName } from "./model-param-b-ZEeJbsZk.js";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
|
-
import * as fs
|
|
25
|
-
import
|
|
24
|
+
import * as fs from "node:fs/promises";
|
|
25
|
+
import fsPromises from "node:fs/promises";
|
|
26
26
|
import { isIP } from "node:net";
|
|
27
27
|
//#region src/security/audit-channel.ts
|
|
28
28
|
function normalizeAllowFromList$1(list) {
|
|
@@ -1124,7 +1124,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1124
1124
|
if (visited.has(resolved)) continue;
|
|
1125
1125
|
visited.add(resolved);
|
|
1126
1126
|
result.push(resolved);
|
|
1127
|
-
const rawText = await fs
|
|
1127
|
+
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1128
1128
|
if (!rawText) continue;
|
|
1129
1129
|
const nestedParsed = (() => {
|
|
1130
1130
|
try {
|
|
@@ -1158,7 +1158,7 @@ function expandTilde(p, env) {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1160
1160
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1161
|
-
const raw = await
|
|
1161
|
+
const raw = await fsPromises.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1162
1162
|
if (!raw.trim()) return [];
|
|
1163
1163
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1164
1164
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1180,7 +1180,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1180
1180
|
};
|
|
1181
1181
|
return {
|
|
1182
1182
|
extensionsDir,
|
|
1183
|
-
pluginDirs: (await
|
|
1183
|
+
pluginDirs: (await fsPromises.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1184
1184
|
params.onReadError?.(err);
|
|
1185
1185
|
return [];
|
|
1186
1186
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1243,7 +1243,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
async function readInstalledPackageVersion(dir) {
|
|
1245
1245
|
try {
|
|
1246
|
-
const raw = await
|
|
1246
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1247
1247
|
const parsed = JSON.parse(raw);
|
|
1248
1248
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1249
1249
|
} catch {
|
|
@@ -1279,10 +1279,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1279
1279
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1280
1280
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1281
1281
|
const dir = queue.shift();
|
|
1282
|
-
const dirRealPath = await
|
|
1282
|
+
const dirRealPath = await fsPromises.realpath(dir).catch(() => path.resolve(dir));
|
|
1283
1283
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1284
1284
|
visitedDirs.add(dirRealPath);
|
|
1285
|
-
const entries = await
|
|
1285
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1286
1286
|
for (const entry of entries) {
|
|
1287
1287
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1288
1288
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1291,7 +1291,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1291
1291
|
continue;
|
|
1292
1292
|
}
|
|
1293
1293
|
if (entry.isSymbolicLink()) {
|
|
1294
|
-
const stat = await
|
|
1294
|
+
const stat = await fsPromises.stat(fullPath).catch(() => null);
|
|
1295
1295
|
if (!stat) continue;
|
|
1296
1296
|
if (stat.isDirectory()) {
|
|
1297
1297
|
queue.push(fullPath);
|
|
@@ -1469,13 +1469,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1469
1469
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1470
1470
|
for (const workspaceDir of workspaceDirs) {
|
|
1471
1471
|
const workspacePath = path.resolve(workspaceDir);
|
|
1472
|
-
const workspaceRealPath = await
|
|
1472
|
+
const workspaceRealPath = await fsPromises.realpath(workspacePath).catch(() => workspacePath);
|
|
1473
1473
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1474
1474
|
for (const skillFilePath of skillFilePaths) {
|
|
1475
1475
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1476
1476
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1477
1477
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1478
|
-
const skillRealPath = await
|
|
1478
|
+
const skillRealPath = await fsPromises.realpath(canonicalSkillPath).catch(() => null);
|
|
1479
1479
|
if (!skillRealPath) continue;
|
|
1480
1480
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1481
1481
|
escapedSkillFiles.push({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import { d as isRecord } from "./logger-
|
|
1
|
+
import "./paths-L_hqOE5A.js";
|
|
2
|
+
import "./subsystem-CDH9S_yW.js";
|
|
3
|
+
import { d as isRecord } from "./logger-BA9koAaC.js";
|
|
4
4
|
import "./boolean-C7Ct_klp.js";
|
|
5
|
-
import "./env-
|
|
5
|
+
import "./env-Bhn5CLil.js";
|
|
6
6
|
import { i as fetchWithTimeout } from "./proxy-env-C-Ky4p9K.js";
|
|
7
|
-
import { n as makeProxyFetch } from "./proxy-fetch-
|
|
8
|
-
import { t as resolveTelegramFetch } from "./fetch-
|
|
7
|
+
import { n as makeProxyFetch } from "./proxy-fetch-Spr_UMJ3.js";
|
|
8
|
+
import { t as resolveTelegramFetch } from "./fetch-BWClp-zV.js";
|
|
9
9
|
//#region src/telegram/audit-membership-runtime.ts
|
|
10
10
|
const TELEGRAM_API_BASE = "https://api.telegram.org";
|
|
11
11
|
async function auditTelegramGroupMembershipImpl(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BfR2LXbA.js";
|
|
2
|
-
import { Ai as createConfigIO, Br as resolveToolProfilePolicy, Ci as formatPermissionRemediation, Co as INCLUDE_KEY, Si as formatPermissionDetail, Sr as getBlockedBindReason, Ti as safeStat, Xa as normalizeTrustedSafeBinDirs, da as isDangerousNetworkMode, fa as normalizeNetworkMode, jr as resolveSandboxToolPolicyForAgent, kr as resolveSandboxConfigForAgent, tr as resolveChannelDefaultAccountId, wi as inspectPathPermissions } from "./auth-profiles-
|
|
2
|
+
import { Ai as createConfigIO, Br as resolveToolProfilePolicy, Ci as formatPermissionRemediation, Co as INCLUDE_KEY, Si as formatPermissionDetail, Sr as getBlockedBindReason, Ti as safeStat, Xa as normalizeTrustedSafeBinDirs, da as isDangerousNetworkMode, fa as normalizeNetworkMode, jr as resolveSandboxToolPolicyForAgent, kr as resolveSandboxConfigForAgent, tr as resolveChannelDefaultAccountId, wi as inspectPathPermissions } from "./auth-profiles-D9Wn945p.js";
|
|
3
3
|
import { i as formatCliCommand, n as isPathInside, t as extensionUsesSkippedScannerPath } from "./scan-paths-1Ht0wvdC.js";
|
|
4
4
|
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-OAwT1oHV.js";
|
|
5
5
|
import { s as normalizeAgentId } from "./session-key-9lbhEIb9.js";
|
|
@@ -8,15 +8,15 @@ import { a as hasConfiguredSecretInput } from "./types.secrets-CQ90JO4F.js";
|
|
|
8
8
|
import { S as normalizePluginsConfig, r as loadWorkspaceSkillEntries } from "./skills-VQO3Anke.js";
|
|
9
9
|
import { m as MANIFEST_KEY } from "./frontmatter-DAfBRAy7.js";
|
|
10
10
|
import { n as listChannelPlugins } from "./plugins-DRDN4jFP.js";
|
|
11
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
11
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-BnTNRx5O.js";
|
|
12
12
|
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-BWrE-bab.js";
|
|
13
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
-
import { c as resolveDmAllowState, g as hasResolvedCredentialValue, h as hasConfiguredUnavailableCredentialStatus, m as inspectReadOnlyChannelAccount, n as isToolAllowedByPolicies, s as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
15
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
13
|
+
import { t as buildGatewayConnectionDetails } from "./call-Ce8vjHmH.js";
|
|
14
|
+
import { c as resolveDmAllowState, g as hasResolvedCredentialValue, h as hasConfiguredUnavailableCredentialStatus, m as inspectReadOnlyChannelAccount, n as isToolAllowedByPolicies, s as pickSandboxToolPolicy } from "./pi-tools.policy-D6UiE_gG.js";
|
|
15
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BeeSJLPy.js";
|
|
16
16
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-BZDxNIXz.js";
|
|
17
17
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-owyfHlsM.js";
|
|
18
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
19
|
-
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-
|
|
18
|
+
import { a as resolveGatewayAuth } from "./auth-B7N969mv.js";
|
|
19
|
+
import { r as probeGateway, t as resolveGatewayProbeAuthSafe } from "./probe-auth-CBWjkGhd.js";
|
|
20
20
|
import { c as isDangerousNameMatchingEnabled, l as isNumericTelegramUserId, t as isDiscordMutableAllowEntry, u as normalizeTelegramAllowFromEntry } from "./mutable-allowlist-detectors-CEdpFbt7.js";
|
|
21
21
|
import { t as inferParamBFromIdOrName } from "./model-param-b-DtdfXLqw.js";
|
|
22
22
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveSecretInputRef } from "./types.secrets-CQ90JO4F.js";
|
|
2
|
-
import { Kt as isLocalishHost, Xt as isTrustedProxyAddress, en as resolveClientIp, g as resolveGatewayCredentialsFromValues, qt as isLoopbackAddress } from "./call-
|
|
2
|
+
import { Kt as isLocalishHost, Xt as isTrustedProxyAddress, en as resolveClientIp, g as resolveGatewayCredentialsFromValues, qt as isLoopbackAddress } from "./call-Ce8vjHmH.js";
|
|
3
3
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-aoZb27we.js";
|
|
4
4
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
5
5
|
//#region src/security/secret-equal.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveSecretInputRef } from "./types.secrets-ZqKzSyNC.js";
|
|
2
|
-
import { Kt as isLocalishHost, Xt as isTrustedProxyAddress, en as resolveClientIp, g as resolveGatewayCredentialsFromValues, qt as isLoopbackAddress } from "./call-
|
|
2
|
+
import { Kt as isLocalishHost, Xt as isTrustedProxyAddress, en as resolveClientIp, g as resolveGatewayCredentialsFromValues, qt as isLoopbackAddress } from "./call-7be5mSn_.js";
|
|
3
3
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-BypHVf47.js";
|
|
4
4
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
5
5
|
//#region src/security/secret-equal.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./subsystem-BEF5zTJO.js";
|
|
2
2
|
import "./paths-BfR2LXbA.js";
|
|
3
3
|
import "./boolean-BHdNsbzF.js";
|
|
4
|
-
import { Cc as normalizeSecretInput, Os as resolveEnvApiKey, Ro as upsertAuthProfile, Sc as normalizeOptionalSecretInput, Vo as ensureAuthProfileStore, la as resolveDefaultSecretProviderAlias, r as resolveAuthProfileOrder, ri as resolveApiKeyForProfile, ss as normalizeProviderId } from "./auth-profiles-
|
|
4
|
+
import { Cc as normalizeSecretInput, Os as resolveEnvApiKey, Ro as upsertAuthProfile, Sc as normalizeOptionalSecretInput, Vo as ensureAuthProfileStore, la as resolveDefaultSecretProviderAlias, r as resolveAuthProfileOrder, ri as resolveApiKeyForProfile, ss as normalizeProviderId } from "./auth-profiles-D9Wn945p.js";
|
|
5
5
|
import "./agent-scope-OAwT1oHV.js";
|
|
6
6
|
import "./utils-qah6hFG0.js";
|
|
7
7
|
import "./boundary-file-read-BAjRF13y.js";
|
|
@@ -19,21 +19,21 @@ import "./path-alias-guards-DHv0a8uY.js";
|
|
|
19
19
|
import "./plugins-DRDN4jFP.js";
|
|
20
20
|
import "./paths-B-JdyKTL.js";
|
|
21
21
|
import "./chat-envelope-t_PEbhWC.js";
|
|
22
|
-
import "./models-config-
|
|
23
|
-
import "./model-catalog-
|
|
24
|
-
import "./call-
|
|
25
|
-
import "./tailnet-
|
|
22
|
+
import "./models-config-Cg9vUkxp.js";
|
|
23
|
+
import "./model-catalog-DlYPcFqP.js";
|
|
24
|
+
import "./call-Ce8vjHmH.js";
|
|
25
|
+
import "./tailnet-Dd530XEB.js";
|
|
26
26
|
import "./provider-env-vars-Dx8rULyl.js";
|
|
27
27
|
import "./prompt-style-BmwLwm5B.js";
|
|
28
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
29
|
-
import "./issue-format-
|
|
30
|
-
import "./onboard-helpers-
|
|
31
|
-
import "./openai-codex-model-default-
|
|
32
|
-
import { At as setXiaomiApiKey, B as applyVeniceConfig, Ct as setQianfanApiKey, Dt as setVercelAiGatewayApiKey, Et as setVeniceApiKey, H as applyXaiConfig, I as applySyntheticConfig, J as applyLitellmConfig, K as applyZaiConfig, M as applyOpenrouterConfig, O as applyMoonshotConfig, Ot as setVolcengineApiKey, P as applyQianfanConfig, Q as applyVercelAiGatewayConfig, R as applyTogetherConfig, S as applyMistralConfig, St as setOpenrouterApiKey, T as applyModelStudioConfigCn, Tt as setTogetherApiKey, W as applyXiaomiConfig, X as applyCloudflareAiGatewayConfig, _t as setModelStudioApiKey, b as applyKimiCodeConfig, bt as setOpencodeGoApiKey, ct as setByteplusApiKey, dt as setHuggingfaceApiKey, ft as setKilocodeApiKey, g as applyHuggingfaceConfig, gt as setMistralApiKey, h as applyAuthProfileConfig, ht as setMinimaxApiKey, jt as setZaiApiKey, k as applyMoonshotConfigCn, kt as setXaiApiKey, l as applyMinimaxApiConfig, lt as setCloudflareAiGatewayConfig, mt as setLitellmApiKey, n as validateAnthropicSetupToken, p as applyMinimaxConfig, pt as setKimiCodingApiKey, r as applyOpencodeGoConfig, s as applyOpencodeZenConfig, st as setAnthropicApiKey, t as buildTokenProfileId, u as applyMinimaxApiConfigCn, ut as setGeminiApiKey, v as applyKilocodeConfig, vt as setMoonshotApiKey, w as applyModelStudioConfig, wt as setSyntheticApiKey, xt as setOpencodeZenApiKey, yt as setOpenaiApiKey } from "./auth-token-
|
|
33
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
34
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
35
|
-
import { t as configureOllamaNonInteractive } from "./ollama-setup-
|
|
36
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
28
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-D_qbnasd.js";
|
|
29
|
+
import "./issue-format-DbKknWy1.js";
|
|
30
|
+
import "./onboard-helpers-Dt3bHndL.js";
|
|
31
|
+
import "./openai-codex-model-default-BYIJH6vZ.js";
|
|
32
|
+
import { At as setXiaomiApiKey, B as applyVeniceConfig, Ct as setQianfanApiKey, Dt as setVercelAiGatewayApiKey, Et as setVeniceApiKey, H as applyXaiConfig, I as applySyntheticConfig, J as applyLitellmConfig, K as applyZaiConfig, M as applyOpenrouterConfig, O as applyMoonshotConfig, Ot as setVolcengineApiKey, P as applyQianfanConfig, Q as applyVercelAiGatewayConfig, R as applyTogetherConfig, S as applyMistralConfig, St as setOpenrouterApiKey, T as applyModelStudioConfigCn, Tt as setTogetherApiKey, W as applyXiaomiConfig, X as applyCloudflareAiGatewayConfig, _t as setModelStudioApiKey, b as applyKimiCodeConfig, bt as setOpencodeGoApiKey, ct as setByteplusApiKey, dt as setHuggingfaceApiKey, ft as setKilocodeApiKey, g as applyHuggingfaceConfig, gt as setMistralApiKey, h as applyAuthProfileConfig, ht as setMinimaxApiKey, jt as setZaiApiKey, k as applyMoonshotConfigCn, kt as setXaiApiKey, l as applyMinimaxApiConfig, lt as setCloudflareAiGatewayConfig, mt as setLitellmApiKey, n as validateAnthropicSetupToken, p as applyMinimaxConfig, pt as setKimiCodingApiKey, r as applyOpencodeGoConfig, s as applyOpencodeZenConfig, st as setAnthropicApiKey, t as buildTokenProfileId, u as applyMinimaxApiConfigCn, ut as setGeminiApiKey, v as applyKilocodeConfig, vt as setMoonshotApiKey, w as applyModelStudioConfig, wt as setSyntheticApiKey, xt as setOpencodeZenApiKey, yt as setOpenaiApiKey } from "./auth-token-BE6nISKT.js";
|
|
33
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-GgDZhvmV.js";
|
|
34
|
+
import { r as applyPrimaryModel } from "./model-picker-BdabNhjk.js";
|
|
35
|
+
import { t as configureOllamaNonInteractive } from "./ollama-setup-bTrV2RqI.js";
|
|
36
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-W8wE0yre.js";
|
|
37
37
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
38
38
|
function parseEnvVarNameFromSourceLabel(source) {
|
|
39
39
|
if (!source) return;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { K as SYNTHETIC_DEFAULT_MODEL_REF, M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, X as VENICE_DEFAULT_MODEL_REF, at as isHuggingfacePolicyLocked, ba as generateChutesPkce, g as resolveDefaultModelForAgent, ic as upsertAuthProfile, it as discoverHuggingfaceModels, mc as resolveOpenClawAgentDir, sc as ensureAuthProfileStore, tc as listProfilesForProvider, va as CHUTES_AUTHORIZE_ENDPOINT, vt as KILOCODE_DEFAULT_MODEL_REF, wt as resolveAuthProfileOrder, xa as parseOAuthCallbackInput, ya as exchangeChutesCodeForTokens, yt as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF } from "./model-selection-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { Jt as isLoopbackHost } from "./call-
|
|
6
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
7
|
-
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-
|
|
8
|
-
import { u as openUrl } from "./onboard-helpers-
|
|
9
|
-
import { n as applyOpenAICodexModelDefault, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-
|
|
10
|
-
import { $ as applyVercelAiGatewayProviderConfig, A as applyMoonshotProviderConfig, At as setXiaomiApiKey, B as applyVeniceConfig, C as applyMistralProviderConfig, Ct as setQianfanApiKey, D as applyModelStudioProviderConfigCn, Dt as setVercelAiGatewayApiKey, E as applyModelStudioProviderConfig, Et as setVeniceApiKey, F as applyQianfanProviderConfig, Ft as MODELSTUDIO_DEFAULT_MODEL_REF, G as applyXiaomiProviderConfig, H as applyXaiConfig, I as applySyntheticConfig, It as MOONSHOT_DEFAULT_MODEL_REF, J as applyLitellmConfig, K as applyZaiConfig, L as applySyntheticProviderConfig, Lt as QIANFAN_DEFAULT_MODEL_REF, M as applyOpenrouterConfig, Mt as writeOAuthCredentials, N as applyOpenrouterProviderConfig, Nt as KIMI_CODING_MODEL_REF, O as applyMoonshotConfig, Ot as setVolcengineApiKey, P as applyQianfanConfig, Pt as MISTRAL_DEFAULT_MODEL_REF, Q as applyVercelAiGatewayConfig, R as applyTogetherConfig, Rt as XAI_DEFAULT_MODEL_REF, S as applyMistralConfig, St as setOpenrouterApiKey, T as applyModelStudioConfigCn, Tt as setTogetherApiKey, U as applyXaiProviderConfig, V as applyVeniceProviderConfig, W as applyXiaomiConfig, X as applyCloudflareAiGatewayConfig, Y as applyLitellmProviderConfig, Z as applyCloudflareAiGatewayProviderConfig, _ as applyHuggingfaceProviderConfig, _t as setModelStudioApiKey, a as OPENCODE_GO_DEFAULT_MODEL_REF, at as XIAOMI_DEFAULT_MODEL_REF, b as applyKimiCodeConfig, bt as setOpencodeGoApiKey, c as applyOpencodeZenProviderConfig, ct as setByteplusApiKey, d as applyMinimaxApiProviderConfig, dt as setHuggingfaceApiKey, et as HUGGINGFACE_DEFAULT_MODEL_REF, f as applyMinimaxApiProviderConfigCn, ft as setKilocodeApiKey, gt as setMistralApiKey, h as applyAuthProfileConfig, ht as setMinimaxApiKey, i as applyOpencodeGoProviderConfig, it as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, j as applyMoonshotProviderConfigCn, jt as setZaiApiKey, k as applyMoonshotConfigCn, kt as setXaiApiKey, l as applyMinimaxApiConfig, lt as setCloudflareAiGatewayConfig, m as applyMinimaxProviderConfig, mt as setLitellmApiKey, n as validateAnthropicSetupToken, nt as OPENROUTER_DEFAULT_MODEL_REF, ot as ZAI_DEFAULT_MODEL_REF, p as applyMinimaxConfig, pt as setKimiCodingApiKey, q as applyZaiProviderConfig, r as applyOpencodeGoConfig, rt as TOGETHER_DEFAULT_MODEL_REF, s as applyOpencodeZenConfig, st as setAnthropicApiKey, t as buildTokenProfileId, tt as LITELLM_DEFAULT_MODEL_REF, u as applyMinimaxApiConfigCn, ut as setGeminiApiKey, v as applyKilocodeConfig, vt as setMoonshotApiKey, w as applyModelStudioConfig, wt as setSyntheticApiKey, x as applyKimiCodeProviderConfig, xt as setOpencodeZenApiKey, y as applyKilocodeProviderConfig, yt as setOpenaiApiKey, z as applyTogetherProviderConfig } from "./auth-token-
|
|
2
|
+
import { K as SYNTHETIC_DEFAULT_MODEL_REF, M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, X as VENICE_DEFAULT_MODEL_REF, at as isHuggingfacePolicyLocked, ba as generateChutesPkce, g as resolveDefaultModelForAgent, ic as upsertAuthProfile, it as discoverHuggingfaceModels, mc as resolveOpenClawAgentDir, sc as ensureAuthProfileStore, tc as listProfilesForProvider, va as CHUTES_AUTHORIZE_ENDPOINT, vt as KILOCODE_DEFAULT_MODEL_REF, wt as resolveAuthProfileOrder, xa as parseOAuthCallbackInput, ya as exchangeChutesCodeForTokens, yt as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF } from "./model-selection-DU-DNNW7.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-BtBiWr2U.js";
|
|
5
|
+
import { Jt as isLoopbackHost } from "./call-7be5mSn_.js";
|
|
6
|
+
import { t as enablePluginInConfig } from "./enable-DevEDLTp.js";
|
|
7
|
+
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-CJra1kZX.js";
|
|
8
|
+
import { u as openUrl } from "./onboard-helpers-C-tI0ORj.js";
|
|
9
|
+
import { n as applyOpenAICodexModelDefault, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-5GXfiA_D.js";
|
|
10
|
+
import { $ as applyVercelAiGatewayProviderConfig, A as applyMoonshotProviderConfig, At as setXiaomiApiKey, B as applyVeniceConfig, C as applyMistralProviderConfig, Ct as setQianfanApiKey, D as applyModelStudioProviderConfigCn, Dt as setVercelAiGatewayApiKey, E as applyModelStudioProviderConfig, Et as setVeniceApiKey, F as applyQianfanProviderConfig, Ft as MODELSTUDIO_DEFAULT_MODEL_REF, G as applyXiaomiProviderConfig, H as applyXaiConfig, I as applySyntheticConfig, It as MOONSHOT_DEFAULT_MODEL_REF, J as applyLitellmConfig, K as applyZaiConfig, L as applySyntheticProviderConfig, Lt as QIANFAN_DEFAULT_MODEL_REF, M as applyOpenrouterConfig, Mt as writeOAuthCredentials, N as applyOpenrouterProviderConfig, Nt as KIMI_CODING_MODEL_REF, O as applyMoonshotConfig, Ot as setVolcengineApiKey, P as applyQianfanConfig, Pt as MISTRAL_DEFAULT_MODEL_REF, Q as applyVercelAiGatewayConfig, R as applyTogetherConfig, Rt as XAI_DEFAULT_MODEL_REF, S as applyMistralConfig, St as setOpenrouterApiKey, T as applyModelStudioConfigCn, Tt as setTogetherApiKey, U as applyXaiProviderConfig, V as applyVeniceProviderConfig, W as applyXiaomiConfig, X as applyCloudflareAiGatewayConfig, Y as applyLitellmProviderConfig, Z as applyCloudflareAiGatewayProviderConfig, _ as applyHuggingfaceProviderConfig, _t as setModelStudioApiKey, a as OPENCODE_GO_DEFAULT_MODEL_REF, at as XIAOMI_DEFAULT_MODEL_REF, b as applyKimiCodeConfig, bt as setOpencodeGoApiKey, c as applyOpencodeZenProviderConfig, ct as setByteplusApiKey, d as applyMinimaxApiProviderConfig, dt as setHuggingfaceApiKey, et as HUGGINGFACE_DEFAULT_MODEL_REF, f as applyMinimaxApiProviderConfigCn, ft as setKilocodeApiKey, gt as setMistralApiKey, h as applyAuthProfileConfig, ht as setMinimaxApiKey, i as applyOpencodeGoProviderConfig, it as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, j as applyMoonshotProviderConfigCn, jt as setZaiApiKey, k as applyMoonshotConfigCn, kt as setXaiApiKey, l as applyMinimaxApiConfig, lt as setCloudflareAiGatewayConfig, m as applyMinimaxProviderConfig, mt as setLitellmApiKey, n as validateAnthropicSetupToken, nt as OPENROUTER_DEFAULT_MODEL_REF, ot as ZAI_DEFAULT_MODEL_REF, p as applyMinimaxConfig, pt as setKimiCodingApiKey, q as applyZaiProviderConfig, r as applyOpencodeGoConfig, rt as TOGETHER_DEFAULT_MODEL_REF, s as applyOpencodeZenConfig, st as setAnthropicApiKey, t as buildTokenProfileId, tt as LITELLM_DEFAULT_MODEL_REF, u as applyMinimaxApiConfigCn, ut as setGeminiApiKey, v as applyKilocodeConfig, vt as setMoonshotApiKey, w as applyModelStudioConfig, wt as setSyntheticApiKey, x as applyKimiCodeProviderConfig, xt as setOpencodeZenApiKey, y as applyKilocodeProviderConfig, yt as setOpenaiApiKey, z as applyTogetherProviderConfig } from "./auth-token-DeLPA2C5.js";
|
|
11
11
|
import { n as applyAgentDefaultModelPrimary, t as isRemoteEnvironment } from "./oauth-env-B6Y28TeU.js";
|
|
12
|
-
import { a as loginOpenAICodexOAuth, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
13
|
-
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-
|
|
14
|
-
import { r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
15
|
-
import { i as promptAndConfigureOllama, n as ensureOllamaModelPulled } from "./ollama-setup-
|
|
12
|
+
import { a as loginOpenAICodexOAuth, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BosQdg02.js";
|
|
13
|
+
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-DvF5RAGp.js";
|
|
14
|
+
import { r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-BZvJOgpa.js";
|
|
15
|
+
import { i as promptAndConfigureOllama, n as ensureOllamaModelPulled } from "./ollama-setup-C0EKmICU.js";
|
|
16
16
|
import { randomBytes } from "node:crypto";
|
|
17
17
|
import { createServer } from "node:http";
|
|
18
18
|
//#region src/commands/auth-choice.apply.anthropic.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-BJV7vkaX.js";
|
|
2
2
|
import "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import "./utils-CGU7Q77u.js";
|
|
4
|
-
import { Do as parseDurationMs, M as resolveEnvApiKey, bc as normalizeOptionalSecretInput, d as normalizeProviderId, ha as resolveApiKeyForProfile, ic as upsertAuthProfile, sc as ensureAuthProfileStore, wt as resolveAuthProfileOrder, xc as normalizeSecretInput, xo as resolveDefaultSecretProviderAlias } from "./model-selection-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import { Do as parseDurationMs, M as resolveEnvApiKey, bc as normalizeOptionalSecretInput, d as normalizeProviderId, ha as resolveApiKeyForProfile, ic as upsertAuthProfile, sc as ensureAuthProfileStore, wt as resolveAuthProfileOrder, xc as normalizeSecretInput, xo as resolveDefaultSecretProviderAlias } from "./model-selection-DU-DNNW7.js";
|
|
5
|
+
import "./agent-scope-BrJT9Gf9.js";
|
|
6
|
+
import "./openclaw-root-DbbVtnL2.js";
|
|
7
7
|
import "./logger-m0MK99MT.js";
|
|
8
8
|
import "./exec-B8ip-O6u.js";
|
|
9
9
|
import "./github-copilot-token-D37fjdwy.js";
|
|
@@ -11,27 +11,27 @@ import "./boolean-CJxfhBkG.js";
|
|
|
11
11
|
import "./env-6my-UEm4.js";
|
|
12
12
|
import "./env-overrides-CSdE_DWV.js";
|
|
13
13
|
import "./registry-BKJyEPHE.js";
|
|
14
|
-
import "./skills-
|
|
14
|
+
import "./skills-D7xInzjY.js";
|
|
15
15
|
import "./frontmatter-DTFXPyoL.js";
|
|
16
|
-
import "./path-alias-guards-
|
|
16
|
+
import "./path-alias-guards-DBFU_Tqb.js";
|
|
17
17
|
import "./plugins-Delv1GbW.js";
|
|
18
18
|
import "./paths-DHrunYJK.js";
|
|
19
19
|
import "./chat-envelope-CKaJSmSH.js";
|
|
20
|
-
import "./models-config-
|
|
21
|
-
import "./model-catalog-
|
|
22
|
-
import "./call-
|
|
23
|
-
import "./tailnet-
|
|
20
|
+
import "./models-config-xqqHZFkg.js";
|
|
21
|
+
import "./model-catalog-BtBiWr2U.js";
|
|
22
|
+
import "./call-7be5mSn_.js";
|
|
23
|
+
import "./tailnet-lUwvztzP.js";
|
|
24
24
|
import "./provider-env-vars-CyHs_bH9.js";
|
|
25
25
|
import "./prompt-style-Dc8jJv7n.js";
|
|
26
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
27
|
-
import "./issue-format-
|
|
28
|
-
import "./onboard-helpers-
|
|
29
|
-
import "./openai-codex-model-default-
|
|
30
|
-
import { At as setXiaomiApiKey, B as applyVeniceConfig, Ct as setQianfanApiKey, Dt as setVercelAiGatewayApiKey, Et as setVeniceApiKey, H as applyXaiConfig, I as applySyntheticConfig, J as applyLitellmConfig, K as applyZaiConfig, M as applyOpenrouterConfig, O as applyMoonshotConfig, Ot as setVolcengineApiKey, P as applyQianfanConfig, Q as applyVercelAiGatewayConfig, R as applyTogetherConfig, S as applyMistralConfig, St as setOpenrouterApiKey, T as applyModelStudioConfigCn, Tt as setTogetherApiKey, W as applyXiaomiConfig, X as applyCloudflareAiGatewayConfig, _t as setModelStudioApiKey, b as applyKimiCodeConfig, bt as setOpencodeGoApiKey, ct as setByteplusApiKey, dt as setHuggingfaceApiKey, ft as setKilocodeApiKey, g as applyHuggingfaceConfig, gt as setMistralApiKey, h as applyAuthProfileConfig, ht as setMinimaxApiKey, jt as setZaiApiKey, k as applyMoonshotConfigCn, kt as setXaiApiKey, l as applyMinimaxApiConfig, lt as setCloudflareAiGatewayConfig, mt as setLitellmApiKey, n as validateAnthropicSetupToken, p as applyMinimaxConfig, pt as setKimiCodingApiKey, r as applyOpencodeGoConfig, s as applyOpencodeZenConfig, st as setAnthropicApiKey, t as buildTokenProfileId, u as applyMinimaxApiConfigCn, ut as setGeminiApiKey, v as applyKilocodeConfig, vt as setMoonshotApiKey, w as applyModelStudioConfig, wt as setSyntheticApiKey, xt as setOpencodeZenApiKey, yt as setOpenaiApiKey } from "./auth-token-
|
|
31
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
32
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
33
|
-
import { t as configureOllamaNonInteractive } from "./ollama-setup-
|
|
34
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
26
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-CJra1kZX.js";
|
|
27
|
+
import "./issue-format-hszNX8Io.js";
|
|
28
|
+
import "./onboard-helpers-C-tI0ORj.js";
|
|
29
|
+
import "./openai-codex-model-default-5GXfiA_D.js";
|
|
30
|
+
import { At as setXiaomiApiKey, B as applyVeniceConfig, Ct as setQianfanApiKey, Dt as setVercelAiGatewayApiKey, Et as setVeniceApiKey, H as applyXaiConfig, I as applySyntheticConfig, J as applyLitellmConfig, K as applyZaiConfig, M as applyOpenrouterConfig, O as applyMoonshotConfig, Ot as setVolcengineApiKey, P as applyQianfanConfig, Q as applyVercelAiGatewayConfig, R as applyTogetherConfig, S as applyMistralConfig, St as setOpenrouterApiKey, T as applyModelStudioConfigCn, Tt as setTogetherApiKey, W as applyXiaomiConfig, X as applyCloudflareAiGatewayConfig, _t as setModelStudioApiKey, b as applyKimiCodeConfig, bt as setOpencodeGoApiKey, ct as setByteplusApiKey, dt as setHuggingfaceApiKey, ft as setKilocodeApiKey, g as applyHuggingfaceConfig, gt as setMistralApiKey, h as applyAuthProfileConfig, ht as setMinimaxApiKey, jt as setZaiApiKey, k as applyMoonshotConfigCn, kt as setXaiApiKey, l as applyMinimaxApiConfig, lt as setCloudflareAiGatewayConfig, mt as setLitellmApiKey, n as validateAnthropicSetupToken, p as applyMinimaxConfig, pt as setKimiCodingApiKey, r as applyOpencodeGoConfig, s as applyOpencodeZenConfig, st as setAnthropicApiKey, t as buildTokenProfileId, u as applyMinimaxApiConfigCn, ut as setGeminiApiKey, v as applyKilocodeConfig, vt as setMoonshotApiKey, w as applyModelStudioConfig, wt as setSyntheticApiKey, xt as setOpencodeZenApiKey, yt as setOpenaiApiKey } from "./auth-token-DeLPA2C5.js";
|
|
31
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-DvF5RAGp.js";
|
|
32
|
+
import { r as applyPrimaryModel } from "./model-picker-BZvJOgpa.js";
|
|
33
|
+
import { t as configureOllamaNonInteractive } from "./ollama-setup-C0EKmICU.js";
|
|
34
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-C3vRGHsc.js";
|
|
35
35
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
36
36
|
function parseEnvVarNameFromSourceLabel(source) {
|
|
37
37
|
if (!source) return;
|