@bitseek/claw 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
- package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
- package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
- package/dist/{acp-cli-C24-lylb.js → acp-cli-CyPiQ0lt.js} +8 -8
- package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
- package/dist/{agents-BCJbDk2P.js → agents-BC3wwrO-.js} +15 -15
- package/dist/{agents.config-DoxV5m9v.js → agents.config-CeG5P331.js} +2 -2
- package/dist/{agents.config-DQBEXhzA.js → agents.config-rRQ8xZUr.js} +1 -1
- package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
- package/dist/{audio-preflight-Dl40LQzr.js → audio-preflight-iuCPDl1D.js} +36 -36
- package/dist/{audio-transcription-runner-jiDE7Pt8.js → audio-transcription-runner-CGADiTRL.js} +22 -22
- package/dist/{audit-Bgu8Ommg.js → audit-Bjz6AFn-.js} +29 -29
- package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
- package/dist/{auth-choice-DYXCDlGW.js → auth-choice-Co_Dl_bs.js} +14 -14
- package/dist/{auth-choice-CP6K5htW.js → auth-choice-Dx1VT2I8.js} +12 -12
- package/dist/{auth-choice-CdsMUqKA.js → auth-choice-eimtfK0N.js} +1 -1
- package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
- package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
- package/dist/{auth-token-BDQ5b9Wx.js → auth-token-Cfvmvs2X.js} +1 -1
- package/dist/{banner-V_1v329B.js → banner-7O0OkDQ4.js} +2 -2
- package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
- package/dist/{bonjour-discovery-DiHs5j0y.js → bonjour-discovery-Dv9UQh6g.js} +1 -1
- package/dist/{browser-cli-BMupJSz_.js → browser-cli-C1OEYX9g.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BV3Q0XnD.js → channel-account-context-BrHQ7XHF.js} +5 -5
- package/dist/{channel-options-Dsjb-V1F.js → channel-options-BnZ1nSBu.js} +3 -3
- package/dist/{channel-options-Bnnem_wD.js → channel-options-uEYF4WRA.js} +1 -1
- package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
- package/dist/{channel-web-KY6EP9HT.js → channel-web-BJJUEEKO.js} +1 -1
- package/dist/{channel-web-wuxrfEJh.js → channel-web-lHPdbnjv.js} +18 -18
- package/dist/{channels-cli-OZeQkPMG.js → channels-cli-DEE_p7e9.js} +95 -95
- package/dist/{channels-cli-tJkvzsqO.js → channels-cli-GwM8DZvP.js} +6 -6
- package/dist/{channels-status-issues-CCNiQcg9.js → channels-status-issues-BWcKByy7.js} +1 -1
- package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{clawbot-cli-COQB6-NK.js → clawbot-cli-C6oL4o77.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DOS1lPNs.js → cli-BLZW83kS.js} +1 -1
- package/dist/{cli-YeYpjq2c.js → cli-CD5xP9w9.js} +76 -76
- package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
- package/dist/{command-registry-Keal8P25.js → command-registry-B41say0S.js} +13 -13
- package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
- package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
- package/dist/{completion-cli-B_pSnPVY.js → completion-cli-BuLkcc9o.js} +1 -1
- package/dist/{completion-cli-BWcHEWr6.js → completion-cli-DSxTjQik.js} +13 -13
- package/dist/{config-cli-hwawfBlS.js → config-cli-BMtY1oFI.js} +7 -7
- package/dist/{config-cli-DZpbwWvz.js → config-cli-D4EnfBqh.js} +1 -1
- package/dist/{config-guard-CcE0LvHm.js → config-guard-Bztdn_pu.js} +3 -3
- package/dist/{config-validation-DO7QURfM.js → config-validation-CAkiRwLK.js} +3 -3
- package/dist/{configure-CLMtWGiL.js → configure-CBB1YbMN.js} +3 -3
- package/dist/{configure-l-lM74c1.js → configure-Dz9z2cyD.js} +17 -17
- package/dist/{control-ui-assets-Dx8wiZQ_.js → control-ui-assets-BGvtXBkm.js} +1 -1
- package/dist/{cron-cli-xl75rAFd.js → cron-cli-nslB2EKF.js} +12 -12
- package/dist/{daemon-cli-BSy0rtO2.js → daemon-cli-D8I8RTf0.js} +15 -15
- package/dist/{daemon-install-d2OYSlQz.js → daemon-install-CKree1OU.js} +4 -4
- package/dist/{daemon-install-helpers-D28keNLu.js → daemon-install-helpers-CBCbs7y1.js} +11 -11
- package/dist/{dashboard-DXvihe_P.js → dashboard-dc7KG5Fm.js} +2 -2
- package/dist/{deliver-Df8pSQk6.js → deliver-BRwFsEUd.js} +7 -7
- package/dist/{devices-cli-D6CoUTi_.js → devices-cli-jakb5Fk0.js} +8 -8
- package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
- package/dist/{diagnostics-ABz8E7c-.js → diagnostics-DR9Z0mN5.js} +5 -5
- package/dist/{directory-cli-Dkil59xj.js → directory-cli-3FgAtenS.js} +8 -8
- package/dist/{dns-cli-CJydclW8.js → dns-cli-DUsjD4em.js} +5 -5
- package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
- package/dist/{docs-cli-BkufgU5Y.js → docs-cli-CpIeooaU.js} +4 -4
- package/dist/{doctor-completion-sKCaOE5l.js → doctor-completion-BIt5xBwC.js} +1 -1
- package/dist/{doctor-completion-leOuoRMt.js → doctor-completion-BSR7Om4e.js} +2 -2
- package/dist/{doctor-config-flow-BrXA2e34.js → doctor-config-flow-DUdUJgfq.js} +15 -15
- package/dist/{enable-CinNZxRH.js → enable-BNycqpJc.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
- package/dist/{exec-approvals-cli-Cani2Hjk.js → exec-approvals-cli-D8lFWgJj.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
- package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
- package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
- package/dist/{gateway-cli-jL3MSRHB.js → gateway-cli-CanylfLh.js} +8 -8
- package/dist/{gateway-cli-BlVNebTw.js → gateway-cli-VrzgkvsB.js} +161 -161
- package/dist/{gateway-rpc-C7KYwonl.js → gateway-rpc-B5Spvviy.js} +1 -1
- package/dist/{health-Du8dO3vn.js → health-BX20asqJ.js} +1 -1
- package/dist/{health-CDEXWvnu.js → health-D4cJIlo7.js} +14 -14
- package/dist/{hooks-cli-Deo01lF6.js → hooks-cli-BPg6BqOl.js} +84 -84
- package/dist/{hooks-cli-DUIQuGjr.js → hooks-cli-Cs2Ovk-O.js} +2 -2
- package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
- package/dist/{image-UpBiPNsk.js → image-CI4JYwnc.js} +5 -5
- package/dist/{plugin-sdk/image-ops-C9GXWF3o.js → image-ops-B2L37gT8.js} +11 -11
- package/dist/index.js +6 -6
- package/dist/{inspect-Bmurt9te.js → inspect-BzuEXYfa.js} +4 -4
- package/dist/{install-safe-path-BB9b_AvF.js → install-safe-path-C8QJ5yjB.js} +25 -25
- package/dist/{installs-BXcYytvn.js → installs-CWbEA1d1.js} +9 -9
- package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
- package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
- package/dist/{issue-format-DF2YB-kZ.js → issue-format-D8MobWNt.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-CJd181-h.js → lifecycle-core-CiAE4s92.js} +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{login-C_YjM9eH.js → login-CdHg3Emc.js} +3 -3
- package/dist/{login-qr-DujJqOuy.js → login-qr-DXecO0Tb.js} +6 -6
- package/dist/{logs-cli-Bc1A5X-r.js → logs-cli-D8UCmwyR.js} +9 -9
- package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
- package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
- package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
- package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
- package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
- package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
- package/dist/{model-picker-C56N_rW7.js → model-picker-Dt7Rl38k.js} +4 -4
- package/dist/{models-CgguB_MH.js → models-CukrcW4u.js} +18 -18
- package/dist/{models-cli-CHUbcM_y.js → models-cli-C-FMLbe_.js} +2 -2
- package/dist/{models-cli-BEb0DHSP.js → models-cli-DTjBGjrI.js} +81 -81
- package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
- package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
- package/dist/{node-cli-DSoqxwqZ.js → node-cli-D4Tj8JOq.js} +33 -33
- package/dist/{node-command-policy-pJ6IPNBA.js → node-command-policy-BZq5AebG.js} +1 -1
- package/dist/{node-service-DUUObpwl.js → node-service-B0FIwOsW.js} +1 -1
- package/dist/{nodes-cli-BKGcOJ8A.js → nodes-cli-DL-855N8.js} +16 -16
- package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
- package/dist/{npm-pack-install-D5pJ8KzT.js → npm-pack-install-qErvgXGZ.js} +18 -18
- package/dist/{npm-resolution-T8SphiP5.js → npm-resolution-C_FZOBlT.js} +5 -5
- package/dist/{npm-resolution-Dv7nYiaP.js → npm-resolution-oBSNTx2S.js} +1 -1
- package/dist/{onboard-KHObANUh.js → onboard-B-f5pmgG.js} +2 -2
- package/dist/{onboard-BCcjGKBR.js → onboard-DktYC_iu.js} +6 -6
- package/dist/{onboard-channels-CRpmgX82.js → onboard-channels-Bbzz_NPd.js} +1 -1
- package/dist/{onboard-channels-BLZ8FdVP.js → onboard-channels-DGipWl1h.js} +20 -20
- package/dist/{onboard-custom-CZR1K96w.js → onboard-custom-B5F-69pM.js} +3 -3
- package/dist/{onboard-custom.shared-B9NXcXpv.js → onboard-custom.shared-CBgv6y4h.js} +2 -2
- package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
- package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
- package/dist/{onboard-remote-DtLQyBJB.js → onboard-remote-loJ1Jn9Q.js} +3 -3
- package/dist/{onboard-skills-Brzj5oDF.js → onboard-skills-JtcIUHsb.js} +4 -4
- package/dist/{onboarding-BTXvw1Ro.js → onboarding-D0IraL8k.js} +13 -13
- package/dist/{onboarding-DQNTd5J7.js → onboarding-Kp0zZunD.js} +3 -3
- package/dist/{onboarding.finalize-CHYENeNO.js → onboarding.finalize-CJ23anMx.js} +5 -5
- package/dist/{onboarding.finalize-D0qfP3rB.js → onboarding.finalize-DHitw2tg.js} +89 -89
- package/dist/{onboarding.gateway-config-D-gZxjbU.js → onboarding.gateway-config-uLDVSdpl.js} +18 -18
- package/dist/{openai-model-default-BNYNbslY.js → openai-model-default-B1Dlue6a.js} +2 -2
- package/dist/{outbound-_RTZSBES.js → outbound-BZyqP8d-.js} +4 -4
- package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
- package/dist/{pairing-cli-DiKgOlKC.js → pairing-cli-DR836bYa.js} +9 -9
- package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
- package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
- package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
- package/dist/{path-safety-__ACzYqx.js → path-safety-Cr4WZsHE.js} +1 -1
- package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
- package/dist/{pi-embedded-Bacc2S0h.js → pi-embedded-BgVoy_Nm.js} +42 -6
- package/dist/{pi-embedded-Claxav22.js → pi-embedded-DdMbqfLM.js} +42 -6
- package/dist/{pi-embedded-helpers-CrD8I6qf.js → pi-embedded-helpers-CEMPdfif.js} +6 -6
- package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
- package/dist/{pi-tools.policy-upaoJyu4.js → pi-tools.policy-dUeXHcQL.js} +5 -5
- package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
- package/dist/{plugin-registry-CxFikiLF.js → plugin-registry-CIUGSWLT.js} +3 -3
- package/dist/{plugin-registry-TOEmbMc4.js → plugin-registry-pa6LjTdT.js} +1 -1
- package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
- package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
- package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
- package/dist/plugin-sdk/agents/context.d.ts +2 -0
- package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BTRRjPew.js → audio-preflight-CkPj4OVY.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DFZS7uCO.js → audio-transcription-runner-BBn9jEMg.js} +10 -10
- package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D2q54sK-.js → channel-web-BaFUnG0F.js} +23 -23
- package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
- package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
- package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
- package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
- package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
- package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
- package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
- package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
- package/dist/{image-ops-BGTBZMuE.js → plugin-sdk/image-ops-DulHE5Qc.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
- package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
- package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
- package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
- package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
- package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
- package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
- package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
- package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
- package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
- package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
- package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
- package/dist/plugin-sdk/{reply-Cs_Ks2Mr.js → reply-BCRC0yeW.js} +133 -97
- package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
- package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
- package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
- package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
- package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
- package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
- package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
- package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
- package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
- package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
- package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
- package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
- package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
- package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
- package/dist/{target-errors-C5LA-JI-.js → plugin-sdk/target-errors-QZay02Cv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
- package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
- package/dist/plugin-sdk/web-BDHHRoXS.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
- package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
- package/dist/{plugins-cli-Clo_uyvq.js → plugins-cli-CqDquUh9.js} +2 -2
- package/dist/{plugins-cli-bHHZzKd-.js → plugins-cli-DnLeUBfn.js} +86 -86
- package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
- package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
- package/dist/{program-BI6W1Gll.js → program-3T_oL3TY.js} +84 -84
- package/dist/{program-context-D2D7wH7Q.js → program-context-D2U9PEv9.js} +17 -17
- package/dist/{prompt-select-styled-CdBJ0FWT.js → prompt-select-styled-Bir77erd.js} +4 -4
- package/dist/{prompt-select-styled-FGF3Su20.js → prompt-select-styled-BylOR7bV.js} +39 -39
- package/dist/{provider-auth-helpers-BFsLtU8g.js → provider-auth-helpers-BEFKXIJE.js} +5 -5
- package/dist/{provider-auth-helpers-D_akOb8A.js → provider-auth-helpers-fK9RpOiF.js} +1 -1
- package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
- package/dist/{push-apns-DvNRo3EQ.js → push-apns-C7oC1J4F.js} +1 -1
- package/dist/{push-apns-BSlKJa83.js → push-apns-sUecrS7L.js} +5 -5
- package/dist/{pw-ai-BeJ_96rV.js → pw-ai-CG7D8D2P.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- package/dist/{qr-cli-CCHyao8J.js → qr-cli-DiKa2ySu.js} +1 -1
- package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
- package/dist/{redact-snapshot-C1Yp9Q7B.js → redact-snapshot-Dioor4fY.js} +1 -1
- package/dist/{register.agent-DowGjvNc.js → register.agent-DVy4TdwU.js} +6 -6
- package/dist/{register.agent-C-OmdJMe.js → register.agent-FAGOpOS3.js} +97 -97
- package/dist/{register.configure-BZLa_c3k.js → register.configure-BzG1EPPb.js} +7 -7
- package/dist/register.configure-aZwsNSkf.js +175 -0
- package/dist/{register.init-B1pIa3ys.js → register.init-B-wUDJAX.js} +15 -15
- package/dist/{register.maintenance-f8NCHf6u.js → register.maintenance-B6f_YUQN.js} +99 -99
- package/dist/{register.maintenance-DTx6vUDv.js → register.maintenance-ClYMbiJl.js} +7 -7
- package/dist/{register.message-DE-eKss6.js → register.message-BkAe3KaX.js} +2 -2
- package/dist/{register.message-5hKmcWaB.js → register.message-WkJ5viuk.js} +77 -77
- package/dist/{register.onboard-DmymXZNT.js → register.onboard-BUBCEjZ_.js} +2 -2
- package/dist/{register.onboard-tT7keiju.js → register.onboard-DvpF9feG.js} +18 -18
- package/dist/{register.setup-DjHaiqnA.js → register.setup-CA7jtsG8.js} +21 -21
- package/dist/{register.setup-D9AvFexw.js → register.setup-Dlmt8cdD.js} +2 -2
- package/dist/{register.start-CyYd_xbF.js → register.start-3Hnjf8NZ.js} +17 -17
- package/dist/{register.status-health-sessions-Cbva8fTK.js → register.status-health-sessions-BfIwzFQw.js} +3 -3
- package/dist/{register.status-health-sessions-lOM_lb6H.js → register.status-health-sessions-CY2i61By.js} +91 -91
- package/dist/{register.subclis-pmPhNoRB.js → register.subclis-D72jBDzj.js} +31 -31
- package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
- package/dist/{reply-D8Yu6-Ie.js → reply-BOAv4F33.js} +42 -6
- package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
- package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
- package/dist/{rpc-CnRUZWNJ.js → rpc-DQa5fiBV.js} +1 -1
- package/dist/{run-main-D5C2p24j.js → run-main-DOntWJzb.js} +95 -95
- package/dist/{runtime-D4y0Gdfj.js → runtime-D-Knnx0g.js} +2 -2
- package/dist/{sandbox-Tai-w14a.js → sandbox-DI_zIUpo.js} +18 -18
- package/dist/{sandbox-cli-uwsF36Ea.js → sandbox-cli-Cn6OxK6L.js} +26 -26
- package/dist/{secrets-cli-DzeSuhpa.js → secrets-cli-Cf2fFK2m.js} +10 -10
- package/dist/{security-cli-Dzelqio0.js → security-cli-DS-dXNUv.js} +43 -43
- package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
- package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
- package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
- package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
- package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
- package/dist/{server-Cr92VI8t.js → server-C88L-6UW.js} +19 -19
- package/dist/{server-context-YLHmGfYV.js → server-context-CjPCwa4T.js} +12 -12
- package/dist/{server-lifecycle-B23lXM3Y.js → server-lifecycle-HLBzAVdX.js} +2 -2
- package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
- package/dist/{server-node-events-yFZiE04b.js → server-node-events-CyVS1c_n.js} +77 -77
- package/dist/{server-node-events-nakjzVDn.js → server-node-events-DAuQ0Pk2.js} +2 -2
- package/dist/{service-Bjqlh_fF.js → service-CFfCS51c.js} +15 -15
- package/dist/{session-DcnQHb9Q.js → session-ApCom0An.js} +1 -1
- package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DYJSA9qa.js} +46 -10
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- package/dist/{sessions-C2Xfck_9.js → sessions-CeXgGBJ1.js} +4 -4
- package/dist/{shared-BojXguFB.js → shared-Cd4Yi_Q8.js} +3 -3
- package/dist/{shared-_j1K2VJ9.js → shared-Cl1av01k.js} +1 -1
- package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
- package/dist/{skill-scanner-CSJqt034.js → skill-scanner-3QHafkQH.js} +6 -6
- package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
- package/dist/{skills-cli-BM1iUpGc.js → skills-cli-CAhlFcYR.js} +5 -5
- package/dist/{skills-install-e4_jXT_J.js → skills-install-DyneupGw.js} +6 -6
- package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
- package/dist/{status-CQYA6EJN.js → status-C6WYtjMU.js} +2 -2
- package/dist/{status-mS4bWnIW.js → status-VYa-lFs6.js} +26 -26
- package/dist/{status.update-YC9VNJxl.js → status.update-BdgtGtkx.js} +2 -2
- package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-CXBreqUP.js → subagent-registry-DlmrBMrv.js} +156 -156
- package/dist/{system-cli-B_PUKo6-.js → system-cli-BYGGFlhn.js} +9 -9
- package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
- package/dist/{systemd-HiU4Gzoc.js → systemd-DRGkJYMb.js} +9 -9
- package/dist/{systemd-hints-BDIASQOF.js → systemd-hints-C5HK00QG.js} +6 -6
- package/dist/{systemd-linger-DfrE-63p.js → systemd-linger-DME-3IVk.js} +1 -1
- package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
- package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
- package/dist/{plugin-sdk/target-errors-0u6pegQv.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- package/dist/{tui-CLK0s6TM.js → tui-C16rnfcv.js} +6 -6
- package/dist/{tui-cli-DTdNoN6U.js → tui-cli-Ct7mmQhr.js} +33 -33
- package/dist/{update-DLc3UsVC.js → update-DOvgIBRu.js} +3 -3
- package/dist/{update-cli-C2EagLTi.js → update-cli-BnefEkIB.js} +107 -107
- package/dist/{update-cli-DiT2fFEK.js → update-cli-CWNpH8nb.js} +7 -7
- package/dist/{update-runner-C9noXbfV.js → update-runner-BSQpjT4r.js} +16 -16
- package/dist/{update-runner-DO6RodZW.js → update-runner-CE9BNhOu.js} +1 -1
- package/dist/{web-CDHXvGxm.js → web-C1PpWeXj.js} +1 -1
- package/dist/web-C1Zm__bd.js +127 -0
- package/dist/{web-DbdjX4Hg.js → web-C_RqjNux.js} +2 -2
- package/dist/{web-DJKitOpu.js → web-DBuATjw6.js} +1 -1
- package/dist/{webhooks-cli-c5SaGz4J.js → webhooks-cli-DyIIpN1Q.js} +6 -6
- package/dist/{whatsapp-actions-CnjEOFOZ.js → whatsapp-actions-Dmv3vDs5.js} +19 -19
- package/dist/{with-timeout-DurSJobr.js → with-timeout-Cf-HNLSj.js} +3 -3
- package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
- package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
- package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
- package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +0 -72
- package/dist/register.configure-CaSRlI6h.js +0 -175
- package/dist/web-BKrNiKsU.js +0 -127
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { g as getResolvedLoggerSettings } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { C as sleep, S as shortenHomePath, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
4
|
-
import { Vr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, dt as loadOpenClawPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-
|
|
4
|
+
import { Vr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, dt as loadOpenClawPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-BOAv4F33.js";
|
|
5
5
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
6
6
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
7
7
|
import { T as parseAgentSessionKey } from "./session-key-C9z4VQtw.js";
|
|
@@ -36,16 +36,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
36
36
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-D40Qx3hg.js";
|
|
37
37
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BHQgZbuI.js";
|
|
38
38
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-C0e0Dmvg.js";
|
|
39
|
-
import { r as healthCommand } from "./health-
|
|
39
|
+
import { r as healthCommand } from "./health-BX20asqJ.js";
|
|
40
40
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B_3g_YF0.js";
|
|
41
41
|
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-C6rIxLzo.js";
|
|
42
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
42
|
+
import { t as runGatewayUpdate } from "./update-runner-CE9BNhOu.js";
|
|
43
43
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
44
44
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-18ijj3KB.js";
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-i1WBNTG8.js";
|
|
46
46
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BK6kig-o.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-CEAJLEPm.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BIt5xBwC.js";
|
|
49
49
|
import fs from "node:fs";
|
|
50
50
|
import os from "node:os";
|
|
51
51
|
import path from "node:path";
|
|
@@ -2,56 +2,56 @@ import { g as getResolvedLoggerSettings } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import { r as isTruthyEnvValue$1 } from "./entry.js";
|
|
5
|
-
import { Ai as DEFAULT_MODEL, Kn as ensureAuthProfileStore, Ni as CLAUDE_CLI_PROFILE_ID, P as readConfigFileSnapshot, Pi as CODEX_CLI_PROFILE_ID, R as writeConfigFile, Rn as repairOAuthProfileIdMismatch, Zn as updateAuthProfileStoreWithLock, ai as resolveApiKeyForProvider, ji as DEFAULT_PROVIDER, l as resolveApiKeyForProfile, lr as getModelRefStatus, s as resolveProfileUnusableUntilForDisplay, xr as resolveHooksGmailModel, yr as resolveConfiguredModelRef } from "./auth-profiles-
|
|
5
|
+
import { Ai as DEFAULT_MODEL, Kn as ensureAuthProfileStore, Ni as CLAUDE_CLI_PROFILE_ID, P as readConfigFileSnapshot, Pi as CODEX_CLI_PROFILE_ID, R as writeConfigFile, Rn as repairOAuthProfileIdMismatch, Zn as updateAuthProfileStoreWithLock, ai as resolveApiKeyForProvider, ji as DEFAULT_PROVIDER, l as resolveApiKeyForProfile, lr as getModelRefStatus, s as resolveProfileUnusableUntilForDisplay, xr as resolveHooksGmailModel, yr as resolveConfiguredModelRef } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
9
9
|
import { S as sleep, v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
10
|
-
import { t as DEFAULT_AGENTS_FILENAME, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
10
|
+
import { t as DEFAULT_AGENTS_FILENAME, y as resolveOpenClawPackageRoot } from "./workspace-DzeL98px.js";
|
|
11
11
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
12
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
13
|
-
import { B as cleanStaleLockFiles, at as formatSessionArchiveTimestamp, o as loadSessionStore, ot as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-
|
|
14
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
15
|
-
import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-
|
|
12
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DQzBD0Y7.js";
|
|
13
|
+
import { B as cleanStaleLockFiles, at as formatSessionArchiveTimestamp, o as loadSessionStore, ot as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-BXz4gdq6.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-C4cYqW07.js";
|
|
15
|
+
import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-DlmrBMrv.js";
|
|
16
16
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
17
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-
|
|
19
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
20
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
21
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
22
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
17
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CmAGfSJE.js";
|
|
18
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-C75G4fup.js";
|
|
19
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-DI_zIUpo.js";
|
|
20
|
+
import { a as resolveGatewayAuth } from "./auth-anvTU0Sb.js";
|
|
21
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-DRaxdQmm.js";
|
|
22
|
+
import { n as loadModelCatalog } from "./model-catalog-DFi9HgWu.js";
|
|
23
23
|
import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-BLYfoMmL.js";
|
|
24
|
-
import { l as resolveDmAllowState } from "./pi-tools.policy-
|
|
25
|
-
import { r as isWSLEnv, t as isWSL } from "./wsl-
|
|
26
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
24
|
+
import { l as resolveDmAllowState } from "./pi-tools.policy-dUeXHcQL.js";
|
|
25
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-DksyFTBT.js";
|
|
26
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-D8lLbK3A.js";
|
|
27
27
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CzS6Prvl.js";
|
|
28
|
-
import { i as resolveMemoryBackendConfig } from "./memory-cli-
|
|
29
|
-
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-
|
|
28
|
+
import { i as resolveMemoryBackendConfig } from "./memory-cli-BUrf60e_.js";
|
|
29
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-DWpiNvlg.js";
|
|
30
30
|
import { t as note$1 } from "./note-BuhsMSuP.js";
|
|
31
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
32
|
-
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
31
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-BWcKByy7.js";
|
|
32
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CBCbs7y1.js";
|
|
33
33
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
34
|
-
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
35
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
36
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
37
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
38
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
39
|
-
import { r as healthCommand } from "./health-
|
|
40
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
41
|
-
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
42
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
34
|
+
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-DRGkJYMb.js";
|
|
35
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CFfCS51c.js";
|
|
36
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-C5HK00QG.js";
|
|
37
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DR9Z0mN5.js";
|
|
38
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-BzuEXYfa.js";
|
|
39
|
+
import { r as healthCommand } from "./health-D4cJIlo7.js";
|
|
40
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BGvtXBkm.js";
|
|
41
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-BrHQ7XHF.js";
|
|
42
|
+
import { t as runGatewayUpdate } from "./update-runner-BSQpjT4r.js";
|
|
43
43
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
44
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
44
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DUdUJgfq.js";
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-B31t_Wn7.js";
|
|
46
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
46
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DME-3IVk.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-NGoowTz5.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BSR7Om4e.js";
|
|
49
49
|
import { execFile } from "node:child_process";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import os from "node:os";
|
|
52
52
|
import fs from "node:fs";
|
|
53
53
|
import { promisify } from "node:util";
|
|
54
|
-
import
|
|
54
|
+
import fsPromises from "node:fs/promises";
|
|
55
55
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
56
56
|
|
|
57
57
|
//#region src/commands/doctor-auth.ts
|
|
@@ -548,16 +548,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
548
548
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
549
549
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
550
550
|
try {
|
|
551
|
-
await
|
|
551
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
552
552
|
} catch {}
|
|
553
553
|
try {
|
|
554
|
-
await
|
|
554
|
+
await fsPromises.access(params.plistPath);
|
|
555
555
|
} catch {
|
|
556
556
|
return null;
|
|
557
557
|
}
|
|
558
558
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
559
559
|
try {
|
|
560
|
-
await
|
|
560
|
+
await fsPromises.rename(params.plistPath, dest);
|
|
561
561
|
return dest;
|
|
562
562
|
} catch {
|
|
563
563
|
return null;
|
|
@@ -1901,11 +1901,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1901
1901
|
argv1: process.argv[1]
|
|
1902
1902
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1903
1903
|
try {
|
|
1904
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1904
|
+
const [schemaStats, uiStats] = await Promise.all([fsPromises.stat(schemaPath).catch(() => null), fsPromises.stat(uiIndexPath).catch(() => null)]);
|
|
1905
1905
|
if (schemaStats && !uiStats) {
|
|
1906
1906
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1907
1907
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1908
|
-
if (!await
|
|
1908
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1909
1909
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1910
1910
|
return;
|
|
1911
1911
|
}
|
|
@@ -1950,7 +1950,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1950
1950
|
initialValue: true
|
|
1951
1951
|
})) {
|
|
1952
1952
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1953
|
-
if (!await
|
|
1953
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1954
1954
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
1955
1955
|
return;
|
|
1956
1956
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { Kn as ensureAuthProfileStore, Un as upsertAuthProfile, hr as normalizeProviderId } from "./auth-profiles-
|
|
3
|
-
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
-
import { r as isWSLEnv } from "./wsl-
|
|
2
|
+
import { Kn as ensureAuthProfileStore, Un as upsertAuthProfile, hr as normalizeProviderId } from "./auth-profiles-CyG9VwU_.js";
|
|
3
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-DlmrBMrv.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-DksyFTBT.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-CzS6Prvl.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { f as updateConfig } from "./shared-Cd4Yi_Q8.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-Cfvmvs2X.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-BOAv4F33.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
3
3
|
import { ai as upsertAuthProfile, ci as ensureAuthProfileStore, d as normalizeProviderId } from "./model-selection-xdfZxwgB.js";
|
|
4
4
|
import { r as isWSLEnv } from "./wsl-yjQQ-PJd.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bt as parseCanonicalIpAddress, ct as isBlockedSpecialUseIpv4Address, ht as isLegacyIpv4Literal, lt as isBlockedSpecialUseIpv6Address, pt as isIpv4Address, st as extractEmbeddedIpv4FromIpv6, ut as isCanonicalDottedDecimalIPv4, xt as parseLooseIpAddress } from "./auth-profiles-
|
|
1
|
+
import { bt as parseCanonicalIpAddress, ct as isBlockedSpecialUseIpv4Address, ht as isLegacyIpv4Literal, lt as isBlockedSpecialUseIpv6Address, pt as isIpv4Address, st as extractEmbeddedIpv4FromIpv6, ut as isCanonicalDottedDecimalIPv4, xt as parseLooseIpAddress } from "./auth-profiles-CyG9VwU_.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { r as isVerbose } from "./globals-uLeGcRW1.js";
|
|
3
|
-
import { y as sniffMimeFromBase64 } from "./reply-
|
|
3
|
+
import { y as sniffMimeFromBase64 } from "./reply-BOAv4F33.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
5
5
|
import { T as parseAgentSessionKey } from "./session-key-C9z4VQtw.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-Bf_pxORb.js";
|
|
@@ -2,13 +2,13 @@ import { r as isVerbose } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
5
|
-
import { p as sniffMimeFromBase64 } from "./subagent-registry-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { p as sniffMimeFromBase64 } from "./subagent-registry-DlmrBMrv.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-rR19q30D.js";
|
|
7
7
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-Ck5U_y4i.js";
|
|
8
|
-
import { o as estimateBase64DecodedBytes } from "./tool-images-
|
|
8
|
+
import { o as estimateBase64DecodedBytes } from "./tool-images-CmgHk8xk.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
13
13
|
import http2 from "node:http2";
|
|
14
14
|
|
|
@@ -526,7 +526,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
526
526
|
value: {
|
|
527
527
|
teamId,
|
|
528
528
|
keyId,
|
|
529
|
-
privateKey: normalizePrivateKey(await
|
|
529
|
+
privateKey: normalizePrivateKey(await fsPromises.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -2,11 +2,11 @@ import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-DzeL98px.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,20 +14,20 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./net-
|
|
20
|
-
import "./tailnet-
|
|
17
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
18
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
19
|
+
import "./net-C75G4fup.js";
|
|
20
|
+
import "./tailnet-CfP3A6g2.js";
|
|
21
21
|
import { n as markPwAiLoaded } from "./diagnostic-session-state-Bwj7TezN.js";
|
|
22
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
23
|
-
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE, t as DEFAULT_DOWNLOAD_DIR } from "./paths-
|
|
22
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-DeZyLFsG.js";
|
|
23
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE, t as DEFAULT_DOWNLOAD_DIR } from "./paths-B_L2Zoe-.js";
|
|
24
24
|
import "./redact-Ck5U_y4i.js";
|
|
25
25
|
import { r as formatErrorMessage } from "./errors-BJz45-qI.js";
|
|
26
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
27
|
-
import "./proxy-env-
|
|
28
|
-
import "./ports-
|
|
26
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-BqJ9egpm.js";
|
|
27
|
+
import "./proxy-env-BoopXu2J.js";
|
|
28
|
+
import "./ports-DRaxdQmm.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fsPromises from "node:fs/promises";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
32
|
import { chromium, devices } from "playwright-core";
|
|
33
33
|
|
|
@@ -563,7 +563,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
563
563
|
});
|
|
564
564
|
renameSucceeded = true;
|
|
565
565
|
} finally {
|
|
566
|
-
if (!renameSucceeded) await
|
|
566
|
+
if (!renameSucceeded) await fsPromises.rm(tempPath, { force: true }).catch(() => {});
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
|
|
@@ -954,7 +954,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
954
954
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
955
955
|
const requestedPath = outPath?.trim();
|
|
956
956
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
957
|
-
await
|
|
957
|
+
await fsPromises.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
958
958
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
959
959
|
else await writeViaSiblingTempPath({
|
|
960
960
|
rootDir: DEFAULT_DOWNLOAD_DIR,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./globals-B68W7uN8.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import "./utils-DIzy5B5o.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-DzeL98px.js";
|
|
8
8
|
import "./logger-BJMfryJd.js";
|
|
9
9
|
import "./exec-CEAvKSx9.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
10
|
+
import "./path-alias-guards-laKq24fx.js";
|
|
11
11
|
import "./paths-CTtLmER4.js";
|
|
12
12
|
import "./redact-Ck5U_y4i.js";
|
|
13
|
-
import { l as writeFileWithinRoot } from "./fs-safe-
|
|
13
|
+
import { l as writeFileWithinRoot } from "./fs-safe-BqJ9egpm.js";
|
|
14
14
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-sB-dPrhi.js";
|
|
15
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
15
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-Ba9OpCm9.js";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import os from "node:os";
|
|
19
|
-
import
|
|
19
|
+
import fsPromises from "node:fs/promises";
|
|
20
20
|
import readline from "node:readline";
|
|
21
21
|
|
|
22
22
|
//#region src/memory/qmd-scope.ts
|
|
@@ -291,10 +291,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
291
291
|
async initialize(mode) {
|
|
292
292
|
this.bootstrapCollections();
|
|
293
293
|
if (mode === "status") return;
|
|
294
|
-
await
|
|
295
|
-
await
|
|
296
|
-
await
|
|
297
|
-
if (this.sessionExporter) await
|
|
294
|
+
await fsPromises.mkdir(this.xdgConfigHome, { recursive: true });
|
|
295
|
+
await fsPromises.mkdir(this.xdgCacheHome, { recursive: true });
|
|
296
|
+
await fsPromises.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
297
|
+
if (this.sessionExporter) await fsPromises.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
298
298
|
await this.symlinkSharedModels();
|
|
299
299
|
await this.ensureCollections();
|
|
300
300
|
if (this.qmd.update.onBoot) {
|
|
@@ -387,7 +387,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
387
387
|
}
|
|
388
388
|
async ensureCollectionPath(collection) {
|
|
389
389
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
390
|
-
await
|
|
390
|
+
await fsPromises.mkdir(collection.path, { recursive: true });
|
|
391
391
|
}
|
|
392
392
|
isDirectoryGlobPattern(pattern) {
|
|
393
393
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -831,19 +831,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
831
831
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
832
832
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
833
833
|
try {
|
|
834
|
-
if (!(await
|
|
834
|
+
if (!(await fsPromises.stat(defaultModelsDir).catch((err) => {
|
|
835
835
|
if (err.code === "ENOENT") return null;
|
|
836
836
|
throw err;
|
|
837
837
|
}))?.isDirectory()) return;
|
|
838
838
|
try {
|
|
839
|
-
await
|
|
839
|
+
await fsPromises.lstat(targetModelsDir);
|
|
840
840
|
return;
|
|
841
841
|
} catch {}
|
|
842
842
|
try {
|
|
843
|
-
await
|
|
843
|
+
await fsPromises.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
844
844
|
} catch (symlinkErr) {
|
|
845
845
|
const code = symlinkErr.code;
|
|
846
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
846
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fsPromises.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
847
847
|
else throw symlinkErr;
|
|
848
848
|
}
|
|
849
849
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1019,7 +1019,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1019
1019
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1020
1020
|
let handle;
|
|
1021
1021
|
try {
|
|
1022
|
-
handle = await
|
|
1022
|
+
handle = await fsPromises.open(absPath);
|
|
1023
1023
|
} catch (err) {
|
|
1024
1024
|
if (isFileMissingError(err)) return { missing: true };
|
|
1025
1025
|
throw err;
|
|
@@ -1051,7 +1051,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1051
1051
|
try {
|
|
1052
1052
|
return {
|
|
1053
1053
|
missing: false,
|
|
1054
|
-
text: await
|
|
1054
|
+
text: await fsPromises.readFile(absPath, "utf-8")
|
|
1055
1055
|
};
|
|
1056
1056
|
} catch (err) {
|
|
1057
1057
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1068,7 +1068,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1068
1068
|
async exportSessions() {
|
|
1069
1069
|
if (!this.sessionExporter) return;
|
|
1070
1070
|
const exportDir = this.sessionExporter.dir;
|
|
1071
|
-
await
|
|
1071
|
+
await fsPromises.mkdir(exportDir, { recursive: true });
|
|
1072
1072
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1073
1073
|
const keep = /* @__PURE__ */ new Set();
|
|
1074
1074
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1094,11 +1094,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1094
1094
|
});
|
|
1095
1095
|
keep.add(target);
|
|
1096
1096
|
}
|
|
1097
|
-
const exported = await
|
|
1097
|
+
const exported = await fsPromises.readdir(exportDir).catch(() => []);
|
|
1098
1098
|
for (const name of exported) {
|
|
1099
1099
|
if (!name.endsWith(".md")) continue;
|
|
1100
1100
|
const full = path.join(exportDir, name);
|
|
1101
|
-
if (!keep.has(full)) await
|
|
1101
|
+
if (!keep.has(full)) await fsPromises.rm(full, { force: true });
|
|
1102
1102
|
}
|
|
1103
1103
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1104
1104
|
}
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { p as theme } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { u as resolveGatewayPort } from "./paths-BnKiOk2S.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
5
|
-
import { M as loadConfig, dt as isCarrierGradeNatIpv4Address, vt as isRfc1918Ipv4Address } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig, dt as isCarrierGradeNatIpv4Address, vt as isRfc1918Ipv4Address } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
8
8
|
import os from "node:os";
|
|
@@ -6,7 +6,7 @@ import { n as redactSensitiveText } from "./redact-Ck5U_y4i.js";
|
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/memory/fs-utils.ts
|
|
@@ -16,7 +16,7 @@ function isFileMissingError(err) {
|
|
|
16
16
|
async function statRegularFile(absPath) {
|
|
17
17
|
let stat;
|
|
18
18
|
try {
|
|
19
|
-
stat = await
|
|
19
|
+
stat = await fsPromises.lstat(absPath);
|
|
20
20
|
} catch (err) {
|
|
21
21
|
if (isFileMissingError(err)) return { missing: true };
|
|
22
22
|
throw err;
|
|
@@ -51,7 +51,7 @@ function isMemoryPath(relPath) {
|
|
|
51
51
|
return normalized.startsWith("memory/");
|
|
52
52
|
}
|
|
53
53
|
async function walkDir(dir, files) {
|
|
54
|
-
const entries = await
|
|
54
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true });
|
|
55
55
|
for (const entry of entries) {
|
|
56
56
|
const full = path.join(dir, entry.name);
|
|
57
57
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -71,7 +71,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
71
71
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
72
72
|
const addMarkdownFile = async (absPath) => {
|
|
73
73
|
try {
|
|
74
|
-
const stat = await
|
|
74
|
+
const stat = await fsPromises.lstat(absPath);
|
|
75
75
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
76
76
|
if (!absPath.endsWith(".md")) return;
|
|
77
77
|
result.push(absPath);
|
|
@@ -80,12 +80,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
80
80
|
await addMarkdownFile(memoryFile);
|
|
81
81
|
await addMarkdownFile(altMemoryFile);
|
|
82
82
|
try {
|
|
83
|
-
const dirStat = await
|
|
83
|
+
const dirStat = await fsPromises.lstat(memoryDir);
|
|
84
84
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
85
85
|
} catch {}
|
|
86
86
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
87
87
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
88
|
-
const stat = await
|
|
88
|
+
const stat = await fsPromises.lstat(inputPath);
|
|
89
89
|
if (stat.isSymbolicLink()) continue;
|
|
90
90
|
if (stat.isDirectory()) {
|
|
91
91
|
await walkDir(inputPath, result);
|
|
@@ -99,7 +99,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
99
99
|
for (const entry of result) {
|
|
100
100
|
let key = entry;
|
|
101
101
|
try {
|
|
102
|
-
key = await
|
|
102
|
+
key = await fsPromises.realpath(entry);
|
|
103
103
|
} catch {}
|
|
104
104
|
if (seen.has(key)) continue;
|
|
105
105
|
seen.add(key);
|
|
@@ -113,14 +113,14 @@ function hashText(value) {
|
|
|
113
113
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
114
114
|
let stat;
|
|
115
115
|
try {
|
|
116
|
-
stat = await
|
|
116
|
+
stat = await fsPromises.stat(absPath);
|
|
117
117
|
} catch (err) {
|
|
118
118
|
if (isFileMissingError(err)) return null;
|
|
119
119
|
throw err;
|
|
120
120
|
}
|
|
121
121
|
let content;
|
|
122
122
|
try {
|
|
123
|
-
content = await
|
|
123
|
+
content = await fsPromises.readFile(absPath, "utf-8");
|
|
124
124
|
} catch (err) {
|
|
125
125
|
if (isFileMissingError(err)) return null;
|
|
126
126
|
throw err;
|
|
@@ -254,7 +254,7 @@ const log = createSubsystemLogger("memory");
|
|
|
254
254
|
async function listSessionFilesForAgent(agentId) {
|
|
255
255
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
256
256
|
try {
|
|
257
|
-
return (await
|
|
257
|
+
return (await fsPromises.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
258
258
|
} catch {
|
|
259
259
|
return [];
|
|
260
260
|
}
|
|
@@ -284,8 +284,8 @@ function extractSessionText(content) {
|
|
|
284
284
|
}
|
|
285
285
|
async function buildSessionEntry(absPath) {
|
|
286
286
|
try {
|
|
287
|
-
const stat = await
|
|
288
|
-
const lines = (await
|
|
287
|
+
const stat = await fsPromises.stat(absPath);
|
|
288
|
+
const lines = (await fsPromises.readFile(absPath, "utf-8")).split("\n");
|
|
289
289
|
const collected = [];
|
|
290
290
|
const lineMap = [];
|
|
291
291
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { Q as sensitive } from "./auth-profiles-
|
|
2
|
+
import { Q as sensitive } from "./auth-profiles-CyG9VwU_.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import { p as theme, s as setVerbose } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { $t as parseIdentityMarkdown, At as agentCommand, Mt as resolveSessionKeyForRequest, Rt as createDefaultDeps, Zt as identityHasValues } from "./reply-
|
|
5
|
+
import { $t as parseIdentityMarkdown, At as agentCommand, Mt as resolveSessionKeyForRequest, Rt as createDefaultDeps, Zt as identityHasValues } from "./reply-BOAv4F33.js";
|
|
6
6
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-C9z4VQtw.js";
|
|
@@ -120,7 +120,7 @@ import "./server-lifecycle-B7aXKxY3.js";
|
|
|
120
120
|
import "./stagger-C-R8Eo-4.js";
|
|
121
121
|
import "./constants-BJiQF5Ae.js";
|
|
122
122
|
import "./context-window-guard-BNuaId5E.js";
|
|
123
|
-
import "./channel-web-
|
|
123
|
+
import "./channel-web-BJJUEEKO.js";
|
|
124
124
|
import "./outbound-DlVJWa4u.js";
|
|
125
125
|
import "./session-FOGqE7bj.js";
|
|
126
126
|
import "./login-B2B75WGK.js";
|
|
@@ -131,22 +131,22 @@ import { t as WizardCancelledError } from "./prompts-iXdBMk3j.js";
|
|
|
131
131
|
import { t as createClackPrompter } from "./clack-prompter-CgCD3NZ8.js";
|
|
132
132
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D0Q6sarx.js";
|
|
133
133
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-BcxAhhcj.js";
|
|
134
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
134
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-rRQ8xZUr.js";
|
|
135
135
|
import "./enable-CJ75JA5u.js";
|
|
136
136
|
import "./install-safe-path-CSqVUjL8.js";
|
|
137
137
|
import "./npm-pack-install-Byr0kgft.js";
|
|
138
138
|
import "./skill-scanner-CsmM5F4F.js";
|
|
139
139
|
import "./installs-BXOZ3DXs.js";
|
|
140
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
140
|
+
import { r as setupChannels } from "./onboard-channels-Bbzz_NPd.js";
|
|
141
141
|
import "./issue-format-rk9Vpcxd.js";
|
|
142
142
|
import "./shared-CgFPGTLU.js";
|
|
143
143
|
import "./auth-token-BjVRLcvi.js";
|
|
144
144
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
145
|
-
import "./provider-auth-helpers-
|
|
145
|
+
import "./provider-auth-helpers-fK9RpOiF.js";
|
|
146
146
|
import "./auth-choice-options-b4PPFtrk.js";
|
|
147
147
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-C9CCcFcF.js";
|
|
148
148
|
import "./auth-choice.apply-helpers-CQLQ5Tuk.js";
|
|
149
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
149
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-eimtfK0N.js";
|
|
150
150
|
import "./openai-model-default-Q7Hmy0eQ.js";
|
|
151
151
|
import "./model-picker-CMgjcqV_.js";
|
|
152
152
|
import "./oauth-tls-preflight-i1WBNTG8.js";
|