activeclaw 2026.4.5 → 2026.4.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/{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-CCHm3dnF.js → agent-CMfazMZh.js} +11 -11
- package/dist/{agent-BLSLlPLk.js → agent-JPiOsp4w.js} +8 -8
- package/dist/{agent-scope-Dv5h0qQE.js → agent-scope-BrJT9Gf9.js} +17 -17
- package/dist/{agents-BxHLH0uE.js → agents-BFneTNaM.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-tokGZmzT.js → auth-choice-CBs23Eut.js} +13 -13
- package/dist/{auth-choice-DMcjsacO.js → auth-choice-DKqoMQkv.js} +14 -14
- package/dist/{auth-choice-CzIHMC2n.js → auth-choice-DWfkvDEv.js} +18 -18
- package/dist/{auth-choice-BOV3mxdG.js → auth-choice-LkLMeioa.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 +3 -3
- 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-DbKTl72b.js} +2 -2
- package/dist/{channel-options-DiGuGjgV.js → channel-options-a0rwBOBp.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-2VIPyG8m.js} +55 -55
- package/dist/{channels-cli-DvKsiDcY.js → channels-cli-BG1xCXaW.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-CX0-e1Do.js → cli-He5MwTZv.js} +31 -31
- package/dist/{cli-Nb2Rv2SE.js → cli-McCicHl-.js} +39 -39
- package/dist/{command-registry-B1NKrz1S.js → command-registry-B4XSKnqk.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-DBxHCU3Q.js} +44 -35
- package/dist/compact.runtime-D3MiFKq0.js +66 -0
- package/dist/{compact.runtime-Cl5rju7L.js → compact.runtime-DKQKkff5.js} +9 -9
- package/dist/{compact.runtime-B7P5LnIa.js → compact.runtime-DcTpLwZ5.js} +31 -31
- package/dist/compact.runtime-DvhVgC1j.js +28 -0
- package/dist/{completion-cli-BkGeOB0Y.js → completion-cli-BXlBKnlj.js} +2 -2
- package/dist/{completion-cli-DQ5HyrvM.js → completion-cli-C0IxNzBH.js} +12 -12
- package/dist/{config-cli-CiLzQLbQ.js → config-cli-C4ryG2Rf.js} +4 -4
- package/dist/{config-cli-BKXR8uQg.js → config-cli-rH6YNttY.js} +8 -8
- 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-BfCm4pl9.js} +17 -17
- package/dist/{configure-B7kIEfSP.js → configure-CuFhFIhR.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-BMhNBLlZ.js} +2 -2
- package/dist/{doctor-completion-Cr_mm4ZQ.js → doctor-completion-Bhzly0Le.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-BOZLG619.js → gateway-cli-X1ZtTIn1.js} +55 -55
- package/dist/{gateway-cli-C88jp3Aw.js → gateway-cli-nYAUoRqi.js} +99 -99
- 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-D22GmS6O.js} +4 -4
- package/dist/{health-DKId61cm.js → health-I2eelBJ0.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-B8yce8aT.js} +46 -46
- package/dist/{hooks-cli-D4EdsaZd.js → hooks-cli-BpGVDC8n.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-BouiRS5o.js} +12 -12
- package/dist/{models-cli-kMKsts8T.js → models-cli-CXzAbJ5D.js} +38 -38
- package/dist/{models-cli-DrLVOzUK.js → models-cli-KmmlfVy4.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-BO6SGdLs.js → npm-resolution-Bn1LgQFf.js} +2 -2
- package/dist/{npm-resolution-Dc-9fZOQ.js → npm-resolution-BtQxqgSa.js} +4 -4
- 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-Cve2lx8Q.js} +7 -7
- package/dist/{onboard-C88F-Y13.js → onboard-DUlLUrme.js} +7 -7
- package/dist/{onboard-channels-D8cEPFj3.js → onboard-channels-C3Fr6P4C.js} +9 -9
- package/dist/{onboard-channels-CKg0sLah.js → onboard-channels-D9mYZZtF.js} +5 -5
- 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-CuMZLiwZ.js → onboarding-B47HB8MD.js} +14 -14
- package/dist/{onboarding-CGx-wanB.js → onboarding-Dj9u7X0q.js} +15 -15
- package/dist/{onboarding.finalize-4_qfJYB5.js → onboarding.finalize-C-pR8_RE.js} +52 -52
- package/dist/{onboarding.finalize-CT3LVJ86.js → onboarding.finalize-JG_vd8zz.js} +40 -40
- 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-XOWzcU4v.js} +29 -20
- package/dist/{pi-embedded-LWGrAjSd.js → pi-embedded-cW_upWzb.js} +125 -116
- 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-DMXyfhbZ.js → plugin-registry-B2Xg5cIZ.js} +2 -2
- package/dist/{plugin-registry-BLdJsHwq.js → plugin-registry-Cvr7jdxU.js} +3 -3
- 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 +12 -0
- package/dist/plugin-sdk/telegram.js +12 -0
- package/dist/{plugins-cli-Mefrnu70.js → plugins-cli-B65JT-pj.js} +33 -33
- package/dist/{plugins-cli-Ckbdtcng.js → plugins-cli-Crxf_ppT.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-Da383ALS.js} +38 -38
- package/dist/{program-context-CKwgiqKA.js → program-context-BCpzWqA0.js} +35 -35
- package/dist/{prompt-select-styled-8JBrpJWx.js → prompt-select-styled-CX2-E6Ws.js} +17 -17
- package/dist/{prompt-select-styled-Dj1guzwc.js → prompt-select-styled-DJXH3Ik2.js} +28 -28
- package/dist/{provider-auth-helpers-YFTUV89g.js → provider-auth-helpers-3K1-dUeB.js} +5 -5
- package/dist/{provider-auth-helpers-Bt0HFLar.js → provider-auth-helpers-CuFWByxX.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-DJ14KYnV.js → register.agent-C4BazelG.js} +65 -65
- package/dist/{register.agent-CDre9OAT.js → register.agent-F4PYdKIV.js} +49 -49
- 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-DuYlUfX0.js +117 -0
- package/dist/{register.configure-MZ2oMFlt.js → register.configure-uivoHsx6.js} +53 -53
- package/dist/{register.maintenance-8vlFCAL5.js → register.maintenance-CncGXJcn.js} +46 -46
- package/dist/{register.maintenance-CB5u00DB.js → register.maintenance-D1NhSg9p.js} +59 -59
- package/dist/{register.message-LPqeYXRd.js → register.message-CkSYWM9C.js} +33 -33
- package/dist/{register.message-B3Iqneie.js → register.message-pasYrjfU.js} +42 -42
- package/dist/{register.onboard-DHr-W74h.js → register.onboard-9kXyD5aU.js} +13 -13
- package/dist/{register.onboard-CTTwVj8d.js → register.onboard-CgARW4Sc.js} +8 -8
- package/dist/{register.setup-C3kh_TbN.js → register.setup-BtmboGlC.js} +16 -16
- package/dist/{register.setup-Dqfw5uEI.js → register.setup-D5oaiM2k.js} +8 -8
- package/dist/{register.status-health-sessions-QpojEQ9d.js → register.status-health-sessions-BaiIULJw.js} +52 -52
- package/dist/{register.status-health-sessions-DRKMAlro.js → register.status-health-sessions-QJWioUTw.js} +40 -40
- package/dist/{register.subclis-iSDvGATC.js → register.subclis-BJi9Wx12.js} +23 -23
- package/dist/{reply-Bf21Hr1C.js → reply-9_WxyHfF.js} +126 -117
- 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--Va-DnXT.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-DN1kwt_G.js → status-CjUDl8qO.js} +22 -22
- package/dist/{status-CLNIJHL1.js → status-DdFy329n.js} +13 -13
- package/dist/{status-C2lZy-Fn.js → status-DlhZNZRA.js} +1 -1
- 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-CrS70feQ.js +28 -0
- package/dist/{subagent-registry-runtime-BejBDRIf.js → subagent-registry-runtime-D68_xG8d.js} +9 -9
- package/dist/{subagent-registry-runtime-sAeDnTD0.js → subagent-registry-runtime-D8jeUc09.js} +31 -31
- package/dist/{subagent-registry-runtime-C2amjBau.js → subagent-registry-runtime-DLTR5fch.js} +39 -39
- 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-CTNv6NnW.js} +69 -69
- package/dist/{update-cli-DT51qYuH.js → update-cli-Ca6a5zyc.js} +49 -49
- package/dist/{update-B16VTBdW.js → update-lBwZcNEP.js} +2 -2
- package/dist/{update-runner-D0FkcfIv.js → update-runner-CSPTpzlG.js} +4 -4
- package/dist/{update-runner-Dk9ujIjY.js → update-runner-DgI58_4p.js} +16 -16
- 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/hub/src/inbound.ts +16 -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
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
|
2
2
|
import { _ as expandHomePrefix, a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BJV7vkaX.js";
|
|
3
3
|
import { B as readLoggingConfig, c as sanitizeForLog, p as defaultRuntime, t as createSubsystemLogger, u as stripAnsi } from "./subsystem-Dk5WUhC2.js";
|
|
4
4
|
import { C as truncateUtf16Safe, b as sleep, d as isRecord$3, f as normalizeE164, g as resolveUserPath, i as clampInt, m as resolveConfigDir, w as isPlainObject$2 } from "./utils-CGU7Q77u.js";
|
|
5
|
-
import { C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, T as DEFAULT_USER_FILENAME, _ as DEFAULT_AGENT_WORKSPACE_DIR, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, m as resolveSessionAgentId, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-
|
|
5
|
+
import { C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, T as DEFAULT_USER_FILENAME, _ as DEFAULT_AGENT_WORKSPACE_DIR, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, m as resolveSessionAgentId, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-BrJT9Gf9.js";
|
|
6
6
|
import { _ as normalizeOptionalAccountId, c as normalizeMainKey, g as normalizeAccountId$1, h as DEFAULT_ACCOUNT_ID, l as resolveAgentIdFromSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isBlockedObjectKey } from "./session-key-VV3RvEri.js";
|
|
7
7
|
import { n as normalizeHyphenSlug, r as normalizeStringEntries } from "./string-normalization-B7Qb9jnK.js";
|
|
8
|
-
import { a as openBoundaryFileSync, i as openBoundaryFile, o as openVerifiedFileSync, r as canUseBoundaryFileOpen, u as resolvePathViaExistingAncestorSync } from "./openclaw-root-
|
|
8
|
+
import { a as openBoundaryFileSync, i as openBoundaryFile, o as openVerifiedFileSync, r as canUseBoundaryFileOpen, u as resolvePathViaExistingAncestorSync } from "./openclaw-root-DbbVtnL2.js";
|
|
9
9
|
import { t as markOpenClawExecEnv } from "./openclaw-exec-env-BIs3Hzjh.js";
|
|
10
10
|
import { n as runExec } from "./exec-B8ip-O6u.js";
|
|
11
11
|
import { a as hasConfiguredSecretInput, c as normalizeResolvedSecretInputString, d as resolveSecretInputRef, i as coerceSecretRef, l as normalizeSecretInputString, n as ENV_SECRET_REF_ID_RE, o as isSecretRef, r as assertSecretInputResolved, s as isValidEnvSecretRefId, t as DEFAULT_SECRET_PROVIDER_ALIAS, u as parseEnvTemplateSecretRef } from "./types.secrets-ZqKzSyNC.js";
|
|
@@ -14,9 +14,9 @@ import { i as formatCliCommand, n as isPathInside } from "./scan-paths-meOkBmZg.
|
|
|
14
14
|
import { t as isTruthyEnvValue } from "./env-6my-UEm4.js";
|
|
15
15
|
import { _ as isDangerousHostEnvOverrideVarName, b as sanitizeHostExecEnv, i as sanitizeEnvVars, v as isDangerousHostEnvVarName, y as normalizeEnvVarKey } from "./env-overrides-CSdE_DWV.js";
|
|
16
16
|
import { a as getChatChannelMeta, l as normalizeChatChannelId, n as CHAT_CHANNEL_ORDER, p as requireActivePluginRegistry, t as CHANNEL_IDS, u as getActivePluginRegistry } from "./registry-BKJyEPHE.js";
|
|
17
|
-
import { C as resolveEffectiveEnableState, S as normalizePluginsConfig, c as resolveSandboxInputPath, f as loadPluginManifestRegistry, i as syncSkillsToWorkspace, l as resolveSandboxPath, w as resolveMemorySlotDecision } from "./skills-
|
|
17
|
+
import { C as resolveEffectiveEnableState, S as normalizePluginsConfig, c as resolveSandboxInputPath, f as loadPluginManifestRegistry, i as syncSkillsToWorkspace, l as resolveSandboxPath, w as resolveMemorySlotDecision } from "./skills-D7xInzjY.js";
|
|
18
18
|
import { a as materializeWindowsSpawnProgram, i as parseSessionArchiveTimestamp, n as isPrimarySessionTranscriptFileName, o as resolveWindowsSpawnProgram, r as isSessionArchiveArtifactName, s as runTasksWithConcurrency, t as formatSessionArchiveTimestamp } from "./artifacts-BVEmBB-K.js";
|
|
19
|
-
import { i as redactSensitiveText, r as getDefaultRedactPatterns, t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
19
|
+
import { i as redactSensitiveText, r as getDefaultRedactPatterns, t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DBFU_Tqb.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-Delv1GbW.js";
|
|
21
21
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, t as resolveDefaultSessionStorePath } from "./paths-DHrunYJK.js";
|
|
22
22
|
import { i as stripInboundMetadata, n as stripMessageIdHints, o as extractToolCallNames, r as extractInboundSenderLabel, s as hasToolCall, t as stripEnvelope } from "./chat-envelope-CKaJSmSH.js";
|
|
@@ -27,7 +27,7 @@ import os from "node:os";
|
|
|
27
27
|
import path, { posix } from "node:path";
|
|
28
28
|
import JSON5 from "json5";
|
|
29
29
|
import util, { isDeepStrictEqual } from "node:util";
|
|
30
|
-
import
|
|
30
|
+
import fsPromises from "node:fs/promises";
|
|
31
31
|
import { execFileSync, spawn } from "node:child_process";
|
|
32
32
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
33
33
|
import { getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai/oauth";
|
|
@@ -396,7 +396,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
396
396
|
}
|
|
397
397
|
async function readLockPayload$1(lockPath) {
|
|
398
398
|
try {
|
|
399
|
-
const raw = await
|
|
399
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
400
400
|
const parsed = JSON.parse(raw);
|
|
401
401
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
402
402
|
return {
|
|
@@ -410,9 +410,9 @@ async function readLockPayload$1(lockPath) {
|
|
|
410
410
|
async function resolveNormalizedFilePath(filePath) {
|
|
411
411
|
const resolved = path.resolve(filePath);
|
|
412
412
|
const dir = path.dirname(resolved);
|
|
413
|
-
await
|
|
413
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
414
414
|
try {
|
|
415
|
-
const realDir = await
|
|
415
|
+
const realDir = await fsPromises.realpath(dir);
|
|
416
416
|
return path.join(realDir, path.basename(resolved));
|
|
417
417
|
} catch {
|
|
418
418
|
return resolved;
|
|
@@ -426,7 +426,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
426
426
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
427
427
|
}
|
|
428
428
|
try {
|
|
429
|
-
const stat = await
|
|
429
|
+
const stat = await fsPromises.stat(lockPath);
|
|
430
430
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
431
431
|
} catch {
|
|
432
432
|
return true;
|
|
@@ -439,7 +439,7 @@ async function releaseHeldLock$1(normalizedFile) {
|
|
|
439
439
|
if (current.count > 0) return;
|
|
440
440
|
HELD_LOCKS$1.delete(normalizedFile);
|
|
441
441
|
await current.handle.close().catch(() => void 0);
|
|
442
|
-
await
|
|
442
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
443
443
|
}
|
|
444
444
|
async function acquireFileLock(filePath, options) {
|
|
445
445
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -454,7 +454,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
454
454
|
}
|
|
455
455
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
456
456
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
457
|
-
const handle = await
|
|
457
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
458
458
|
await handle.writeFile(JSON.stringify({
|
|
459
459
|
pid: process.pid,
|
|
460
460
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -471,7 +471,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
471
471
|
} catch (err) {
|
|
472
472
|
if (err.code !== "EEXIST") throw err;
|
|
473
473
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
474
|
-
await
|
|
474
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
475
475
|
continue;
|
|
476
476
|
}
|
|
477
477
|
if (attempt >= attempts - 1) break;
|
|
@@ -7614,6 +7614,18 @@ const AgentDefaultsSchema = z.object({
|
|
|
7614
7614
|
contextTokens: z.number().int().positive().optional(),
|
|
7615
7615
|
cliBackends: z.record(z.string(), CliBackendSchema).optional(),
|
|
7616
7616
|
memorySearch: MemorySearchSchema,
|
|
7617
|
+
memoryRecall: z.object({
|
|
7618
|
+
enabled: z.boolean().optional(),
|
|
7619
|
+
minMessageLength: z.number().int().nonnegative().optional(),
|
|
7620
|
+
maxResults: z.number().int().positive().optional(),
|
|
7621
|
+
minScore: z.number().min(0).max(1).optional(),
|
|
7622
|
+
maxTokens: z.number().int().positive().optional(),
|
|
7623
|
+
skipHeartbeats: z.boolean().optional(),
|
|
7624
|
+
skipCron: z.boolean().optional(),
|
|
7625
|
+
excludeBootstrapped: z.boolean().optional(),
|
|
7626
|
+
randomSlot: z.boolean().optional(),
|
|
7627
|
+
respectTemporalDecay: z.boolean().optional()
|
|
7628
|
+
}).strict().optional(),
|
|
7617
7629
|
history: HistorySchema,
|
|
7618
7630
|
contextPruning: z.object({
|
|
7619
7631
|
mode: z.union([z.literal("off"), z.literal("cache-ttl")]).optional(),
|
|
@@ -11844,7 +11856,7 @@ async function refreshQwenPortalCredentials(credentials) {
|
|
|
11844
11856
|
//#region src/security/audit-fs.ts
|
|
11845
11857
|
async function safeStat(targetPath) {
|
|
11846
11858
|
try {
|
|
11847
|
-
const lst = await
|
|
11859
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
11848
11860
|
return {
|
|
11849
11861
|
ok: true,
|
|
11850
11862
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -11883,7 +11895,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
11883
11895
|
let effectiveMode = st.mode;
|
|
11884
11896
|
let effectiveIsDir = st.isDir;
|
|
11885
11897
|
if (st.isSymlink) try {
|
|
11886
|
-
const target = await
|
|
11898
|
+
const target = await fsPromises.stat(targetPath);
|
|
11887
11899
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
11888
11900
|
effectiveIsDir = target.isDirectory();
|
|
11889
11901
|
} catch {}
|
|
@@ -12115,7 +12127,7 @@ async function assertSecurePath(params) {
|
|
|
12115
12127
|
if (stat.isSymlink) {
|
|
12116
12128
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
12117
12129
|
try {
|
|
12118
|
-
effectivePath = await
|
|
12130
|
+
effectivePath = await fsPromises.realpath(effectivePath);
|
|
12119
12131
|
} catch {
|
|
12120
12132
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
12121
12133
|
}
|
|
@@ -12161,7 +12173,7 @@ async function readFileProviderPayload(params) {
|
|
|
12161
12173
|
}, timeoutMs);
|
|
12162
12174
|
});
|
|
12163
12175
|
try {
|
|
12164
|
-
const payload = await Promise.race([
|
|
12176
|
+
const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
12165
12177
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
12166
12178
|
const text = payload.toString("utf8");
|
|
12167
12179
|
if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
|
|
@@ -13234,10 +13246,10 @@ function clampToBudget(content, budget) {
|
|
|
13234
13246
|
async function ensureSessionHeader$1(params) {
|
|
13235
13247
|
const file = params.sessionFile;
|
|
13236
13248
|
try {
|
|
13237
|
-
await
|
|
13249
|
+
await fsPromises.stat(file);
|
|
13238
13250
|
return;
|
|
13239
13251
|
} catch {}
|
|
13240
|
-
await
|
|
13252
|
+
await fsPromises.mkdir(path.dirname(file), { recursive: true });
|
|
13241
13253
|
const entry = {
|
|
13242
13254
|
type: "session",
|
|
13243
13255
|
version: 2,
|
|
@@ -13245,7 +13257,7 @@ async function ensureSessionHeader$1(params) {
|
|
|
13245
13257
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
13246
13258
|
cwd: params.cwd
|
|
13247
13259
|
};
|
|
13248
|
-
await
|
|
13260
|
+
await fsPromises.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
13249
13261
|
}
|
|
13250
13262
|
function buildBootstrapContextFiles(files, opts) {
|
|
13251
13263
|
const maxChars = opts?.maxChars ?? 2e4;
|
|
@@ -14037,7 +14049,7 @@ function computeHash(input) {
|
|
|
14037
14049
|
//#region src/infra/json-files.ts
|
|
14038
14050
|
async function readJsonFile(filePath) {
|
|
14039
14051
|
try {
|
|
14040
|
-
const raw = await
|
|
14052
|
+
const raw = await fsPromises.readFile(filePath, "utf8");
|
|
14041
14053
|
return JSON.parse(raw);
|
|
14042
14054
|
} catch {
|
|
14043
14055
|
return null;
|
|
@@ -14055,19 +14067,19 @@ async function writeTextAtomic(filePath, content, options) {
|
|
|
14055
14067
|
const payload = options?.appendTrailingNewline && !content.endsWith("\n") ? `${content}\n` : content;
|
|
14056
14068
|
const mkdirOptions = { recursive: true };
|
|
14057
14069
|
if (typeof options?.ensureDirMode === "number") mkdirOptions.mode = options.ensureDirMode;
|
|
14058
|
-
await
|
|
14070
|
+
await fsPromises.mkdir(path.dirname(filePath), mkdirOptions);
|
|
14059
14071
|
const tmp = `${filePath}.${randomUUID()}.tmp`;
|
|
14060
14072
|
try {
|
|
14061
|
-
await
|
|
14073
|
+
await fsPromises.writeFile(tmp, payload, "utf8");
|
|
14062
14074
|
try {
|
|
14063
|
-
await
|
|
14075
|
+
await fsPromises.chmod(tmp, mode);
|
|
14064
14076
|
} catch {}
|
|
14065
|
-
await
|
|
14077
|
+
await fsPromises.rename(tmp, filePath);
|
|
14066
14078
|
try {
|
|
14067
|
-
await
|
|
14079
|
+
await fsPromises.chmod(filePath, mode);
|
|
14068
14080
|
} catch {}
|
|
14069
14081
|
} finally {
|
|
14070
|
-
await
|
|
14082
|
+
await fsPromises.rm(tmp, { force: true }).catch(() => void 0);
|
|
14071
14083
|
}
|
|
14072
14084
|
}
|
|
14073
14085
|
function createAsyncLock() {
|
|
@@ -14152,7 +14164,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
14152
14164
|
await held.handle.close();
|
|
14153
14165
|
} catch {}
|
|
14154
14166
|
try {
|
|
14155
|
-
await
|
|
14167
|
+
await fsPromises.rm(held.lockPath, { force: true });
|
|
14156
14168
|
} catch {}
|
|
14157
14169
|
})();
|
|
14158
14170
|
try {
|
|
@@ -14231,7 +14243,7 @@ function registerCleanupHandlers() {
|
|
|
14231
14243
|
}
|
|
14232
14244
|
async function readLockPayload(lockPath) {
|
|
14233
14245
|
try {
|
|
14234
|
-
const raw = await
|
|
14246
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
14235
14247
|
const parsed = JSON.parse(raw);
|
|
14236
14248
|
const payload = {};
|
|
14237
14249
|
if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
|
|
@@ -14275,7 +14287,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
|
|
|
14275
14287
|
if (!details.stale) return false;
|
|
14276
14288
|
if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
|
|
14277
14289
|
try {
|
|
14278
|
-
const stat = await
|
|
14290
|
+
const stat = await fsPromises.stat(lockPath);
|
|
14279
14291
|
return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
|
|
14280
14292
|
} catch (error) {
|
|
14281
14293
|
return error?.code !== "ENOENT";
|
|
@@ -14293,7 +14305,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
14293
14305
|
const nowMs = params.nowMs ?? Date.now();
|
|
14294
14306
|
let entries = [];
|
|
14295
14307
|
try {
|
|
14296
|
-
entries = await
|
|
14308
|
+
entries = await fsPromises.readdir(sessionsDir, { withFileTypes: true });
|
|
14297
14309
|
} catch (err) {
|
|
14298
14310
|
if (err.code === "ENOENT") return {
|
|
14299
14311
|
locks: [],
|
|
@@ -14312,7 +14324,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
14312
14324
|
removed: false
|
|
14313
14325
|
};
|
|
14314
14326
|
if (lockInfo.stale && removeStale) {
|
|
14315
|
-
await
|
|
14327
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
14316
14328
|
lockInfo.removed = true;
|
|
14317
14329
|
cleaned.push(lockInfo);
|
|
14318
14330
|
params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
|
|
@@ -14331,10 +14343,10 @@ async function acquireSessionWriteLock(params) {
|
|
|
14331
14343
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
14332
14344
|
const sessionFile = path.resolve(params.sessionFile);
|
|
14333
14345
|
const sessionDir = path.dirname(sessionFile);
|
|
14334
|
-
await
|
|
14346
|
+
await fsPromises.mkdir(sessionDir, { recursive: true });
|
|
14335
14347
|
let normalizedDir = sessionDir;
|
|
14336
14348
|
try {
|
|
14337
|
-
normalizedDir = await
|
|
14349
|
+
normalizedDir = await fsPromises.realpath(sessionDir);
|
|
14338
14350
|
} catch {}
|
|
14339
14351
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
14340
14352
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -14352,7 +14364,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
14352
14364
|
attempt += 1;
|
|
14353
14365
|
let handle = null;
|
|
14354
14366
|
try {
|
|
14355
|
-
handle = await
|
|
14367
|
+
handle = await fsPromises.open(lockPath, "wx");
|
|
14356
14368
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
14357
14369
|
const starttime = getProcessStartTime(process.pid);
|
|
14358
14370
|
const lockPayload = {
|
|
@@ -14378,7 +14390,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
14378
14390
|
await handle.close();
|
|
14379
14391
|
} catch {}
|
|
14380
14392
|
try {
|
|
14381
|
-
await
|
|
14393
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
14382
14394
|
} catch {}
|
|
14383
14395
|
}
|
|
14384
14396
|
if (err.code !== "EEXIST") throw err;
|
|
@@ -14393,7 +14405,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
14393
14405
|
stale: true,
|
|
14394
14406
|
staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
|
|
14395
14407
|
} : inspected, staleMs, nowMs)) {
|
|
14396
|
-
await
|
|
14408
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
14397
14409
|
continue;
|
|
14398
14410
|
}
|
|
14399
14411
|
const delay = Math.min(1e3, 50 * attempt);
|
|
@@ -14431,7 +14443,7 @@ async function withRegistryLock(registryPath, fn) {
|
|
|
14431
14443
|
}
|
|
14432
14444
|
async function readRegistryFromFile(registryPath, mode) {
|
|
14433
14445
|
try {
|
|
14434
|
-
const raw = await
|
|
14446
|
+
const raw = await fsPromises.readFile(registryPath, "utf-8");
|
|
14435
14447
|
const parsed = JSON.parse(raw);
|
|
14436
14448
|
if (isRegistryFile(parsed)) return parsed;
|
|
14437
14449
|
if (mode === "fallback") return { entries: [] };
|
|
@@ -19469,7 +19481,7 @@ function formatSandboxToolPolicyBlockedMessage(params) {
|
|
|
19469
19481
|
//#endregion
|
|
19470
19482
|
//#region src/agents/sandbox/workspace.ts
|
|
19471
19483
|
async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
19472
|
-
await
|
|
19484
|
+
await fsPromises.mkdir(workspaceDir, { recursive: true });
|
|
19473
19485
|
if (seedFrom) {
|
|
19474
19486
|
const seed = resolveUserPath(seedFrom);
|
|
19475
19487
|
const files = [
|
|
@@ -19485,7 +19497,7 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
19485
19497
|
const src = path.join(seed, name);
|
|
19486
19498
|
const dest = path.join(workspaceDir, name);
|
|
19487
19499
|
try {
|
|
19488
|
-
await
|
|
19500
|
+
await fsPromises.access(dest);
|
|
19489
19501
|
} catch {
|
|
19490
19502
|
try {
|
|
19491
19503
|
const opened = await openBoundaryFile({
|
|
@@ -19496,7 +19508,7 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
19496
19508
|
if (!opened.ok) continue;
|
|
19497
19509
|
try {
|
|
19498
19510
|
const content = fs.readFileSync(opened.fd, "utf-8");
|
|
19499
|
-
await
|
|
19511
|
+
await fsPromises.writeFile(dest, content, {
|
|
19500
19512
|
encoding: "utf-8",
|
|
19501
19513
|
flag: "wx"
|
|
19502
19514
|
});
|
|
@@ -19533,7 +19545,7 @@ async function ensureSandboxWorkspaceLayout(params) {
|
|
|
19533
19545
|
const message = error instanceof Error ? error.message : JSON.stringify(error);
|
|
19534
19546
|
defaultRuntime.error?.(`Sandbox skill sync failed: ${message}`);
|
|
19535
19547
|
}
|
|
19536
|
-
} else await
|
|
19548
|
+
} else await fsPromises.mkdir(workspaceDir, { recursive: true });
|
|
19537
19549
|
return {
|
|
19538
19550
|
agentWorkspaceDir,
|
|
19539
19551
|
scopeKey,
|
|
@@ -19543,7 +19555,7 @@ async function ensureSandboxWorkspaceLayout(params) {
|
|
|
19543
19555
|
}
|
|
19544
19556
|
async function resolveSandboxDockerUser(params) {
|
|
19545
19557
|
if (params.docker.user?.trim()) return params.docker;
|
|
19546
|
-
const stat = params.stat ?? ((workspaceDir) =>
|
|
19558
|
+
const stat = params.stat ?? ((workspaceDir) => fsPromises.stat(workspaceDir));
|
|
19547
19559
|
try {
|
|
19548
19560
|
const workspaceStat = await stat(params.workspaceDir);
|
|
19549
19561
|
const uid = Number.isInteger(workspaceStat.uid) ? workspaceStat.uid : null;
|
|
@@ -20768,11 +20780,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
20768
20780
|
return null;
|
|
20769
20781
|
}
|
|
20770
20782
|
async function withTempDir(fn) {
|
|
20771
|
-
const dir = await
|
|
20783
|
+
const dir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-img-"));
|
|
20772
20784
|
try {
|
|
20773
20785
|
return await fn(dir);
|
|
20774
20786
|
} finally {
|
|
20775
|
-
await
|
|
20787
|
+
await fsPromises.rm(dir, {
|
|
20776
20788
|
recursive: true,
|
|
20777
20789
|
force: true
|
|
20778
20790
|
}).catch(() => {});
|
|
@@ -20781,7 +20793,7 @@ async function withTempDir(fn) {
|
|
|
20781
20793
|
async function sipsMetadataFromBuffer(buffer) {
|
|
20782
20794
|
return await withTempDir(async (dir) => {
|
|
20783
20795
|
const input = path.join(dir, "in.img");
|
|
20784
|
-
await
|
|
20796
|
+
await fsPromises.writeFile(input, buffer);
|
|
20785
20797
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
20786
20798
|
"-g",
|
|
20787
20799
|
"pixelWidth",
|
|
@@ -20809,7 +20821,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
20809
20821
|
return await withTempDir(async (dir) => {
|
|
20810
20822
|
const input = path.join(dir, "in.img");
|
|
20811
20823
|
const output = path.join(dir, "out.jpg");
|
|
20812
|
-
await
|
|
20824
|
+
await fsPromises.writeFile(input, params.buffer);
|
|
20813
20825
|
await runExec("/usr/bin/sips", [
|
|
20814
20826
|
"-Z",
|
|
20815
20827
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -20826,14 +20838,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
20826
20838
|
timeoutMs: 2e4,
|
|
20827
20839
|
maxBuffer: 1024 * 1024
|
|
20828
20840
|
});
|
|
20829
|
-
return await
|
|
20841
|
+
return await fsPromises.readFile(output);
|
|
20830
20842
|
});
|
|
20831
20843
|
}
|
|
20832
20844
|
async function sipsConvertToJpeg(buffer) {
|
|
20833
20845
|
return await withTempDir(async (dir) => {
|
|
20834
20846
|
const input = path.join(dir, "in.heic");
|
|
20835
20847
|
const output = path.join(dir, "out.jpg");
|
|
20836
|
-
await
|
|
20848
|
+
await fsPromises.writeFile(input, buffer);
|
|
20837
20849
|
await runExec("/usr/bin/sips", [
|
|
20838
20850
|
"-s",
|
|
20839
20851
|
"format",
|
|
@@ -20845,7 +20857,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
20845
20857
|
timeoutMs: 2e4,
|
|
20846
20858
|
maxBuffer: 1024 * 1024
|
|
20847
20859
|
});
|
|
20848
|
-
return await
|
|
20860
|
+
return await fsPromises.readFile(output);
|
|
20849
20861
|
});
|
|
20850
20862
|
}
|
|
20851
20863
|
async function getImageMetadata(buffer) {
|
|
@@ -20896,7 +20908,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
20896
20908
|
return await withTempDir(async (dir) => {
|
|
20897
20909
|
const input = path.join(dir, "in.jpg");
|
|
20898
20910
|
const output = path.join(dir, "out.jpg");
|
|
20899
|
-
await
|
|
20911
|
+
await fsPromises.writeFile(input, buffer);
|
|
20900
20912
|
await runExec("/usr/bin/sips", [
|
|
20901
20913
|
...ops,
|
|
20902
20914
|
input,
|
|
@@ -20906,7 +20918,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
20906
20918
|
timeoutMs: 2e4,
|
|
20907
20919
|
maxBuffer: 1024 * 1024
|
|
20908
20920
|
});
|
|
20909
|
-
return await
|
|
20921
|
+
return await fsPromises.readFile(output);
|
|
20910
20922
|
});
|
|
20911
20923
|
}
|
|
20912
20924
|
async function resizeToJpeg(params) {
|
|
@@ -9219,6 +9219,18 @@ const AgentDefaultsSchema = z.object({
|
|
|
9219
9219
|
contextTokens: z.number().int().positive().optional(),
|
|
9220
9220
|
cliBackends: z.record(z.string(), CliBackendSchema).optional(),
|
|
9221
9221
|
memorySearch: MemorySearchSchema,
|
|
9222
|
+
memoryRecall: z.object({
|
|
9223
|
+
enabled: z.boolean().optional(),
|
|
9224
|
+
minMessageLength: z.number().int().nonnegative().optional(),
|
|
9225
|
+
maxResults: z.number().int().positive().optional(),
|
|
9226
|
+
minScore: z.number().min(0).max(1).optional(),
|
|
9227
|
+
maxTokens: z.number().int().positive().optional(),
|
|
9228
|
+
skipHeartbeats: z.boolean().optional(),
|
|
9229
|
+
skipCron: z.boolean().optional(),
|
|
9230
|
+
excludeBootstrapped: z.boolean().optional(),
|
|
9231
|
+
randomSlot: z.boolean().optional(),
|
|
9232
|
+
respectTemporalDecay: z.boolean().optional()
|
|
9233
|
+
}).strict().optional(),
|
|
9222
9234
|
history: HistorySchema,
|
|
9223
9235
|
contextPruning: z.object({
|
|
9224
9236
|
mode: z.union([z.literal("off"), z.literal("cache-ttl")]).optional(),
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { A as theme, O as colorize, k as isRich$1 } from "./subsystem-BEF5zTJO.js";
|
|
3
|
-
import { $o as buildModelAliasIndex, Ai as createConfigIO, As as resolveUsableCustomProviderApiKey, Cs as getCustomProviderApiKey, Dc as DEFAULT_PROVIDER, Ds as resolveAwsSdkEnvVarName, Ec as DEFAULT_MODEL, Es as resolveApiKeyForProvider, Fo as listProfilesForProvider, Jo as resolveOpenClawAgentDir, Li as readConfigFileSnapshotForWrite, Lo as setAuthProfileOrder, Mi as loadConfig, Oc as resolveAuthProfileDisplayLabel, Os as resolveEnvApiKey, Ps as shouldEnableShellEnvFallback, Ro as upsertAuthProfile, Vo as ensureAuthProfileStore, c as resolveProfileUnusableUntilForDisplay, cs as parseModelRef, di as resolveSecretRefString, ds as resolveConfiguredModelRef, es as findNormalizedProviderValue, fs as resolveDefaultModelForAgent, hc as isNonSecretApiKeyMarker, is as modelKey, js as getShellEnvAppliedKeys, ms as resolveModelRefFromString, n as resolveAuthProfileEligibility, qo as resolveAuthStorePathForDisplay, r as resolveAuthProfileOrder, ss as normalizeProviderId, ws as hasUsableCustomProviderApiKey, zi as setRuntimeConfigSnapshot } from "./auth-profiles-
|
|
3
|
+
import { $o as buildModelAliasIndex, Ai as createConfigIO, As as resolveUsableCustomProviderApiKey, Cs as getCustomProviderApiKey, Dc as DEFAULT_PROVIDER, Ds as resolveAwsSdkEnvVarName, Ec as DEFAULT_MODEL, Es as resolveApiKeyForProvider, Fo as listProfilesForProvider, Jo as resolveOpenClawAgentDir, Li as readConfigFileSnapshotForWrite, Lo as setAuthProfileOrder, Mi as loadConfig, Oc as resolveAuthProfileDisplayLabel, Os as resolveEnvApiKey, Ps as shouldEnableShellEnvFallback, Ro as upsertAuthProfile, Vo as ensureAuthProfileStore, c as resolveProfileUnusableUntilForDisplay, cs as parseModelRef, di as resolveSecretRefString, ds as resolveConfiguredModelRef, es as findNormalizedProviderValue, fs as resolveDefaultModelForAgent, hc as isNonSecretApiKeyMarker, is as modelKey, js as getShellEnvAppliedKeys, ms as resolveModelRefFromString, n as resolveAuthProfileEligibility, qo as resolveAuthStorePathForDisplay, r as resolveAuthProfileOrder, ss as normalizeProviderId, ws as hasUsableCustomProviderApiKey, zi as setRuntimeConfigSnapshot } from "./auth-profiles-D9Wn945p.js";
|
|
4
4
|
import { i as formatCliCommand } from "./scan-paths-1Ht0wvdC.js";
|
|
5
5
|
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-OAwT1oHV.js";
|
|
6
6
|
import { v as shortenHomePath } from "./utils-qah6hFG0.js";
|
|
7
7
|
import { r as normalizeStringEntries } from "./string-normalization-ChiSBXh2.js";
|
|
8
8
|
import { i as coerceSecretRef, l as normalizeSecretInputString } from "./types.secrets-CQ90JO4F.js";
|
|
9
9
|
import { t as parseDurationMs } from "./parse-duration-CFygqPrJ.js";
|
|
10
|
-
import { Hn as describeFailoverError, Sn as runEmbeddedPiAgent, St as loadProviderUsageSummary, Tt as resolveUsageProviderId, fr as resolveModelWithRegistry, ft as maskApiKey, ht as formatRemainingShort, mt as buildAuthHealthSummary, pt as DEFAULT_OAUTH_WARN_MS, wt as formatUsageWindowSummary } from "./compact-
|
|
10
|
+
import { Hn as describeFailoverError, Sn as runEmbeddedPiAgent, St as loadProviderUsageSummary, Tt as resolveUsageProviderId, fr as resolveModelWithRegistry, ft as maskApiKey, ht as formatRemainingShort, mt as buildAuthHealthSummary, pt as DEFAULT_OAUTH_WARN_MS, wt as formatUsageWindowSummary } from "./compact-DBxHCU3Q.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-B-JdyKTL.js";
|
|
12
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
13
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
14
|
-
import { i as getModelsCommandSecretTargetIds, o as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
12
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DFqVpswz.js";
|
|
13
|
+
import { n as loadModelCatalog } from "./model-catalog-DlYPcFqP.js";
|
|
14
|
+
import { i as getModelsCommandSecretTargetIds, o as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-lNjgc0CR.js";
|
|
15
15
|
import { r as withProgressTotals } from "./progress-DvzcL_95.js";
|
|
16
16
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BmwLwm5B.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-Ip5-1Hu7.js";
|
|
18
|
-
import { u as openUrl } from "./onboard-helpers-
|
|
18
|
+
import { u as openUrl } from "./onboard-helpers-Dt3bHndL.js";
|
|
19
19
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-B-mQ0pe0.js";
|
|
20
20
|
import { t as inferParamBFromIdOrName } from "./model-param-b-DtdfXLqw.js";
|
|
21
21
|
import { n as redactSecrets } from "./format-Dx-ne3mL.js";
|
|
22
|
-
import { a as formatMs, c as loadValidConfigOrThrow, d as resolveKnownAgentId, f as resolveModelKeysFromEntries, i as ensureFlagCompatibility, l as mergePrimaryFallbackConfig, m as updateConfig, n as applyOpenAICodexModelDefault, o as formatTokenK, p as resolveModelTarget, r as applyDefaultModelPrimaryUpdate, s as isLocalBaseUrl, t as OPENAI_CODEX_DEFAULT_MODEL, u as normalizeAlias } from "./openai-codex-model-default-
|
|
23
|
-
import { Mt as writeOAuthCredentials, h as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
22
|
+
import { a as formatMs, c as loadValidConfigOrThrow, d as resolveKnownAgentId, f as resolveModelKeysFromEntries, i as ensureFlagCompatibility, l as mergePrimaryFallbackConfig, m as updateConfig, n as applyOpenAICodexModelDefault, o as formatTokenK, p as resolveModelTarget, r as applyDefaultModelPrimaryUpdate, s as isLocalBaseUrl, t as OPENAI_CODEX_DEFAULT_MODEL, u as normalizeAlias } from "./openai-codex-model-default-BYIJH6vZ.js";
|
|
23
|
+
import { Mt as writeOAuthCredentials, h as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BE6nISKT.js";
|
|
24
24
|
import { t as isRemoteEnvironment } from "./oauth-env-NWN2T4c2.js";
|
|
25
|
-
import { n as logConfigUpdated } from "./logging-
|
|
26
|
-
import { a as loginOpenAICodexOAuth, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
25
|
+
import { n as logConfigUpdated } from "./logging-BHhuGbN8.js";
|
|
26
|
+
import { a as loginOpenAICodexOAuth, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CuFWByxX.js";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import fs from "node:fs/promises";
|
|
29
29
|
import crypto from "node:crypto";
|
|
@@ -992,8 +992,8 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
992
992
|
//#region src/commands/models/list.list-command.ts
|
|
993
993
|
async function modelsListCommand(opts, runtime) {
|
|
994
994
|
ensureFlagCompatibility(opts);
|
|
995
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
996
|
-
const { ensureOpenClawModelsJson } = await import("./models-config-
|
|
995
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-D9Wn945p.js").then((n) => n.t);
|
|
996
|
+
const { ensureOpenClawModelsJson } = await import("./models-config-Cg9vUkxp.js").then((n) => n.n);
|
|
997
997
|
const { sourceConfig, resolvedConfig: cfg } = await loadModelsConfigWithSource({
|
|
998
998
|
commandName: "models list",
|
|
999
999
|
runtime
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as theme, p as defaultRuntime } from "./subsystem-BEF5zTJO.js";
|
|
2
2
|
import "./paths-BfR2LXbA.js";
|
|
3
3
|
import "./boolean-BHdNsbzF.js";
|
|
4
|
-
import "./auth-profiles-
|
|
4
|
+
import "./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";
|
|
@@ -15,71 +15,71 @@ import "./skills-VQO3Anke.js";
|
|
|
15
15
|
import "./frontmatter-DAfBRAy7.js";
|
|
16
16
|
import "./redact-CxtZhh9L.js";
|
|
17
17
|
import "./path-alias-guards-DHv0a8uY.js";
|
|
18
|
-
import "./compact-
|
|
18
|
+
import "./compact-DBxHCU3Q.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 "./deliver-
|
|
22
|
+
import "./models-config-Cg9vUkxp.js";
|
|
23
|
+
import "./deliver-DvOSE6dK.js";
|
|
24
24
|
import "./delivery-queue-DDn4phct.js";
|
|
25
|
-
import "./diagnostic-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./fetch-
|
|
28
|
-
import "./send-
|
|
29
|
-
import "./pi-model-discovery-
|
|
30
|
-
import "./exec-approvals-allowlist-
|
|
31
|
-
import "./exec-safe-bin-runtime-policy-
|
|
32
|
-
import "./model-catalog-
|
|
25
|
+
import "./diagnostic-Bbd8nFqt.js";
|
|
26
|
+
import "./chunk-B0PHAL_m.js";
|
|
27
|
+
import "./fetch-hiM4UODI.js";
|
|
28
|
+
import "./send-TlYsQWZw.js";
|
|
29
|
+
import "./pi-model-discovery-DFqVpswz.js";
|
|
30
|
+
import "./exec-approvals-allowlist-Be63T3oT.js";
|
|
31
|
+
import "./exec-safe-bin-runtime-policy-BnTNRx5O.js";
|
|
32
|
+
import "./model-catalog-DlYPcFqP.js";
|
|
33
33
|
import "./local-roots-CY11yrWR.js";
|
|
34
|
-
import "./audio-transcription-runner-
|
|
34
|
+
import "./audio-transcription-runner-B8jxT-MB.js";
|
|
35
35
|
import "./errors-BaSZYLcU.js";
|
|
36
|
-
import "./fetch-guard-
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./api-key-rotation
|
|
36
|
+
import "./fetch-guard-dTCN4rW8.js";
|
|
37
|
+
import "./image-B4HCDVUj.js";
|
|
38
|
+
import "./api-key-rotation--yH6WXh1.js";
|
|
39
39
|
import "./proxy-fetch-DNrsTLo-.js";
|
|
40
40
|
import "./commands-BWrE-bab.js";
|
|
41
41
|
import "./session-cost-usage-BFC_eRBY.js";
|
|
42
|
-
import "./session-utils-
|
|
42
|
+
import "./session-utils-5dTolcMA.js";
|
|
43
43
|
import "./sqlite-Cz3Hl_xa.js";
|
|
44
44
|
import "./fs-safe-DOZviZ8W.js";
|
|
45
|
-
import "./call-
|
|
46
|
-
import "./tailnet-
|
|
47
|
-
import "./pi-tools.policy-
|
|
48
|
-
import "./pairing-store-
|
|
45
|
+
import "./call-Ce8vjHmH.js";
|
|
46
|
+
import "./tailnet-Dd530XEB.js";
|
|
47
|
+
import "./pi-tools.policy-D6UiE_gG.js";
|
|
48
|
+
import "./pairing-store-BeeSJLPy.js";
|
|
49
49
|
import "./exec-approvals-BVT7PLEI.js";
|
|
50
50
|
import "./logging-Cc9zHf-m.js";
|
|
51
51
|
import "./fetch-Dp611IaP.js";
|
|
52
|
-
import "./runtime-web-tools-
|
|
53
|
-
import "./runtime-
|
|
52
|
+
import "./runtime-web-tools-CWlvqBpH.js";
|
|
53
|
+
import "./runtime-DpfmBWKQ.js";
|
|
54
54
|
import "./stagger-BLMcBL-k.js";
|
|
55
|
-
import "./channel-selection-
|
|
56
|
-
import "./plugin-auto-enable-
|
|
57
|
-
import "./writer-
|
|
58
|
-
import "./manager-
|
|
55
|
+
import "./channel-selection-DMlnEgJc.js";
|
|
56
|
+
import "./plugin-auto-enable-fQ-uJndS.js";
|
|
57
|
+
import "./writer-ChWOWmJt.js";
|
|
58
|
+
import "./manager-DF7UBoKp.js";
|
|
59
59
|
import "./internal-BMd38Zvr.js";
|
|
60
60
|
import "./diagnostics-CQtxkHQh.js";
|
|
61
|
-
import "./search-manager-
|
|
61
|
+
import "./search-manager-Bj4BRNiF.js";
|
|
62
62
|
import "./store-Dinmjfnl.js";
|
|
63
|
-
import "./connection-auth-
|
|
63
|
+
import "./connection-auth-Uq6_taV8.js";
|
|
64
64
|
import "./memory-Scyulszq.js";
|
|
65
65
|
import { t as formatDocsLink } from "./links-hlmnhfEU.js";
|
|
66
66
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-CaS04_6b.js";
|
|
67
|
-
import "./command-secret-targets-
|
|
67
|
+
import "./command-secret-targets-lNjgc0CR.js";
|
|
68
68
|
import "./help-format-D89JlW3L.js";
|
|
69
69
|
import "./progress-DvzcL_95.js";
|
|
70
|
-
import "./memory-cli-
|
|
70
|
+
import "./memory-cli-BLSGcKsi.js";
|
|
71
71
|
import "./provider-env-vars-Dx8rULyl.js";
|
|
72
72
|
import "./prompt-style-BmwLwm5B.js";
|
|
73
73
|
import "./note-CNy1ZzH9.js";
|
|
74
74
|
import "./clack-prompter-Ip5-1Hu7.js";
|
|
75
|
-
import "./issue-format-
|
|
76
|
-
import "./onboard-helpers-
|
|
75
|
+
import "./issue-format-DbKknWy1.js";
|
|
76
|
+
import "./onboard-helpers-Dt3bHndL.js";
|
|
77
77
|
import "./table-B-mQ0pe0.js";
|
|
78
|
-
import "./openai-codex-model-default-
|
|
79
|
-
import "./auth-token-
|
|
80
|
-
import "./logging-
|
|
81
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
82
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
78
|
+
import "./openai-codex-model-default-BYIJH6vZ.js";
|
|
79
|
+
import "./auth-token-BE6nISKT.js";
|
|
80
|
+
import "./logging-BHhuGbN8.js";
|
|
81
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-CuFWByxX.js";
|
|
82
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-BouiRS5o.js";
|
|
83
83
|
import "./oauth-tls-preflight-C_UF1L4Y.js";
|
|
84
84
|
//#region src/cli/models-cli.ts
|
|
85
85
|
function runModelsCommand(action) {
|