@bitseek/claw 1.2.9 → 1.3.1
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-2NNZ6Hbp.js → accounts-B3zSNWIv.js} +1 -1
- package/dist/{accounts-Cv5CUnT4.js → accounts-BQHz8_1_.js} +7 -7
- package/dist/{accounts-NHpMJ0aq.js → accounts-DTfEeXyO.js} +1 -1
- package/dist/{acp-cli-CyPiQ0lt.js → acp-cli-C24-lylb.js} +8 -8
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-BC3wwrO-.js → agents-Sp-v-_mR.js} +15 -15
- package/dist/{agents.config-CeG5P331.js → agents.config-C6zkqXkX.js} +2 -2
- package/dist/{api-key-rotation-Cf7QM5M_.js → api-key-rotation-xfk-b2Sv.js} +1 -1
- package/dist/{audio-preflight-iuCPDl1D.js → audio-preflight-Dl40LQzr.js} +36 -36
- package/dist/{audio-transcription-runner-CGADiTRL.js → audio-transcription-runner-jiDE7Pt8.js} +22 -22
- package/dist/{audit-Bjz6AFn-.js → audit-Bgu8Ommg.js} +29 -29
- package/dist/{auth-anvTU0Sb.js → auth-B3HDYw4G.js} +1 -1
- package/dist/{auth-choice-Co_Dl_bs.js → auth-choice-DYXCDlGW.js} +14 -14
- package/dist/{auth-choice-Dx1VT2I8.js → auth-choice-lzACBXDv.js} +12 -12
- package/dist/{auth-choice.apply-helpers-Du585kvU.js → auth-choice.apply-helpers-DR-eUj_5.js} +1 -1
- package/dist/{auth-profiles-CyG9VwU_.js → auth-profiles-D_x1_5v_.js} +16 -16
- package/dist/{auth-token-Cfvmvs2X.js → auth-token-BDQ5b9Wx.js} +1 -1
- package/dist/{banner-7O0OkDQ4.js → banner-CYVM4p3E.js} +2 -2
- package/dist/{bindings-DGvp9FdD.js → bindings-Hx6KNJeg.js} +1 -1
- package/dist/{bonjour-discovery-Dv9UQh6g.js → bonjour-discovery-DiHs5j0y.js} +1 -1
- package/dist/{browser-cli-C1OEYX9g.js → browser-cli-BMupJSz_.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CmAGfSJE.js → call-CzoM7hPS.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BrHQ7XHF.js → channel-account-context-BV3Q0XnD.js} +5 -5
- package/dist/{channel-options-BnZ1nSBu.js → channel-options-Cn6pNgzb.js} +3 -3
- package/dist/{channel-selection-DGtYwfd7.js → channel-selection-D8KYuWir.js} +1 -1
- package/dist/{channel-web-lHPdbnjv.js → channel-web-TsD9bdWt.js} +18 -18
- package/dist/{channels-cli-DEE_p7e9.js → channels-cli-DA8sLqQk.js} +95 -95
- package/dist/{channels-status-issues-BWcKByy7.js → channels-status-issues-CCNiQcg9.js} +1 -1
- package/dist/{chrome-DeZyLFsG.js → chrome-DuDCGdf-.js} +4 -4
- package/dist/{clawbot-cli-C6oL4o77.js → clawbot-cli-COQB6-NK.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CD5xP9w9.js → cli-DIs0fL3W.js} +76 -76
- package/dist/{client-vUKV2o6h.js → client-BvL3EdiZ.js} +2 -2
- package/dist/{command-registry-B41say0S.js → command-registry-DcARoFp5.js} +13 -13
- package/dist/{commands-d8L0zY8O.js → commands-C67IbXs7.js} +1 -1
- package/dist/{commands-registry-C78O6aNi.js → commands-registry-D0_D5hFV.js} +3 -3
- package/dist/{completion-cli-DSxTjQik.js → completion-cli-DRUvmQGG.js} +13 -13
- package/dist/{completion-cli-BuLkcc9o.js → completion-cli-cJxeCv4O.js} +1 -1
- package/dist/{config-cli-BMtY1oFI.js → config-cli-Dh9rvUxe.js} +7 -7
- package/dist/{config-guard-Bztdn_pu.js → config-guard-CcE0LvHm.js} +3 -3
- package/dist/{config-validation-CAkiRwLK.js → config-validation-DO7QURfM.js} +3 -3
- package/dist/{configure-Dz9z2cyD.js → configure-BYFIF9Sz.js} +17 -17
- package/dist/control-ui/assets/{index-puDi2eTY.js → index-DeYOAwUj.js} +80 -80
- package/dist/control-ui/assets/index-DeYOAwUj.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/{control-ui-assets-BGvtXBkm.js → control-ui-assets-Dx8wiZQ_.js} +1 -1
- package/dist/{cron-cli-nslB2EKF.js → cron-cli-xl75rAFd.js} +12 -12
- package/dist/{daemon-cli-D8I8RTf0.js → daemon-cli-BSy0rtO2.js} +15 -15
- package/dist/{daemon-install-CKree1OU.js → daemon-install-d2OYSlQz.js} +4 -4
- package/dist/{daemon-install-helpers-CBCbs7y1.js → daemon-install-helpers-D28keNLu.js} +11 -11
- package/dist/{dashboard-dc7KG5Fm.js → dashboard-DXvihe_P.js} +2 -2
- package/dist/{deliver-BRwFsEUd.js → deliver-Df8pSQk6.js} +7 -7
- package/dist/{devices-cli-jakb5Fk0.js → devices-cli-D6CoUTi_.js} +8 -8
- package/dist/{diagnostic-DjxUqpmL.js → diagnostic-Bvatw1Xn.js} +1 -1
- package/dist/{diagnostics-DR9Z0mN5.js → diagnostics-ABz8E7c-.js} +5 -5
- package/dist/{directory-cli-3FgAtenS.js → directory-cli-Dkil59xj.js} +8 -8
- package/dist/{dns-cli-DUsjD4em.js → dns-cli-CJydclW8.js} +5 -5
- package/dist/{dock-CoclJnwp.js → dock-DT8sACcR.js} +4 -4
- package/dist/{docs-cli-CpIeooaU.js → docs-cli-BkufgU5Y.js} +4 -4
- package/dist/{doctor-completion-BSR7Om4e.js → doctor-completion-BPXyoyKn.js} +2 -2
- package/dist/{doctor-completion-BIt5xBwC.js → doctor-completion-COhnnC7x.js} +1 -1
- package/dist/{doctor-config-flow-DUdUJgfq.js → doctor-config-flow-BrXA2e34.js} +15 -15
- package/dist/{enable-BNycqpJc.js → enable-CinNZxRH.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CFjPSbxI.js → exec-approvals-allowlist-B4DS6FIn.js} +1 -1
- package/dist/{exec-approvals-cli-D8lFWgJj.js → exec-approvals-cli-Cani2Hjk.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CpMj95vJ.js → exec-safe-bin-runtime-policy-BP6ImlkB.js} +2 -2
- package/dist/{fetch-DOjg912W.js → fetch-DC-NMnAU.js} +3 -3
- package/dist/{fetch-guard-Csbz9pui.js → fetch-guard-B62rgaSw.js} +1 -1
- package/dist/{fs-safe-BqJ9egpm.js → fs-safe-CJDtl_QU.js} +24 -24
- package/dist/{gateway-cli-VrzgkvsB.js → gateway-cli-9UPhizyo.js} +181 -161
- package/dist/{gateway-cli-CanylfLh.js → gateway-cli-BHpfj2p-.js} +21 -1
- package/dist/{gateway-rpc-B5Spvviy.js → gateway-rpc-C7KYwonl.js} +1 -1
- package/dist/{health-D4cJIlo7.js → health-CWmeMvVp.js} +14 -14
- package/dist/{hooks-cli-BPg6BqOl.js → hooks-cli-DzvdmY1Z.js} +84 -84
- package/dist/{hooks-status-6tcOdcYp.js → hooks-status-DE20AAEu.js} +1 -1
- package/dist/{image-CI4JYwnc.js → image-UpBiPNsk.js} +5 -5
- package/dist/{image-ops-B2L37gT8.js → image-ops-BGTBZMuE.js} +10 -10
- package/dist/index.js +1 -1
- package/dist/{inspect-BzuEXYfa.js → inspect-Bmurt9te.js} +4 -4
- package/dist/{install-safe-path-C8QJ5yjB.js → install-safe-path-BB9b_AvF.js} +25 -25
- package/dist/{installs-CWbEA1d1.js → installs-BXcYytvn.js} +9 -9
- package/dist/{ipv4-DQS0lTwQ.js → ipv4-BB1Ro6so.js} +1 -1
- package/dist/{ir-CEwBpxhC.js → ir-DziC-P4Z.js} +6 -6
- package/dist/{issue-format-D8MobWNt.js → issue-format-DF2YB-kZ.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-CiAE4s92.js → lifecycle-core-CJd181-h.js} +5 -5
- package/dist/{login-CdHg3Emc.js → login-C_YjM9eH.js} +3 -3
- package/dist/{login-qr-DXecO0Tb.js → login-qr-DujJqOuy.js} +6 -6
- package/dist/{logs-cli-D8UCmwyR.js → logs-cli-Bc1A5X-r.js} +9 -9
- package/dist/{manager-DWpiNvlg.js → manager-7hZXEYTj.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-DQlQMRGZ.js → markdown-tables-BYHgyUjA.js} +1 -1
- package/dist/{memory-cli-BUrf60e_.js → memory-cli-CuT-iG2F.js} +12 -12
- package/dist/{model-DMZUvZJo.js → model-DmBmzJI6.js} +2 -2
- package/dist/{model-catalog-DFi9HgWu.js → model-catalog-D1X8r3WJ.js} +3 -3
- package/dist/{model-picker-Dt7Rl38k.js → model-picker-C56N_rW7.js} +4 -4
- package/dist/{models-CukrcW4u.js → models-C21qhHIB.js} +18 -18
- package/dist/{models-cli-DTjBGjrI.js → models-cli-CMETQ9Wy.js} +81 -81
- package/dist/{models-config-AePb9RAo.js → models-config-CmrBGsQs.js} +6 -6
- package/dist/{net-C75G4fup.js → net-BXeYv7Iu.js} +2 -2
- package/dist/{node-cli-D4Tj8JOq.js → node-cli-DSoqxwqZ.js} +33 -33
- package/dist/{node-command-policy-BZq5AebG.js → node-command-policy-pJ6IPNBA.js} +1 -1
- package/dist/{node-service-B0FIwOsW.js → node-service-DUUObpwl.js} +1 -1
- package/dist/{nodes-cli-DL-855N8.js → nodes-cli-BKGcOJ8A.js} +16 -16
- package/dist/{nodes-screen-BHwVUMr8.js → nodes-screen-DcxCMjOs.js} +7 -7
- package/dist/{npm-pack-install-qErvgXGZ.js → npm-pack-install-D5pJ8KzT.js} +18 -18
- package/dist/{npm-resolution-C_FZOBlT.js → npm-resolution-BAwDXgj5.js} +5 -5
- package/dist/{onboard-B-f5pmgG.js → onboard-Yx-4UNLx.js} +1 -1
- package/dist/{onboard-channels-DGipWl1h.js → onboard-channels-B59K9VZH.js} +20 -20
- package/dist/{onboard-custom-B5F-69pM.js → onboard-custom-CZR1K96w.js} +3 -3
- package/dist/{onboard-custom.shared-CBgv6y4h.js → onboard-custom.shared-B9NXcXpv.js} +2 -2
- package/dist/{onboard-helpers-D8lLbK3A.js → onboard-helpers-CczYNQDJ.js} +11 -11
- package/dist/{onboard-hooks-DBif0Jq8.js → onboard-hooks-o0B0p8tR.js} +4 -4
- package/dist/{onboard-DktYC_iu.js → onboard-lxDPoEX0.js} +6 -6
- package/dist/{onboard-remote-loJ1Jn9Q.js → onboard-remote-DtLQyBJB.js} +3 -3
- package/dist/{onboard-skills-JtcIUHsb.js → onboard-skills-Brzj5oDF.js} +4 -4
- package/dist/{onboarding-Kp0zZunD.js → onboarding-BuP_R-4K.js} +1 -1
- package/dist/{onboarding-D0IraL8k.js → onboarding-C1V78UtY.js} +13 -13
- package/dist/{onboarding.finalize-DHitw2tg.js → onboarding.finalize--jtLHdXd.js} +89 -89
- package/dist/{onboarding.finalize-CJ23anMx.js → onboarding.finalize-f-QjMD-6.js} +3 -3
- package/dist/{onboarding.gateway-config-uLDVSdpl.js → onboarding.gateway-config-D-gZxjbU.js} +18 -18
- package/dist/{openai-model-default-B1Dlue6a.js → openai-model-default-BNYNbslY.js} +2 -2
- package/dist/{outbound-BZyqP8d-.js → outbound-_RTZSBES.js} +4 -4
- package/dist/{outbound-attachment-DM-h2uQ1.js → outbound-attachment-CXINK8df.js} +2 -2
- package/dist/{pairing-cli-DR836bYa.js → pairing-cli-DiKgOlKC.js} +9 -9
- package/dist/{pairing-labels-x4akYNb7.js → pairing-labels-CFSUHOmk.js} +1 -1
- package/dist/{pairing-store-rFuiIoGM.js → pairing-store-BfzlN-z9.js} +3 -3
- package/dist/{path-alias-guards-laKq24fx.js → path-alias-guards-Cg9ZP1NN.js} +3 -3
- package/dist/{path-safety-Cr4WZsHE.js → path-safety-__ACzYqx.js} +1 -1
- package/dist/{paths-B_L2Zoe-.js → paths-BjoSX1aC.js} +9 -9
- package/dist/{pi-embedded-helpers-CEMPdfif.js → pi-embedded-helpers-CrD8I6qf.js} +6 -6
- package/dist/{pi-model-discovery-RrejIg26.js → pi-model-discovery-BZ2RCD_u.js} +1 -1
- package/dist/{pi-tools.policy-dUeXHcQL.js → pi-tools.policy-upaoJyu4.js} +5 -5
- package/dist/{plugin-auto-enable-S_lBQAKI.js → plugin-auto-enable-DER6qA6X.js} +3 -3
- package/dist/{plugin-registry-CIUGSWLT.js → plugin-registry-CA1t0UeN.js} +3 -3
- package/dist/{plugins-cli-DnLeUBfn.js → plugins-cli-Cidq7nJb.js} +86 -86
- package/dist/{plugins-C4cYqW07.js → plugins-vsjS_m58.js} +2 -2
- package/dist/{ports-DRaxdQmm.js → ports-sCOQUaAP.js} +2 -2
- package/dist/{ports-tfS1haOJ.js → ports-zWusnrvP.js} +1 -1
- package/dist/{program-3T_oL3TY.js → program-DAVrzhs2.js} +84 -84
- package/dist/{program-context-D2U9PEv9.js → program-context-CroeAMEq.js} +6 -6
- package/dist/{prompt-select-styled-Bir77erd.js → prompt-select-styled-Dbko_Q7s.js} +1 -1
- package/dist/{prompt-select-styled-BylOR7bV.js → prompt-select-styled-Du3ff0sT.js} +39 -39
- package/dist/{provider-auth-helpers-BEFKXIJE.js → provider-auth-helpers-B4nCFlNS.js} +5 -5
- package/dist/{proxy-env-BoopXu2J.js → proxy-env-BQIJPH4j.js} +1 -1
- package/dist/{push-apns-sUecrS7L.js → push-apns-BSwx-wiI.js} +5 -5
- package/dist/{pw-ai-CG7D8D2P.js → pw-ai-BeJ_96rV.js} +15 -15
- package/dist/{qmd-manager-Bo22w5wm.js → qmd-manager-BNohLpRA.js} +20 -20
- package/dist/{qr-cli-DiKa2ySu.js → qr-cli-CCHyao8J.js} +1 -1
- package/dist/{query-expansion-Ba9OpCm9.js → query-expansion-BrM3X6-L.js} +12 -12
- package/dist/{redact-snapshot-Dioor4fY.js → redact-snapshot-C1Yp9Q7B.js} +1 -1
- package/dist/{register.agent-FAGOpOS3.js → register.agent-kmdjftAP.js} +97 -97
- package/dist/register.configure-CZqcKxCG.js +175 -0
- package/dist/{register.init-B-wUDJAX.js → register.init-B1pIa3ys.js} +15 -15
- package/dist/{register.maintenance-ClYMbiJl.js → register.maintenance-DK--cbD8.js} +4 -4
- package/dist/{register.maintenance-B6f_YUQN.js → register.maintenance-MiuPJilJ.js} +99 -99
- package/dist/{register.message-WkJ5viuk.js → register.message-DJc4mrgz.js} +77 -77
- package/dist/{register.onboard-DvpF9feG.js → register.onboard-CXiK8Iev.js} +18 -18
- package/dist/{register.onboard-BUBCEjZ_.js → register.onboard-yJeNS-BD.js} +2 -2
- package/dist/{register.setup-Dlmt8cdD.js → register.setup-CtS7M9NK.js} +2 -2
- package/dist/{register.setup-CA7jtsG8.js → register.setup-DRllOSJZ.js} +21 -21
- package/dist/{register.start-3Hnjf8NZ.js → register.start-CyYd_xbF.js} +17 -17
- package/dist/{register.status-health-sessions-CY2i61By.js → register.status-health-sessions-CxepWnj5.js} +91 -91
- package/dist/{register.subclis-D72jBDzj.js → register.subclis-D_FWN2RD.js} +31 -31
- package/dist/{replies-BDnb0prE.js → replies-Ckd7Lwt0.js} +1 -1
- package/dist/{reply-prefix-H_GSyyzN.js → reply-prefix-DpXMFuAa.js} +1 -1
- package/dist/{resolve-route-ByAwAiq5.js → resolve-route-Cnto8LMw.js} +2 -2
- package/dist/{rpc-DQa5fiBV.js → rpc-CnRUZWNJ.js} +1 -1
- package/dist/{run-main-DOntWJzb.js → run-main-Dqz2ik3j.js} +95 -95
- package/dist/{runtime-D-Knnx0g.js → runtime-D4y0Gdfj.js} +2 -2
- package/dist/{sandbox-DI_zIUpo.js → sandbox-Tai-w14a.js} +18 -18
- package/dist/{sandbox-cli-Cn6OxK6L.js → sandbox-cli-uwsF36Ea.js} +26 -26
- package/dist/{secrets-cli-Cf2fFK2m.js → secrets-cli-DzeSuhpa.js} +10 -10
- package/dist/{security-cli-DS-dXNUv.js → security-cli-Dzelqio0.js} +43 -43
- package/dist/{send-BTswySBz.js → send-BpXRh0BM.js} +11 -11
- package/dist/{send-CZ2O-5pP.js → send-CQJKPGw4.js} +6 -6
- package/dist/{send-ZyB64ntO.js → send-Cpaj_bKB.js} +5 -5
- package/dist/{send-BCLu4NEE.js → send-e1X1pfda.js} +6 -6
- package/dist/{send-D0X-8aPh.js → send-sj8Hu26l.js} +8 -8
- package/dist/{server-C88L-6UW.js → server-Cr92VI8t.js} +19 -19
- package/dist/{server-context-CjPCwa4T.js → server-context-YLHmGfYV.js} +12 -12
- package/dist/{server-lifecycle-HLBzAVdX.js → server-lifecycle-B23lXM3Y.js} +2 -2
- package/dist/{server-middleware-DHxnFjIL.js → server-middleware-CKSnhiM2.js} +1 -1
- package/dist/{server-node-events-CyVS1c_n.js → server-node-events-B3SyIWEd.js} +77 -77
- package/dist/{service-CFfCS51c.js → service-Bjqlh_fF.js} +15 -15
- package/dist/{session-ApCom0An.js → session-DcnQHb9Q.js} +1 -1
- package/dist/{session-meta-Cew1QAYN.js → session-meta-DF1WT4cr.js} +1 -1
- package/dist/{session-utils-DYJSA9qa.js → session-utils-BUkGcYpv.js} +6 -6
- package/dist/{sessions-BXz4gdq6.js → sessions-B2mnwD21.js} +15 -15
- package/dist/{sessions-CeXgGBJ1.js → sessions-DVvNhGXX.js} +4 -4
- package/dist/{shared-Cd4Yi_Q8.js → shared-BojXguFB.js} +3 -3
- package/dist/{shared-Cl1av01k.js → shared-_j1K2VJ9.js} +1 -1
- package/dist/{skill-commands-Cpr3Poo2.js → skill-commands-CYucDd3C.js} +5 -5
- package/dist/{skill-scanner-3QHafkQH.js → skill-scanner-CSJqt034.js} +6 -6
- package/dist/{skills-D4S-gyVf.js → skills-BCgFAMj3.js} +3 -3
- package/dist/{skills-cli-CAhlFcYR.js → skills-cli-BM1iUpGc.js} +5 -5
- package/dist/{skills-install-DyneupGw.js → skills-install-e4_jXT_J.js} +6 -6
- package/dist/{skills-status-DQzBD0Y7.js → skills-status-DG-bH5mO.js} +1 -1
- package/dist/{status-VYa-lFs6.js → status-Bor8v_Ab.js} +26 -26
- package/dist/{status.update-BdgtGtkx.js → status.update-YC9VNJxl.js} +2 -2
- package/dist/{store-TdzSHRPN.js → store-U8cs0QvT.js} +5 -5
- package/dist/{subagent-registry-DlmrBMrv.js → subagent-registry-CukgiXMW.js} +156 -156
- package/dist/{system-cli-BYGGFlhn.js → system-cli-B_PUKo6-.js} +9 -9
- package/dist/{system-run-command-XHAlbx5q.js → system-run-command-GKGzGztn.js} +1 -1
- package/dist/{systemd-DRGkJYMb.js → systemd-HiU4Gzoc.js} +9 -9
- package/dist/{systemd-hints-C5HK00QG.js → systemd-hints-BDIASQOF.js} +6 -6
- package/dist/{systemd-linger-DME-3IVk.js → systemd-linger-DfrE-63p.js} +1 -1
- package/dist/{tables-BOsRa7CS.js → tables-DVXe5x1J.js} +1 -1
- package/dist/{tailnet-CfP3A6g2.js → tailnet-C1XBcWue.js} +1 -1
- package/dist/{target-errors-DPJ9HFp9.js → target-errors-C5LA-JI-.js} +4 -4
- package/dist/{tool-images-CmgHk8xk.js → tool-images-CnpAosfi.js} +1 -1
- package/dist/{tui-C16rnfcv.js → tui-CLK0s6TM.js} +6 -6
- package/dist/{tui-cli-Ct7mmQhr.js → tui-cli-DTdNoN6U.js} +33 -33
- package/dist/{update-DOvgIBRu.js → update-DLc3UsVC.js} +3 -3
- package/dist/{update-cli-BnefEkIB.js → update-cli-DBkrPKzK.js} +107 -107
- package/dist/{update-cli-CWNpH8nb.js → update-cli-DvlRTsY-.js} +4 -4
- package/dist/{update-runner-BSQpjT4r.js → update-runner-BAPahND7.js} +16 -16
- package/dist/web-D_nYCn4Q.js +127 -0
- package/dist/{webhooks-cli-DyIIpN1Q.js → webhooks-cli-c5SaGz4J.js} +6 -6
- package/dist/{whatsapp-actions-Dmv3vDs5.js → whatsapp-actions-CnjEOFOZ.js} +19 -19
- package/dist/{with-timeout-Cf-HNLSj.js → with-timeout-DurSJobr.js} +3 -3
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-A5CNJccm.js → workspace-DWBFoy1G.js} +1 -1
- package/dist/{workspace-dirs-Bevk6X_8.js → workspace-dirs-BOgNOBjy.js} +1 -1
- package/dist/{wsl-DksyFTBT.js → wsl-BDRu1-pk.js} +2 -2
- package/package.json +1 -1
- package/dist/control-ui/assets/index-puDi2eTY.js.map +0 -1
- package/dist/register.configure-aZwsNSkf.js +0 -175
- package/dist/web-C1Zm__bd.js +0 -127
|
@@ -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-D_x1_5v_.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-CJelRKYY.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-BHfqkuYN.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-DG-bH5mO.js";
|
|
13
|
+
import { B as cleanStaleLockFiles, at as formatSessionArchiveTimestamp, o as loadSessionStore, ot as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-B2mnwD21.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-vsjS_m58.js";
|
|
15
|
+
import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-CukgiXMW.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-CzoM7hPS.js";
|
|
18
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-BXeYv7Iu.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-Tai-w14a.js";
|
|
20
|
+
import { a as resolveGatewayAuth } from "./auth-B3HDYw4G.js";
|
|
21
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-sCOQUaAP.js";
|
|
22
|
+
import { n as loadModelCatalog } from "./model-catalog-D1X8r3WJ.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-upaoJyu4.js";
|
|
25
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-BDRu1-pk.js";
|
|
26
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-CczYNQDJ.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-CuT-iG2F.js";
|
|
29
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-7hZXEYTj.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-CCNiQcg9.js";
|
|
32
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-D28keNLu.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-HiU4Gzoc.js";
|
|
35
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Bjqlh_fF.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-BDIASQOF.js";
|
|
37
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-ABz8E7c-.js";
|
|
38
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-Bmurt9te.js";
|
|
39
|
+
import { r as healthCommand } from "./health-CWmeMvVp.js";
|
|
40
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Dx8wiZQ_.js";
|
|
41
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-BV3Q0XnD.js";
|
|
42
|
+
import { t as runGatewayUpdate } from "./update-runner-BAPahND7.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-BrXA2e34.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-DfrE-63p.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-BPXyoyKn.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 fs$1 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 fs$1.mkdir(trashDir, { recursive: true });
|
|
552
552
|
} catch {}
|
|
553
553
|
try {
|
|
554
|
-
await
|
|
554
|
+
await fs$1.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 fs$1.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([fs$1.stat(schemaPath).catch(() => null), fs$1.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 fs$1.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 fs$1.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-D_x1_5v_.js";
|
|
3
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-CukgiXMW.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-BDRu1-pk.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-BojXguFB.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-BDQ5b9Wx.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 { 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-D_x1_5v_.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";
|
|
@@ -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-CukgiXMW.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-CuJjdF_0.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-CnpAosfi.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import
|
|
11
|
+
import fs 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 fs.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-D_x1_5v_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CJelRKYY.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-BHfqkuYN.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-Kbw8YPsZ.js";
|
|
18
|
+
import "./path-alias-guards-Cg9ZP1NN.js";
|
|
19
|
+
import "./net-BXeYv7Iu.js";
|
|
20
|
+
import "./tailnet-C1XBcWue.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-DuDCGdf-.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-BjoSX1aC.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-CJDtl_QU.js";
|
|
27
|
+
import "./proxy-env-BQIJPH4j.js";
|
|
28
|
+
import "./ports-sCOQUaAP.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fs 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 fs.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 fs.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-CJelRKYY.js";
|
|
5
5
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import "./utils-DIzy5B5o.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-BHfqkuYN.js";
|
|
8
8
|
import "./logger-BJMfryJd.js";
|
|
9
9
|
import "./exec-CEAvKSx9.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
10
|
+
import "./path-alias-guards-Cg9ZP1NN.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-CJDtl_QU.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-BrM3X6-L.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 fs 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 fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
295
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
296
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
297
|
+
if (this.sessionExporter) await fs.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 fs.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 fs.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 fs.lstat(targetModelsDir);
|
|
840
840
|
return;
|
|
841
841
|
} catch {}
|
|
842
842
|
try {
|
|
843
|
-
await
|
|
843
|
+
await fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.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-D_x1_5v_.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 fs$1 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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.stat(absPath);
|
|
288
|
+
const lines = (await fs$1.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-D_x1_5v_.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|