Feature Request: sm-agent should follow XDG spec for config.json #144

Open
opened 2025-07-04 16:31:13 -04:00 by CheesyChocolate · 0 comments
CheesyChocolate commented 2025-07-04 16:31:13 -04:00 (Migrated from github.com)

Following #38.

The sm-agent binary currently creates a config.json file inside the ~/.supermaven directory. While the plugin itself has made efforts to respect the XDG Base Directory Specification for storing the binary,

It would be great if the sm-agent binary could be updated to store its configuration file according to the XDG Base Directory Specification.

Specifically, the config.json file should be located at:
$XDG_CONFIG_HOME/supermaven/config.json

If $XDG_CONFIG_HOME is not set, it should default to ~/.config/supermaven/config.json.

Following #38. The sm-agent binary currently creates a config.json file inside the ~/.supermaven directory. While the plugin itself has made efforts to respect the XDG Base Directory Specification for storing the binary, It would be great if the sm-agent binary could be updated to store its configuration file according to the XDG Base Directory Specification. Specifically, the config.json file should be located at: $XDG_CONFIG_HOME/supermaven/config.json If $XDG_CONFIG_HOME is not set, it should default to ~/.config/supermaven/config.json.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
supermaven-inc/supermaven-nvim#144
No description provided.