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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { T as resolveAgentDir, _ as redactSensitiveText, k as resolveAgentWorkspaceDir, o as resolveSessionTranscriptsDirForAgent, w as resolveAgentConfig } from "./paths-
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { h as resolveUserPath, o as clampInt, s as clampNumber, x as truncateUtf16Safe } from "./logger-
|
|
5
|
-
import { D as resolveOllamaApiBase, E as retryAsync, Mi as resolveAgentHistoryConfig, S as resolveEnvApiKey, b as requireApiKey, mo as normalizeOptionalSecretInput, tn as onSessionTranscriptUpdate, x as resolveApiKeyForProvider, yo as normalizeResolvedSecretInputString } from "./model-selection-
|
|
6
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
7
|
-
import { c as formatErrorMessage, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
9
|
-
import { C as statRegularFile, S as isFileMissingError, _ as normalizeExtraMemoryPaths, a as listSessionFilesForAgent, b as remapChunkLines, c as chunkMarkdown, d as hashText, f as isExcludedMemoryPath, g as normalizeExcludedMemoryPaths, h as listMemoryFiles, i as buildSessionEntry, l as cosineSimilarity, m as isMemoryPath, o as sessionPathForFile, p as isIndexedTextPath, r as requireNodeSqlite, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as parseEmbedding, x as runWithConcurrency, y as readIndexedTextContent } from "./query-expansion-
|
|
1
|
+
import { T as resolveAgentDir, _ as redactSensitiveText, k as resolveAgentWorkspaceDir, o as resolveSessionTranscriptsDirForAgent, w as resolveAgentConfig } from "./paths-Bg_l6kdG.js";
|
|
2
|
+
import { s as resolveStateDir } from "./paths-L_hqOE5A.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CDH9S_yW.js";
|
|
4
|
+
import { h as resolveUserPath, o as clampInt, s as clampNumber, x as truncateUtf16Safe } from "./logger-BA9koAaC.js";
|
|
5
|
+
import { D as resolveOllamaApiBase, E as retryAsync, Mi as resolveAgentHistoryConfig, S as resolveEnvApiKey, b as requireApiKey, mo as normalizeOptionalSecretInput, tn as onSessionTranscriptUpdate, x as resolveApiKeyForProvider, yo as normalizeResolvedSecretInputString } from "./model-selection-CvKAj7nY.js";
|
|
6
|
+
import { t as isTruthyEnvValue } from "./env-Bhn5CLil.js";
|
|
7
|
+
import { c as formatErrorMessage, t as fetchWithSsrFGuard } from "./fetch-guard-Bd5oI7xu.js";
|
|
8
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BHAUzS3H.js";
|
|
9
|
+
import { C as statRegularFile, S as isFileMissingError, _ as normalizeExtraMemoryPaths, a as listSessionFilesForAgent, b as remapChunkLines, c as chunkMarkdown, d as hashText, f as isExcludedMemoryPath, g as normalizeExcludedMemoryPaths, h as listMemoryFiles, i as buildSessionEntry, l as cosineSimilarity, m as isMemoryPath, o as sessionPathForFile, p as isIndexedTextPath, r as requireNodeSqlite, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as parseEmbedding, x as runWithConcurrency, y as readIndexedTextContent } from "./query-expansion-Czp8kqRG.js";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
|
-
import
|
|
13
|
+
import fs$1 from "node:fs";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { createInterface } from "node:readline";
|
|
16
16
|
import { Readable } from "node:stream";
|
|
@@ -911,7 +911,7 @@ function canAutoSelectLocal(options) {
|
|
|
911
911
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
912
912
|
const resolved = resolveUserPath(modelPath);
|
|
913
913
|
try {
|
|
914
|
-
return
|
|
914
|
+
return fs$1.statSync(resolved).isFile();
|
|
915
915
|
} catch {
|
|
916
916
|
return false;
|
|
917
917
|
}
|
|
@@ -2672,7 +2672,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2672
2672
|
for (const entry of additionalPaths) {
|
|
2673
2673
|
if (isExcludedMemoryPath(entry, excludedPaths)) continue;
|
|
2674
2674
|
try {
|
|
2675
|
-
const stat =
|
|
2675
|
+
const stat = fs$1.lstatSync(entry);
|
|
2676
2676
|
if (stat.isSymbolicLink()) continue;
|
|
2677
2677
|
if (stat.isDirectory()) {
|
|
2678
2678
|
watchPaths.add(entry);
|
|
@@ -2693,7 +2693,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2693
2693
|
const stat = (() => {
|
|
2694
2694
|
if (stats) return stats;
|
|
2695
2695
|
try {
|
|
2696
|
-
return
|
|
2696
|
+
return fs$1.lstatSync(normalized);
|
|
2697
2697
|
} catch {
|
|
2698
2698
|
return null;
|
|
2699
2699
|
}
|
|
@@ -2734,7 +2734,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2734
2734
|
const stat = (() => {
|
|
2735
2735
|
if (stats) return stats;
|
|
2736
2736
|
try {
|
|
2737
|
-
return
|
|
2737
|
+
return fs$1.lstatSync(normalized);
|
|
2738
2738
|
} catch {
|
|
2739
2739
|
return null;
|
|
2740
2740
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BJV7vkaX.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { C as truncateUtf16Safe, a as clampNumber, g as resolveUserPath, i as clampInt } from "./utils-CGU7Q77u.js";
|
|
4
|
-
import { A as resolveApiKeyForProvider, Eo as resolveAgentHistoryConfig, Ln as onSessionTranscriptUpdate, M as resolveEnvApiKey, bc as normalizeOptionalSecretInput, et as retryAsync, k as requireApiKey, lt as resolveOllamaApiBase } from "./model-selection-
|
|
5
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { A as resolveApiKeyForProvider, Eo as resolveAgentHistoryConfig, Ln as onSessionTranscriptUpdate, M as resolveEnvApiKey, bc as normalizeOptionalSecretInput, et as retryAsync, k as requireApiKey, lt as resolveOllamaApiBase } from "./model-selection-DU-DNNW7.js";
|
|
5
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
6
6
|
import { a as hasConfiguredSecretInput, c as normalizeResolvedSecretInputString } from "./types.secrets-ZqKzSyNC.js";
|
|
7
7
|
import { t as isTruthyEnvValue } from "./env-6my-UEm4.js";
|
|
8
|
-
import { i as redactSensitiveText } from "./path-alias-guards-
|
|
8
|
+
import { i as redactSensitiveText } from "./path-alias-guards-DBFU_Tqb.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DHrunYJK.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { r as formatErrorMessage } from "./errors-
|
|
13
|
-
import { S as extractKeywords, _ as readIndexedTextContent, a as buildFileEntry, b as isFileMissingError, c as ensureDir, d as isIndexedTextPath, f as isMemoryPath, g as parseEmbedding, h as normalizeExtraMemoryPaths, i as sessionPathForFile, l as hashText, m as normalizeExcludedMemoryPaths, n as buildSessionEntry, o as chunkMarkdown, p as listMemoryFiles, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isExcludedMemoryPath, v as remapChunkLines, x as statRegularFile, y as runWithConcurrency } from "./sqlite-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DGuF8Mhb.js";
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DeP9Nazr.js";
|
|
12
|
+
import { r as formatErrorMessage } from "./errors-Bqf8bSUd.js";
|
|
13
|
+
import { S as extractKeywords, _ as readIndexedTextContent, a as buildFileEntry, b as isFileMissingError, c as ensureDir, d as isIndexedTextPath, f as isMemoryPath, g as parseEmbedding, h as normalizeExtraMemoryPaths, i as sessionPathForFile, l as hashText, m as normalizeExcludedMemoryPaths, n as buildSessionEntry, o as chunkMarkdown, p as listMemoryFiles, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isExcludedMemoryPath, v as remapChunkLines, x as statRegularFile, y as runWithConcurrency } from "./sqlite-BXiqNpZr.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -1256,7 +1256,7 @@ async function extractTimestamp(params) {
|
|
|
1256
1256
|
if (!params.workspaceDir) return null;
|
|
1257
1257
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1258
1258
|
try {
|
|
1259
|
-
const stat = await
|
|
1259
|
+
const stat = await fsPromises.stat(absolutePath);
|
|
1260
1260
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1261
1261
|
return new Date(stat.mtimeMs);
|
|
1262
1262
|
} catch {
|
|
@@ -2190,13 +2190,13 @@ function isHistoryDaySegment(segment) {
|
|
|
2190
2190
|
async function pruneEmptyDirs(root) {
|
|
2191
2191
|
let removed = 0;
|
|
2192
2192
|
const visit = async (dirPath) => {
|
|
2193
|
-
const entries = await
|
|
2193
|
+
const entries = await fsPromises.readdir(dirPath, { withFileTypes: true }).catch(() => []);
|
|
2194
2194
|
for (const entry of entries) {
|
|
2195
2195
|
if (!entry.isDirectory()) continue;
|
|
2196
2196
|
await visit(path.join(dirPath, entry.name));
|
|
2197
2197
|
}
|
|
2198
|
-
if ((await
|
|
2199
|
-
await
|
|
2198
|
+
if ((await fsPromises.readdir(dirPath).catch(() => [])).length === 0 && dirPath !== root) {
|
|
2199
|
+
await fsPromises.rmdir(dirPath).catch(() => void 0);
|
|
2200
2200
|
removed += 1;
|
|
2201
2201
|
}
|
|
2202
2202
|
};
|
|
@@ -2216,14 +2216,14 @@ async function sweepAgentHistoryRetention(params) {
|
|
|
2216
2216
|
const stack = [root];
|
|
2217
2217
|
while (stack.length > 0) {
|
|
2218
2218
|
const current = stack.pop();
|
|
2219
|
-
const entries = await
|
|
2219
|
+
const entries = await fsPromises.readdir(current, { withFileTypes: true }).catch(() => []);
|
|
2220
2220
|
for (const entry of entries) {
|
|
2221
2221
|
const entryPath = path.join(current, entry.name);
|
|
2222
2222
|
if (entry.isDirectory()) {
|
|
2223
2223
|
if (isHistoryDaySegment(entry.name) && entry.name < cutoff) {
|
|
2224
|
-
const nested = await
|
|
2224
|
+
const nested = await fsPromises.readdir(entryPath).catch(() => []);
|
|
2225
2225
|
prunedFiles += nested.filter((name) => name.endsWith(".jsonl")).length;
|
|
2226
|
-
await
|
|
2226
|
+
await fsPromises.rm(entryPath, {
|
|
2227
2227
|
recursive: true,
|
|
2228
2228
|
force: true
|
|
2229
2229
|
}).catch(() => void 0);
|
|
@@ -2246,7 +2246,7 @@ function historyPathForFile(absPath, rootDir) {
|
|
|
2246
2246
|
return path.join("history", path.relative(rootDir, absPath)).replace(/\\/g, "/");
|
|
2247
2247
|
}
|
|
2248
2248
|
async function walkHistoryDir(dir, files) {
|
|
2249
|
-
const entries = await
|
|
2249
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
2250
2250
|
for (const entry of entries) {
|
|
2251
2251
|
const full = path.join(dir, entry.name);
|
|
2252
2252
|
if (entry.isDirectory()) {
|
|
@@ -2300,8 +2300,8 @@ function renderHistoryRecord(record) {
|
|
|
2300
2300
|
async function buildHistoryEntry(absPath, cfg, agentId) {
|
|
2301
2301
|
const history = resolveAgentHistoryConfig(cfg, agentId);
|
|
2302
2302
|
try {
|
|
2303
|
-
const stat = await
|
|
2304
|
-
const lines = (await
|
|
2303
|
+
const stat = await fsPromises.stat(absPath);
|
|
2304
|
+
const lines = (await fsPromises.readFile(absPath, "utf-8")).split("\n");
|
|
2305
2305
|
const collected = [];
|
|
2306
2306
|
const lineMap = [];
|
|
2307
2307
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx += 1) {
|
|
@@ -2642,7 +2642,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2642
2642
|
const source = `${sourceBase}${suffix}`;
|
|
2643
2643
|
const target = `${targetBase}${suffix}`;
|
|
2644
2644
|
try {
|
|
2645
|
-
await
|
|
2645
|
+
await fsPromises.rename(source, target);
|
|
2646
2646
|
} catch (err) {
|
|
2647
2647
|
if (err.code !== "ENOENT") throw err;
|
|
2648
2648
|
}
|
|
@@ -2653,7 +2653,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2653
2653
|
"",
|
|
2654
2654
|
"-wal",
|
|
2655
2655
|
"-shm"
|
|
2656
|
-
].map((suffix) =>
|
|
2656
|
+
].map((suffix) => fsPromises.rm(`${basePath}${suffix}`, { force: true })));
|
|
2657
2657
|
}
|
|
2658
2658
|
ensureSchema() {
|
|
2659
2659
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2820,7 +2820,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2820
2820
|
if (!thresholds) return null;
|
|
2821
2821
|
let stat;
|
|
2822
2822
|
try {
|
|
2823
|
-
stat = await
|
|
2823
|
+
stat = await fsPromises.stat(sessionFile);
|
|
2824
2824
|
} catch {
|
|
2825
2825
|
return null;
|
|
2826
2826
|
}
|
|
@@ -2862,7 +2862,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2862
2862
|
if (end <= start) return 0;
|
|
2863
2863
|
let handle;
|
|
2864
2864
|
try {
|
|
2865
|
-
handle = await
|
|
2865
|
+
handle = await fsPromises.open(absPath, "r");
|
|
2866
2866
|
} catch (err) {
|
|
2867
2867
|
if (isFileMissingError(err)) return 0;
|
|
2868
2868
|
throw err;
|
|
@@ -4763,7 +4763,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4763
4763
|
if (!allowedWorkspace && !allowedSessions && !allowedHistory && this.settings.extraPaths.length > 0) {
|
|
4764
4764
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
4765
4765
|
for (const additionalPath of additionalPaths) try {
|
|
4766
|
-
const stat = await
|
|
4766
|
+
const stat = await fsPromises.lstat(additionalPath);
|
|
4767
4767
|
if (stat.isSymbolicLink()) continue;
|
|
4768
4768
|
if (stat.isDirectory()) {
|
|
4769
4769
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BEF5zTJO.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BfR2LXbA.js";
|
|
3
3
|
import { i as isTruthyEnvValue } from "./entry.js";
|
|
4
|
-
import { Es as resolveApiKeyForProvider, Et as onSessionTranscriptUpdate, Os as resolveEnvApiKey, Sc as normalizeOptionalSecretInput, Ts as requireApiKey, ec as retryAsync, lc as resolveOllamaApiBase, ma as resolveAgentHistoryConfig } from "./auth-profiles-
|
|
4
|
+
import { Es as resolveApiKeyForProvider, Et as onSessionTranscriptUpdate, Os as resolveEnvApiKey, Sc as normalizeOptionalSecretInput, Ts as requireApiKey, ec as retryAsync, lc as resolveOllamaApiBase, ma as resolveAgentHistoryConfig } from "./auth-profiles-D9Wn945p.js";
|
|
5
5
|
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-OAwT1oHV.js";
|
|
6
6
|
import { h as resolveUserPath, i as clampNumber, r as clampInt, x as truncateUtf16Safe } from "./utils-qah6hFG0.js";
|
|
7
7
|
import { a as hasConfiguredSecretInput, c as normalizeResolvedSecretInputString } from "./types.secrets-CQ90JO4F.js";
|
|
8
8
|
import { n as redactSensitiveText } from "./redact-CxtZhh9L.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-B-JdyKTL.js";
|
|
10
10
|
import { r as formatErrorMessage } from "./errors-BaSZYLcU.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-dTCN4rW8.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation--yH6WXh1.js";
|
|
13
13
|
import { a as extractKeywords, i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-Cz3Hl_xa.js";
|
|
14
14
|
import { _ as statRegularFile, a as hashText, c as isMemoryPath, d as normalizeExtraMemoryPaths, f as parseEmbedding, g as isFileMissingError, h as runWithConcurrency, i as ensureDir, l as listMemoryFiles, m as remapChunkLines, n as chunkMarkdown, o as isExcludedMemoryPath, p as readIndexedTextContent, r as cosineSimilarity, s as isIndexedTextPath, t as buildFileEntry, u as normalizeExcludedMemoryPaths } from "./internal-BMd38Zvr.js";
|
|
15
15
|
import { a as summarizeMemoryStatus, i as summarizeMemoryIndexMeta, r as shortDiagnosticFingerprint, t as describeMemoryReindexReasons } from "./diagnostics-CQtxkHQh.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { O as resolveAgentWorkspaceDir, T as resolveAgentDir, _ as redactSensitiveText, o as resolveSessionTranscriptsDirForAgent, w as resolveAgentConfig } from "./paths-Mt14cg41.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-CDoTDY_s.js";
|
|
3
3
|
import { C as createSubsystemLogger, h as resolveUserPath, o as clampInt, s as clampNumber, x as truncateUtf16Safe } from "./logger-Bxlcwvue.js";
|
|
4
|
-
import { E as resolveOllamaApiBase, Ei as resolveAgentHistoryConfig, T as retryAsync, b as resolveApiKeyForProvider, do as normalizeOptionalSecretInput, en as onSessionTranscriptUpdate, go as normalizeResolvedSecretInputString, x as resolveEnvApiKey, y as requireApiKey } from "./model-selection-
|
|
4
|
+
import { E as resolveOllamaApiBase, Ei as resolveAgentHistoryConfig, T as retryAsync, b as resolveApiKeyForProvider, do as normalizeOptionalSecretInput, en as onSessionTranscriptUpdate, go as normalizeResolvedSecretInputString, x as resolveEnvApiKey, y as requireApiKey } from "./model-selection-PlvJPOJ9.js";
|
|
5
5
|
import { t as isTruthyEnvValue } from "./env-BFnrIO45.js";
|
|
6
|
-
import { d as formatErrorMessage, i as fetchWithSsrFGuard, n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
6
|
+
import { d as formatErrorMessage, i as fetchWithSsrFGuard, n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-ysMjkqBD.js";
|
|
7
7
|
import { C as statRegularFile, S as isFileMissingError, _ as normalizeExtraMemoryPaths, a as listSessionFilesForAgent, b as remapChunkLines, c as chunkMarkdown, d as hashText, f as isExcludedMemoryPath, g as normalizeExcludedMemoryPaths, h as listMemoryFiles, i as buildSessionEntry, l as cosineSimilarity, m as isMemoryPath, o as sessionPathForFile, p as isIndexedTextPath, r as requireNodeSqlite, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as parseEmbedding, x as runWithConcurrency, y as readIndexedTextContent } from "./query-expansion-ksb5Ehoc.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./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";
|
|
@@ -19,10 +19,10 @@ import "./plugins-DRDN4jFP.js";
|
|
|
19
19
|
import "./paths-B-JdyKTL.js";
|
|
20
20
|
import "./chat-envelope-t_PEbhWC.js";
|
|
21
21
|
import "./errors-BaSZYLcU.js";
|
|
22
|
-
import "./fetch-guard-
|
|
23
|
-
import "./api-key-rotation
|
|
22
|
+
import "./fetch-guard-dTCN4rW8.js";
|
|
23
|
+
import "./api-key-rotation--yH6WXh1.js";
|
|
24
24
|
import "./sqlite-Cz3Hl_xa.js";
|
|
25
|
-
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-
|
|
25
|
+
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-DF7UBoKp.js";
|
|
26
26
|
import "./internal-BMd38Zvr.js";
|
|
27
27
|
import "./diagnostics-CQtxkHQh.js";
|
|
28
28
|
export { MemoryIndexManager, closeAllMemoryIndexManagers, evictAllMemoryIndexManagers };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-Mt14cg41.js";
|
|
2
2
|
import "./paths-CDoTDY_s.js";
|
|
3
3
|
import "./logger-Bxlcwvue.js";
|
|
4
|
-
import "./model-selection-
|
|
4
|
+
import "./model-selection-PlvJPOJ9.js";
|
|
5
5
|
import "./github-copilot-token-CxpwfC_T.js";
|
|
6
6
|
import "./env-BFnrIO45.js";
|
|
7
|
-
import "./api-key-rotation-
|
|
8
|
-
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-
|
|
7
|
+
import "./api-key-rotation-ysMjkqBD.js";
|
|
8
|
+
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-DFiUW_Ha.js";
|
|
9
9
|
import "./query-expansion-ksb5Ehoc.js";
|
|
10
10
|
export { MemoryIndexManager, closeAllMemoryIndexManagers, evictAllMemoryIndexManagers };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./paths-Bg_l6kdG.js";
|
|
2
|
+
import "./paths-L_hqOE5A.js";
|
|
3
|
+
import "./subsystem-CDH9S_yW.js";
|
|
4
|
+
import "./workspace-DiYGwuGk.js";
|
|
5
|
+
import "./logger-BA9koAaC.js";
|
|
6
|
+
import "./model-selection-CvKAj7nY.js";
|
|
7
|
+
import "./github-copilot-token-CLlAnyEf.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./env-Bhn5CLil.js";
|
|
10
|
+
import "./frontmatter-CC95HXlE.js";
|
|
11
|
+
import "./fetch-guard-Bd5oI7xu.js";
|
|
12
|
+
import "./api-key-rotation-BHAUzS3H.js";
|
|
13
|
+
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-BLYILa5H.js";
|
|
14
|
+
import "./query-expansion-Czp8kqRG.js";
|
|
15
|
+
export { MemoryIndexManager, closeAllMemoryIndexManagers, evictAllMemoryIndexManagers };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./paths-BJV7vkaX.js";
|
|
2
2
|
import "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import "./utils-CGU7Q77u.js";
|
|
4
|
-
import "./model-selection-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./openclaw-root-
|
|
4
|
+
import "./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,15 +11,15 @@ 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 "./fetch-guard-
|
|
21
|
-
import "./api-key-rotation-
|
|
22
|
-
import "./errors-
|
|
23
|
-
import "./sqlite-
|
|
24
|
-
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-
|
|
20
|
+
import "./fetch-guard-DGuF8Mhb.js";
|
|
21
|
+
import "./api-key-rotation-DeP9Nazr.js";
|
|
22
|
+
import "./errors-Bqf8bSUd.js";
|
|
23
|
+
import "./sqlite-BXiqNpZr.js";
|
|
24
|
+
import { n as closeAllMemoryIndexManagers, r as evictAllMemoryIndexManagers, t as MemoryIndexManager } from "./manager-BaDp-h4i.js";
|
|
25
25
|
export { MemoryIndexManager, closeAllMemoryIndexManagers, evictAllMemoryIndexManagers };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
|
|
2
2
|
import { g as resolveUserPath } from "./utils-CGU7Q77u.js";
|
|
3
|
-
import { Do as parseDurationMs, ws as splitShellArgs } from "./model-selection-
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { l as shortDiagnosticFingerprint } from "./manager-
|
|
3
|
+
import { Do as parseDurationMs, ws as splitShellArgs } from "./model-selection-DU-DNNW7.js";
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
5
|
+
import { l as shortDiagnosticFingerprint } from "./manager-BaDp-h4i.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
//#region src/memory/backend-config.ts
|
|
8
8
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -207,7 +207,7 @@ const QMD_MANAGER_PENDING = /* @__PURE__ */ new Map();
|
|
|
207
207
|
let qmdCacheGeneration = 0;
|
|
208
208
|
let managerRuntimePromise = null;
|
|
209
209
|
function loadManagerRuntime() {
|
|
210
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
210
|
+
managerRuntimePromise ??= import("./manager-runtime-DxOKojtv.js");
|
|
211
211
|
return managerRuntimePromise;
|
|
212
212
|
}
|
|
213
213
|
var QmdManagerCacheInvalidatedError = class extends Error {
|
|
@@ -294,7 +294,7 @@ async function getMemorySearchManager(params) {
|
|
|
294
294
|
generation: cacheGeneration
|
|
295
295
|
});
|
|
296
296
|
createPromise = (async () => {
|
|
297
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
297
|
+
const { QmdMemoryManager } = await import("./qmd-manager-ZIMvAkMU.js");
|
|
298
298
|
const primary = await QmdMemoryManager.create({
|
|
299
299
|
cfg: params.cfg,
|
|
300
300
|
agentId: params.agentId,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { A as theme, O as colorize, k as isRich, p as defaultRuntime, w as setVerbose } from "./subsystem-BEF5zTJO.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BfR2LXbA.js";
|
|
4
|
-
import { Mi as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { Mi as loadConfig } from "./auth-profiles-D9Wn945p.js";
|
|
5
5
|
import { d as resolveDefaultAgentId } from "./agent-scope-OAwT1oHV.js";
|
|
6
6
|
import { _ as shortenHomeInString, v as shortenHomePath } from "./utils-qah6hFG0.js";
|
|
7
7
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-B-JdyKTL.js";
|
|
8
8
|
import { r as formatErrorMessage } from "./errors-BaSZYLcU.js";
|
|
9
9
|
import { d as normalizeExtraMemoryPaths, l as listMemoryFiles, u as normalizeExcludedMemoryPaths } from "./internal-BMd38Zvr.js";
|
|
10
|
-
import { n as getMemorySearchManager } from "./search-manager-
|
|
10
|
+
import { n as getMemorySearchManager } from "./search-manager-Bj4BRNiF.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-hlmnhfEU.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-CaS04_6b.js";
|
|
13
|
-
import { o as resolveCommandSecretRefsViaGateway, r as getMemoryCommandSecretTargetIds } from "./command-secret-targets-
|
|
13
|
+
import { o as resolveCommandSecretRefsViaGateway, r as getMemoryCommandSecretTargetIds } from "./command-secret-targets-lNjgc0CR.js";
|
|
14
14
|
import { t as formatHelpExamples } from "./help-format-D89JlW3L.js";
|
|
15
15
|
import { n as withProgress, r as withProgressTotals } from "./progress-DvzcL_95.js";
|
|
16
16
|
import os from "node:os";
|
|
@@ -2,21 +2,21 @@ import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BJV7vkaX.js";
|
|
3
3
|
import { A as theme, O as colorize, k as isRich, p as defaultRuntime, w as setVerbose } from "./subsystem-Dk5WUhC2.js";
|
|
4
4
|
import { v as shortenHomeInString, y as shortenHomePath } from "./utils-CGU7Q77u.js";
|
|
5
|
-
import { Wa as loadConfig } from "./model-selection-
|
|
6
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
+
import { Wa as loadConfig } from "./model-selection-DU-DNNW7.js";
|
|
6
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-BrJT9Gf9.js";
|
|
7
7
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DHrunYJK.js";
|
|
8
|
-
import { r as formatErrorMessage } from "./errors-
|
|
9
|
-
import { h as normalizeExtraMemoryPaths, m as normalizeExcludedMemoryPaths, p as listMemoryFiles } from "./sqlite-
|
|
10
|
-
import { n as getMemorySearchManager } from "./memory-
|
|
8
|
+
import { r as formatErrorMessage } from "./errors-Bqf8bSUd.js";
|
|
9
|
+
import { h as normalizeExtraMemoryPaths, m as normalizeExcludedMemoryPaths, p as listMemoryFiles } from "./sqlite-BXiqNpZr.js";
|
|
10
|
+
import { n as getMemorySearchManager } from "./memory-adblmZ7U.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-BM5olEmW.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-B1CUwwWQ.js";
|
|
13
|
-
import { o as resolveCommandSecretRefsViaGateway, r as getMemoryCommandSecretTargetIds } from "./command-secret-targets-
|
|
13
|
+
import { o as resolveCommandSecretRefsViaGateway, r as getMemoryCommandSecretTargetIds } from "./command-secret-targets-BQ5lbER9.js";
|
|
14
14
|
import { t as formatHelpExamples } from "./help-format-CVafmYlm.js";
|
|
15
15
|
import { n as withProgress, r as withProgressTotals } from "./progress-DVG93Lop.js";
|
|
16
16
|
import fs 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
|
//#region src/cli/memory-cli.ts
|
|
21
21
|
var memory_cli_exports = /* @__PURE__ */ __exportAll({
|
|
22
22
|
registerMemoryCli: () => registerMemoryCli,
|
|
@@ -86,7 +86,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
86
86
|
}
|
|
87
87
|
async function checkReadableFile(pathname) {
|
|
88
88
|
try {
|
|
89
|
-
await
|
|
89
|
+
await fsPromises.access(pathname, fs.constants.R_OK);
|
|
90
90
|
return { exists: true };
|
|
91
91
|
} catch (err) {
|
|
92
92
|
const code = err.code;
|
|
@@ -103,7 +103,7 @@ async function scanSessionFiles(agentId) {
|
|
|
103
103
|
try {
|
|
104
104
|
return {
|
|
105
105
|
source: "sessions",
|
|
106
|
-
totalFiles: (await
|
|
106
|
+
totalFiles: (await fsPromises.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
107
107
|
issues
|
|
108
108
|
};
|
|
109
109
|
} catch (err) {
|
|
@@ -136,7 +136,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = [], excludePaths = [])
|
|
|
136
136
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
137
137
|
const resolvedExcludedPaths = normalizeExcludedMemoryPaths(workspaceDir, excludePaths);
|
|
138
138
|
for (const extraPath of resolvedExtraPaths) try {
|
|
139
|
-
if ((await
|
|
139
|
+
if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
|
|
140
140
|
const extraCheck = await checkReadableFile(extraPath);
|
|
141
141
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
142
142
|
} catch (err) {
|
|
@@ -146,7 +146,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = [], excludePaths = [])
|
|
|
146
146
|
}
|
|
147
147
|
let dirReadable = null;
|
|
148
148
|
try {
|
|
149
|
-
await
|
|
149
|
+
await fsPromises.access(memoryDir, fs.constants.R_OK);
|
|
150
150
|
dirReadable = true;
|
|
151
151
|
} catch (err) {
|
|
152
152
|
const code = err.code;
|
|
@@ -194,7 +194,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
194
194
|
if (!dbPath) return null;
|
|
195
195
|
let stat;
|
|
196
196
|
try {
|
|
197
|
-
stat = await
|
|
197
|
+
stat = await fsPromises.stat(dbPath);
|
|
198
198
|
} catch (err) {
|
|
199
199
|
const code = err.code;
|
|
200
200
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
|
|
2
|
-
import { Wa as loadConfig, mc as resolveOpenClawAgentDir } from "./model-selection-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { Wa as loadConfig, mc as resolveOpenClawAgentDir } from "./model-selection-DU-DNNW7.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-xqqHZFkg.js";
|
|
4
4
|
//#region src/agents/model-catalog.ts
|
|
5
5
|
const log = createSubsystemLogger("model-catalog");
|
|
6
6
|
let modelCatalogPromise = null;
|
|
7
7
|
let hasLoggedModelCatalogError = false;
|
|
8
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
8
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-7pqY2wzA.js").then((n) => n.r);
|
|
9
9
|
let importPiSdk = defaultImportPiSdk;
|
|
10
10
|
const CODEX_PROVIDER = "openai-codex";
|
|
11
11
|
const OPENAI_PROVIDER = "openai";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BEF5zTJO.js";
|
|
2
|
-
import { Jo as resolveOpenClawAgentDir, Mi as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { Jo as resolveOpenClawAgentDir, Mi as loadConfig } from "./auth-profiles-D9Wn945p.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-Cg9vUkxp.js";
|
|
4
4
|
//#region src/agents/model-catalog.ts
|
|
5
5
|
const log = createSubsystemLogger("model-catalog");
|
|
6
6
|
let modelCatalogPromise = null;
|
|
7
7
|
let hasLoggedModelCatalogError = false;
|
|
8
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
8
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DFqVpswz.js").then((n) => n.r);
|
|
9
9
|
let importPiSdk = defaultImportPiSdk;
|
|
10
10
|
const CODEX_PROVIDER = "openai-codex";
|
|
11
11
|
const OPENAI_PROVIDER = "openai";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, Tc as DEFAULT_PROVIDER, ac as upsertAuthProfileWithLock, c as modelKey, d as normalizeProviderId, h as resolveConfiguredModelRef, r as buildModelAliasIndex, sc as ensureAuthProfileStore, t as buildAllowedModelSet, tc as listProfilesForProvider, wc as DEFAULT_MODEL } from "./model-selection-
|
|
3
|
-
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { o as formatTokenK, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-
|
|
2
|
+
import { M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, Tc as DEFAULT_PROVIDER, ac as upsertAuthProfileWithLock, c as modelKey, d as normalizeProviderId, h as resolveConfiguredModelRef, r as buildModelAliasIndex, sc as ensureAuthProfileStore, t as buildAllowedModelSet, tc as listProfilesForProvider, wc as DEFAULT_MODEL } from "./model-selection-DU-DNNW7.js";
|
|
3
|
+
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-BrJT9Gf9.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-BtBiWr2U.js";
|
|
5
|
+
import { o as formatTokenK, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-5GXfiA_D.js";
|
|
6
6
|
//#region src/commands/vllm-setup.ts
|
|
7
7
|
const VLLM_DEFAULT_BASE_URL = "http://127.0.0.1:8000/v1";
|
|
8
8
|
const VLLM_DEFAULT_CONTEXT_WINDOW = 128e3;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import { $o as buildModelAliasIndex, Dc as DEFAULT_PROVIDER, Ec as DEFAULT_MODEL, Fo as listProfilesForProvider, Os as resolveEnvApiKey, Vo as ensureAuthProfileStore, Zo as buildAllowedModelSet, ds as resolveConfiguredModelRef, is as modelKey, ss as normalizeProviderId, ws as hasUsableCustomProviderApiKey, zo as upsertAuthProfileWithLock } from "./auth-profiles-
|
|
2
|
+
import { $o as buildModelAliasIndex, Dc as DEFAULT_PROVIDER, Ec as DEFAULT_MODEL, Fo as listProfilesForProvider, Os as resolveEnvApiKey, Vo as ensureAuthProfileStore, Zo as buildAllowedModelSet, ds as resolveConfiguredModelRef, is as modelKey, ss as normalizeProviderId, ws as hasUsableCustomProviderApiKey, zo as upsertAuthProfileWithLock } from "./auth-profiles-D9Wn945p.js";
|
|
3
3
|
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-OAwT1oHV.js";
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { o as formatTokenK, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-DlYPcFqP.js";
|
|
5
|
+
import { o as formatTokenK, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-BYIJH6vZ.js";
|
|
6
6
|
//#region src/commands/vllm-setup.ts
|
|
7
7
|
const VLLM_DEFAULT_BASE_URL = "http://127.0.0.1:8000/v1";
|
|
8
8
|
const VLLM_DEFAULT_CONTEXT_WINDOW = 128e3;
|