You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(cli): /config set <key> <value> — edit settings from the REPL (#165)
/config was a read-only dump. Add a `set` subcommand that writes to the user
settings.json:
- dotted keys nest (e.g. `permissions.defaultMode`);
- the value is parsed as JSON (number / bool / object / array), falling back to
a string;
- writes via the REPL-injected userSettingsPath (honors --home, so tests + a
custom $HOME never touch the real config).
Applies to new sessions (model/mode/effort still change live via /model etc.).
Tests (parity-commands.test.ts, +3): dotted-key write, JSON-number parse, usage.
cli 140. Doc: /config row notes `set`.
Co-authored-by: t <t@t>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments