Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a major rework of the extension preferences. Added: - "Preferences" command, which is a List view that contains a few sections, which then contain different options. - An `init` module that is crucial to how the extension functions. It loads data from storage, and then adds this data the respective objects. Currently it initialises the preferences and the custom APIs. Note: Due to the async nature of the storage module, the various commands/components/etc. must ensure that they call init() at least once on startup. - various React components. - config.json in config folder, that stores some JSON data like default preference values, and supported languages. - "Dev Panel" command, disabled by default. Only used for setting storage values. Removed: - All preferences from package.json, i.e. the user cannot change them from Raycast preferences anymore. - Manage AI Presets command - moved into Preferences - Manage Custom APIs command - moved into Preferences - g4f local provider (simply add as a custom API) - Ollama local provider (simply add as a custom API) Todo: - update some wiki pages.
- Loading branch information