feat(mcp): route MCP env file through shared ProjectDirs config dir #68
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/FJ-51-mcp-env-projectdirs-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Derive the MCP service bearer-token env file path from the shared
directories::ProjectDirs::from("", "Pandoras-box", "forgejo-cli")helper (thesame one used for
keys.jsonandclient_ids) instead of a hardcoded~/.config/fj/mcp.envliteral. The env file now lands at~/.config/forgejo-cli/mcp.envon Linux, so every per-userfjfile shares onedirectory structure.
install,uninstall --purge, the rendered unit'sEnvironmentFile, the doc comments, the render test, and the README are allupdated to the new path. No legacy fallback or migration is added.
#FJ-51
Derive the MCP service bearer-token env file path from the shared `directories::ProjectDirs::from("", "Pandoras-box", "forgejo-cli")` helper (the same one used for `keys.json` and `client_ids`) instead of a hardcoded `~/.config/fj/mcp.env` literal. The env file now lands at `~/.config/forgejo-cli/mcp.env` on Linux, so every per-user `fj` file shares one directory structure. `install`, `uninstall --purge`, the rendered unit's `EnvironmentFile`, the doc comments, the render test, and the README are all updated to the new path. No legacy fallback or migration is added. #FJ-51