Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f02d5e4
feat: add variant_list keybind for Switch model variant command
ariane-emory Apr 6, 2026
2dd9ee8
docs: add variant_list keybind to keybinds documentation
ariane-emory Apr 6, 2026
0d14eeb
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 6, 2026
e30779c
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 6, 2026
2b291a6
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 6, 2026
019c9f0
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
rekram1-node Apr 6, 2026
33df15b
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 6, 2026
98ae1cf
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 6, 2026
1ada7b9
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 6, 2026
b8c6a1e
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
8b4ead1
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
07942da
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
472c642
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
86ad5e3
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
89291e5
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
a695252
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
14a7828
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
15b73d6
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
a28f8ea
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
71ca02a
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
rekram1-node Apr 7, 2026
cdbd649
Merge branch 'dev' into pr/feat/allow-variant_list-keybinding
ariane-emory Apr 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/opencode/src/cli/cmd/tui/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
{
title: "Switch model variant",
value: "variant.list",
keybind: "variant_list",
category: "Agent",
hidden: local.model.variant.list().length === 0,
slash: {
Expand Down
1 change: 1 addition & 0 deletions packages/opencode/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ export namespace Config {
agent_cycle: z.string().optional().default("tab").describe("Next agent"),
agent_cycle_reverse: z.string().optional().default("shift+tab").describe("Previous agent"),
variant_cycle: z.string().optional().default("ctrl+t").describe("Cycle model variants"),
variant_list: z.string().optional().default("none").describe("List model variants"),
input_clear: z.string().optional().default("ctrl+c").describe("Clear input field"),
input_paste: z.string().optional().default("ctrl+v").describe("Paste from clipboard"),
input_submit: z.string().optional().default("return").describe("Submit input"),
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/ar/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ description: خصّص اختصارات لوحة المفاتيح.
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/bs/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode ima listu veza tipki koje možete prilagoditi putem `tui.json`.
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/da/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode har en liste over nøglebindinger, som du kan tilpasse gennem `tui.json
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/de/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode verfügt über eine Liste von Tastenkombinationen, die Sie über `tui.j
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/es/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode tiene una lista de combinaciones de teclas que puede personalizar a tra
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/fr/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode a une liste de raccourcis clavier que vous pouvez personnaliser via la
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/it/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode ha una lista di scorciatoie che puoi personalizzare tramite `tui.json`.
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/ja/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode には、`tui.json` を通じてカスタマイズできるキーバイ
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode has a list of keybinds that you can customize through `tui.json`.
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/ko/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode에는 `tui.json`을 통해 커스터마이즈할 수 있는 키바인
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/nb/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode har en liste over tastebindinger som du kan tilpasse gjennom `tui.json`
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/pl/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode zawiera listę skrótów klawiszowych, które można dostosować za pom
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/pt-br/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ O opencode tem uma lista de atalhos de teclado que você pode personalizar atrav
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/ru/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ opencode имеет список сочетаний клавиш, которые
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/th/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode มีรายการปุ่มลัดที่คุณปร
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/tr/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ opencode, `tui.json` aracılığıyla özelleştirebileceğiniz bir tuş bağlan
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/zh-cn/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode 提供了一系列快捷键,您可以通过 `tui.json` 进行自定
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/content/docs/zh-tw/keybinds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ OpenCode 提供了一系列快捷鍵,您可以透過 `tui.json` 進行自訂
"model_cycle_favorite": "none",
"model_cycle_favorite_reverse": "none",
"variant_cycle": "ctrl+t",
"variant_list": "none",
"command_list": "ctrl+p",
"agent_list": "<leader>a",
"agent_cycle": "tab",
Expand Down
Loading