How to edit or switch the configuration from Sidekicks
This guide shows how to change the configuration file from the Settings panel, and how to open another configuration file. It assumes you know the configuration format.
Edit the current file
- Click Settings in the status bar (bottom right). The panel shows the file's path and its text.
- Type your change. Keys are suggested as you type (Ctrl+Space to ask), from the same schema Sidekicks validates with; after
theme:ortype:, the possible values are suggested. - Mistakes are underlined within half a second, with the line and an explanation on hover.
- Press ⌘S (Ctrl+S on Linux) or click Save. An invalid text is not written: the problems are listed under the editor — click one to go to its line. A valid text is written and reloaded: new agents appear in the list at once.
- Revert brings back the text of the file as it is on disk.
Open another configuration file
- In Settings, click Open… and choose a
.yamlfile. - Sidekicks stops every agent, forgets the conversations, and loads the chosen file — even if it has problems, which are then shown.
- The file is remembered: Recent… lists the last 8, and the next launch opens the last one (unless
--configorSIDEKICKS_CONFIGsays otherwise).
Variants
- You prefer your own editor: edit the file anywhere; Sidekicks reloads it on every save. If the Settings panel has unsaved changes, it keeps them rather than replacing them.
- Go back to the default file: open
~/Library/Application Support/sidekicks/config.yaml(macOS) or~/.config/sidekicks/config.yaml(Linux) with Open…. - Forget the recent files: delete
preferences.jsonnext to the default configuration.
See also
- Every key of the file → Reference: the configuration file
- Why validation lives in Go → ADR 0004, decision 9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|