openclaude configuration files #2001
|
Howdy, wondering if there is/are supported configuration files, where they are located by openclaude and if there is a schema somewhere? I'm packaging the bin with nix and creating a nixos/home-manager module, and it would be nice to be able to use a generator (like openapi, etc.) to produce the configuration options in nix. Otherwise, should it change, we would be dependent on people reporting that their config stopped working. If there's a schema then I can make this automatic per-release. |
Replies: 2 comments 1 reply
|
Howdy for settings OpenClaude reads |
|
In my case it was in ~/.openclaude or ~/.openclaude.json If I had either one pre-existing that was incorrect it would create the other and use that. |
Howdy for settings OpenClaude reads
~/.openclaude/settings.json,.openclaude/settings.json, and.openclaude/settings.local.jsonOPENCLAUDE_CONFIG_DIRmoves the user config. The source of truth is the ZodSettingsSchemainsrc/utils/settings/types.ts, andschemaOutput.tsalready converts it to JSON Schema. I couldn’t find that schema in the release package, so for Nix I’d generate it from each release tag