packages/plugins/file-secrets/src/index.ts resolves the auth file directory using the XDG convention:
path.join(process.env.HOME || process.env.USERPROFILE || "~", ".local", "share")
~/.local/share doesn't exist on Windows. The correct location is %LOCALAPPDATA% (e.g. C:\Users\name\AppData\Local).
Fix: check process.platform === "win32" and use LOCALAPPDATA / APPDATA instead.
Fixed in: packages/plugins/file-secrets/src/index.ts
Identified and fixed with AI assistance.
packages/plugins/file-secrets/src/index.tsresolves the auth file directory using the XDG convention:~/.local/sharedoesn't exist on Windows. The correct location is%LOCALAPPDATA%(e.g.C:\Users\name\AppData\Local).Fix: check
process.platform === "win32"and useLOCALAPPDATA/APPDATAinstead.Fixed in:
packages/plugins/file-secrets/src/index.tsIdentified and fixed with AI assistance.