diff options
| author | Dax Raad <[email protected]> | 2025-06-18 22:59:42 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-06-18 23:01:19 -0400 |
| commit | bd8c3cd0f1e30f5ed1cbf222415cef136edd14a9 (patch) | |
| tree | 1e630283bb595c6e1f8ce21d83ae8ba99f24e51a /packages/tui/pkg/client/gen | |
| parent | e5e9b3e3c04df00db57d573d3cc0a029736184b1 (diff) | |
| download | opencode-bd8c3cd0f1e30f5ed1cbf222415cef136edd14a9.tar.gz opencode-bd8c3cd0f1e30f5ed1cbf222415cef136edd14a9.zip | |
BREAKING CONFIG CHANGE
We have changed the config format yet again - but this should be the
final time. You can see the readme for more details but the summary is
- got rid of global providers config
- got rid of global toml
- global config is now in `~/.config/opencode/config.json`
- it will be merged with any project level config
Diffstat (limited to 'packages/tui/pkg/client/gen')
| -rw-r--r-- | packages/tui/pkg/client/gen/openapi.json | 104 |
1 files changed, 97 insertions, 7 deletions
diff --git a/packages/tui/pkg/client/gen/openapi.json b/packages/tui/pkg/client/gen/openapi.json index ea055a64f..862a84d7d 100644 --- a/packages/tui/pkg/client/gen/openapi.json +++ b/packages/tui/pkg/client/gen/openapi.json @@ -1397,22 +1397,26 @@ "type": "string" }, "keybinds": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Config.Keybinds" }, "autoshare": { - "type": "boolean" + "type": "boolean", + "description": "Share newly created sessions automatically" }, "autoupdate": { - "type": "boolean" + "type": "boolean", + "description": "Automatically update to the latest version" }, "disabled_providers": { "type": "array", "items": { "type": "string" - } + }, + "description": "Disable providers that are loaded automatically" + }, + "model": { + "type": "string", + "description": "Model to use in the format of provider/model, eg anthropic/claude-2" }, "provider": { "type": "object", @@ -1528,6 +1532,92 @@ } } }, + "Config.Keybinds": { + "type": "object", + "properties": { + "leader": { + "type": "string" + }, + "help": { + "type": "string" + }, + "editor_open": { + "type": "string" + }, + "session_new": { + "type": "string" + }, + "session_list": { + "type": "string" + }, + "session_share": { + "type": "string" + }, + "session_interrupt": { + "type": "string" + }, + "session_compact": { + "type": "string" + }, + "tool_details": { + "type": "string" + }, + "model_list": { + "type": "string" + }, + "theme_list": { + "type": "string" + }, + "project_init": { + "type": "string" + }, + "input_clear": { + "type": "string" + }, + "input_paste": { + "type": "string" + }, + "input_submit": { + "type": "string" + }, + "input_newline": { + "type": "string" + }, + "history_previous": { + "type": "string" + }, + "history_next": { + "type": "string" + }, + "messages_page_up": { + "type": "string" + }, + "messages_page_down": { + "type": "string" + }, + "messages_half_page_up": { + "type": "string" + }, + "messages_half_page_down": { + "type": "string" + }, + "messages_previous": { + "type": "string" + }, + "messages_next": { + "type": "string" + }, + "messages_first": { + "type": "string" + }, + "messages_last": { + "type": "string" + }, + "app_exit": { + "type": "string" + } + } + }, "Provider.Info": { "type": "object", "properties": { |
