reasonix: drop the duplicated api key, keep config.json local

config.json carried a raw apiKey byte-identical to DEEPSEEK_API_KEY in
~/.reasonix/.env, which config.toml already names properly via
api_key_env -- so the copy was redundant, not load-bearing. Removed it;
`reasonix doctor --json` still reports key_present=true for both
providers and the rest of the report is unchanged.

The remainder of config.json is machine-local state -- a generated
dashboard token, its port, and UI flags -- so ignore it rather than
track it. config.toml stays tracked and holds the portable config.
This commit is contained in:
Anton Volnuhin 2026-08-06 02:55:33 +03:00
parent 2ba14d3e6d
commit 1485ab26d9

View File

@ -40,6 +40,10 @@ Library
.reasonix/.env .reasonix/.env
.reasonix/sessions .reasonix/sessions
.reasonix/projects .reasonix/projects
# config.json is local state: a generated dashboard token, its port and UI
# flags. The portable config is config.toml, which names keys via api_key_env.
.reasonix/config.json
.reasonix/*.bak
.config/opencode/secrets .config/opencode/secrets
.config/opencode/*.bak .config/opencode/*.bak
.config/opencode/*.bak.* .config/opencode/*.bak.*