mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
18d30586dc
The hasArgentEntry per-adapter test resolved configPath via projectPath() ?? globalPath(), then rmSync'd it. For global-only adapters (Windsurf, Hermes) projectPath() is null, so this block — which never pinned homedir() — deleted the developer's real ~/.codeium/windsurf/mcp_config.json or ~/.hermes/config.yaml. Pin homedirOverride to tmpDir for the block (matching findConfiguredAdapterScopes) so globalPath() stays inside the sandbox.