{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://verdeai.dev/config.schema.json",
  "$comment": "Mirrors packages/desktop/src/app/config.zig and packages/desktop/src/app/keybinds.zig. Verde ignores unknown keys at runtime.",
  "title": "Verde config (verde.json)",
  "description": "User config loaded from `$XDG_CONFIG_HOME/verde/verde.json` (or `%APPDATA%\\Verde\\verde.json` on Windows). Point editors here with `\"$schema\": \"https://verdeai.dev/config.schema.json\"`.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "type": "string",
      "format": "uri",
      "description": "JSON Schema URL for editor autocomplete. Verde ignores this key when loading config."
    },
    "ui": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "font_size": {
          "type": "number",
          "minimum": 10,
          "maximum": 32,
          "default": 24,
          "description": "UI font size in points. Range 10–32; default 24."
        },
        "workspace_pane_gap": {
          "type": "number",
          "minimum": 0,
          "maximum": 64,
          "default": 12,
          "description": "Gap between tiled panes, and outer margin for scrolling views. Range 0–64; default 12."
        },
        "workspace_panes_per_view": {
          "type": "integer",
          "minimum": 1,
          "maximum": 6,
          "default": 2,
          "description": "How many panes fit in one scrolling view. Range 1–6; default 2."
        },
        "workspace_split_default_pane": {
          "type": "string",
          "enum": [
            "chat",
            "terminal"
          ],
          "description": "Unshifted prefix split keys (`v`, `-`) create this pane kind. Shifted variants create the other."
        },
        "workspace_scroll_direction": {
          "type": "string",
          "enum": [
            "horizontal",
            "vertical"
          ]
        },
        "workspace_scroll_mode": {
          "type": "string",
          "enum": [
            "automatic",
            "always",
            "disabled"
          ]
        },
        "workspace_scroll_threshold": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64,
          "default": 2,
          "description": "Pane count that activates automatic scrolling. Range 1–64; default 2."
        },
        "unzoom_on_pane_navigation": {
          "type": "boolean"
        },
        "reduced_motion": {
          "type": "boolean"
        },
        "workspace_tabs": {
          "type": "string",
          "enum": [
            "automatic",
            "always",
            "disabled"
          ]
        },
        "companion_enabled": {
          "type": "boolean",
          "description": "Experimental Companion sidecar. Off by default."
        },
        "companion_character": {
          "type": "string",
          "enum": [
            "sprout",
            "moss",
            "vireo"
          ],
          "default": "sprout"
        }
      },
      "description": "Appearance and workspace layout."
    },
    "theme": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "theme": {
          "type": "string",
          "enum": [
            "omarchy",
            "auto",
            "default",
            "verde"
          ],
          "description": "`omarchy`/`auto` follow Omarchy colors when present. `default`/`verde` use Verde built-in colors."
        },
        "active": {
          "type": "string",
          "description": "Name of an installed theme to activate."
        },
        "colors": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "background": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "panel": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "panel_alt": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "panel_muted": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "text": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "text_muted": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "text_subtle": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "accent": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "accent_dim": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "border": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "border_muted": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "warning": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "diff_add": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "diff_remove": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            },
            "selection": {
              "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                },
                {
                  "type": "array",
                  "minItems": 3,
                  "maxItems": 4,
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 255
                  }
                }
              ]
            }
          }
        }
      }
    },
    "open": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "default": {
          "description": "Workspace header primary open action. Named apps, or `{ label, action }` for a custom shell command.",
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "folder",
                "editor",
                "cursor",
                "vscode",
                "zed"
              ]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1
                },
                "action": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Shell command. Working directory is the imported project."
                }
              },
              "required": [
                "label",
                "action"
              ]
            }
          ]
        },
        "links": {
          "type": "string",
          "enum": [
            "verde_browser",
            "system_browser"
          ],
          "description": "Global destination for web links."
        },
        "chat_links": {
          "type": "string",
          "enum": [
            "global",
            "verde_browser",
            "system_browser"
          ],
          "description": "Override `open.links` for GUI chat links."
        },
        "terminal_links": {
          "type": "string",
          "enum": [
            "global",
            "verde_browser",
            "system_browser"
          ],
          "description": "Override `open.links` for terminal links."
        },
        "file_links_in_neovim_pane": {
          "type": "boolean"
        }
      },
      "description": "How project files, folders, and links open."
    },
    "browser": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "scroll_speed": {
          "type": "number",
          "minimum": 1,
          "maximum": 5,
          "default": 2.5,
          "description": "Embedded-page wheel speed. Range 1.0–5.0; default 2.5."
        },
        "fast_scrolling": {
          "type": "boolean",
          "description": "Legacy. `true` maps to scroll_speed 2.5; `false` maps to 1.0. Prefer `scroll_speed`."
        }
      },
      "description": "Embedded browser."
    },
    "terminal": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "font_size": {
          "type": "number",
          "minimum": 13.5,
          "maximum": 60,
          "default": 18,
          "description": "Terminal font size. Range 13.5–60; default 18."
        },
        "profiles": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "label": {
                "type": "string",
                "minLength": 1
              },
              "command": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "string"
                },
                "description": "Argv for the profile command."
              }
            },
            "required": [
              "label",
              "command"
            ]
          }
        }
      },
      "description": "Terminal dock font and launch profiles."
    },
    "transcript": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "tool_call_groups": {
          "type": "string",
          "enum": [
            "collapsed",
            "expanded",
            "remember_last"
          ]
        },
        "tool_call_groups_last_expanded": {
          "type": "boolean",
          "description": "Internal last-expanded state used with `remember_last`."
        },
        "diff_layout": {
          "type": "string",
          "enum": [
            "stacked",
            "split"
          ]
        }
      },
      "description": "Chat transcript presentation."
    },
    "chat": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "automatic_titles": {
          "type": "boolean",
          "default": true
        },
        "title_provider": {
          "type": "string",
          "enum": [
            "codex",
            "claude",
            "cursor",
            "opencode"
          ]
        },
        "title_model": {
          "type": "string"
        },
        "default_provider": {
          "type": "string",
          "enum": [
            "codex",
            "claude",
            "cursor",
            "opencode",
            "pi",
            "fx",
            "grok"
          ]
        },
        "default_model": {
          "type": "string"
        },
        "default_reasoning": {
          "type": "string",
          "enum": [
            "default",
            "low",
            "medium",
            "high",
            "xhigh",
            "max"
          ]
        },
        "favorite_models": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "provider": {
                "type": "string",
                "enum": [
                  "codex",
                  "claude",
                  "cursor",
                  "opencode",
                  "pi",
                  "fx",
                  "grok"
                ]
              },
              "model": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "provider",
              "model"
            ]
          }
        },
        "new_pane_behavior": {
          "type": "string",
          "enum": [
            "new_pane",
            "replace_pane"
          ]
        }
      },
      "description": "New-chat defaults, titles, and favorite models."
    },
    "installed_themes": {
      "type": "array",
      "description": "Themes imported via `verde theme import`. Edited from Settings → Appearance.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "theme"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "theme": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "theme": {
                "type": "string",
                "enum": [
                  "omarchy",
                  "auto",
                  "default",
                  "verde"
                ],
                "description": "`omarchy`/`auto` follow Omarchy colors when present. `default`/`verde` use Verde built-in colors."
              },
              "colors": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "background": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "panel": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "panel_alt": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "panel_muted": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "text": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "text_muted": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "text_subtle": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "accent": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "accent_dim": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "border": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "border_muted": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "warning": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "diff_add": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "diff_remove": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  },
                  "selection": {
                    "description": "Hex `#RRGGBB` / `#RRGGBBAA`, or an RGB/RGBA number array (0–1 or 0–255).",
                    "oneOf": [
                      {
                        "type": "string",
                        "pattern": "^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$"
                      },
                      {
                        "type": "array",
                        "minItems": 3,
                        "maxItems": 4,
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 255
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "ui_font_size": {
            "type": "number",
            "minimum": 10,
            "maximum": 32
          },
          "terminal_font_size": {
            "type": "number",
            "minimum": 13.5,
            "maximum": 60
          }
        }
      }
    },
    "updates": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "check_automatically": {
          "type": "boolean",
          "default": true
        }
      }
    },
    "notifications": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "type": "boolean"
        }
      }
    },
    "integrations": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "mcp_enabled": {
          "type": "boolean"
        },
        "mcp_onboarding_completed": {
          "type": "boolean"
        }
      }
    },
    "keybinds": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "refresh": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "open": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "open_editor": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "new_thread": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "command_palette": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "companion": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "sidebar": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "sidebar_hidden": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "browser": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "terminal": {
          "description": "String/`null` remaps the terminal toggle. An object remaps individual terminal actions.",
          "oneOf": [
            {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "toggle": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "new_tab": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "close": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rename_tab": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tab_previous": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tab_next": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "split_up": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "split_down": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "split_left": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "split_right": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "focus_up": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "focus_down": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "focus_left": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "focus_right": {
                  "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            }
          ]
        },
        "chat": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "model_picker": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "run_config": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "workspace": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "split_chat_vertical": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "split_chat_horizontal": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "split_terminal_vertical": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "split_terminal_horizontal": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "toggle_maximize": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "toggle_quick_pane": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "close": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "close_current": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "focus_left": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "focus_right": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "focus_up": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "focus_down": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "focus_prompt": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "active_select": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "pane_select": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "move_left": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "move_right": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "move_up": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "move_down": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "grow_left": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "grow_right": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "grow_up": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "grow_down": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "select": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "previous": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "next": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "active_previous": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "active_next": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "pane_previous": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "pane_next": {
              "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
              "oneOf": [
                {
                  "type": "string",
                  "minLength": 0
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "prefix": {
          "description": "`true`/`false` toggles prefix mode with defaults, a string sets the prefix chord, or an object configures the table.",
          "oneOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "key": {
                  "description": "Prefix chord. Default is `Ctrl+B`.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 0
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "defaults": {
                  "type": "boolean",
                  "description": "When `false`, start from an empty prefix table instead of the built-in bindings."
                },
                "bindings": {
                  "type": "object",
                  "description": "Map of accelerators to prefix actions. A user entry replaces the default on the same chord; `null` removes it.",
                  "additionalProperties": {
                    "description": "Action name, `null` to unbind, `{ \"action\" }`, or `{ \"command\", \"in\"? }`.",
                    "oneOf": [
                      {
                        "description": "Built-in prefix action. Positional actions use a 1-based ordinal: `workspace.select.N`, `workspace.pane_select.N`, `workspace.active_select.N`.",
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "refresh",
                              "open",
                              "open_default",
                              "open_editor",
                              "new_thread",
                              "workspace.add",
                              "new_terminal",
                              "command_palette",
                              "companion",
                              "sidebar",
                              "sidebar_hidden",
                              "browser",
                              "chat_up",
                              "chat_down",
                              "chat_page_up",
                              "chat_page_down",
                              "chat.model_picker",
                              "chat.run_config",
                              "terminal.toggle",
                              "terminal.new_tab",
                              "terminal.close",
                              "terminal.rename_tab",
                              "terminal.tab_previous",
                              "terminal.tab_next",
                              "terminal.split_up",
                              "terminal.split_down",
                              "terminal.split_left",
                              "terminal.split_right",
                              "terminal.focus_up",
                              "terminal.focus_down",
                              "terminal.focus_left",
                              "terminal.focus_right",
                              "workspace.split_default_vertical",
                              "workspace.split_default_horizontal",
                              "workspace.split_alternate_vertical",
                              "workspace.split_alternate_horizontal",
                              "workspace.split_chat_vertical",
                              "workspace.split_chat_horizontal",
                              "workspace.split_terminal_vertical",
                              "workspace.split_terminal_horizontal",
                              "workspace.toggle_maximize",
                              "workspace.toggle_quick_pane",
                              "workspace.close",
                              "workspace.close_current",
                              "workspace.focus_left",
                              "workspace.focus_right",
                              "workspace.focus_up",
                              "workspace.focus_down",
                              "workspace.focus_prompt",
                              "prefix.keybinds",
                              "prefix.navigate",
                              "workspace.previous",
                              "workspace.next",
                              "workspace.active_previous",
                              "workspace.active_next",
                              "workspace.pane_previous",
                              "workspace.pane_next",
                              "workspace.move_left",
                              "workspace.move_right",
                              "workspace.move_up",
                              "workspace.move_down",
                              "workspace.grow_left",
                              "workspace.grow_right",
                              "workspace.grow_up",
                              "workspace.grow_down"
                            ]
                          },
                          {
                            "type": "string",
                            "pattern": "^workspace\\.(select|pane_select|active_select)\\.[1-9][0-9]*$"
                          }
                        ]
                      },
                      {
                        "type": "null"
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "action"
                        ],
                        "properties": {
                          "action": {
                            "description": "Built-in prefix action. Positional actions use a 1-based ordinal: `workspace.select.N`, `workspace.pane_select.N`, `workspace.active_select.N`.",
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "refresh",
                                  "open",
                                  "open_default",
                                  "open_editor",
                                  "new_thread",
                                  "workspace.add",
                                  "new_terminal",
                                  "command_palette",
                                  "companion",
                                  "sidebar",
                                  "sidebar_hidden",
                                  "browser",
                                  "chat_up",
                                  "chat_down",
                                  "chat_page_up",
                                  "chat_page_down",
                                  "chat.model_picker",
                                  "chat.run_config",
                                  "terminal.toggle",
                                  "terminal.new_tab",
                                  "terminal.close",
                                  "terminal.rename_tab",
                                  "terminal.tab_previous",
                                  "terminal.tab_next",
                                  "terminal.split_up",
                                  "terminal.split_down",
                                  "terminal.split_left",
                                  "terminal.split_right",
                                  "terminal.focus_up",
                                  "terminal.focus_down",
                                  "terminal.focus_left",
                                  "terminal.focus_right",
                                  "workspace.split_default_vertical",
                                  "workspace.split_default_horizontal",
                                  "workspace.split_alternate_vertical",
                                  "workspace.split_alternate_horizontal",
                                  "workspace.split_chat_vertical",
                                  "workspace.split_chat_horizontal",
                                  "workspace.split_terminal_vertical",
                                  "workspace.split_terminal_horizontal",
                                  "workspace.toggle_maximize",
                                  "workspace.toggle_quick_pane",
                                  "workspace.close",
                                  "workspace.close_current",
                                  "workspace.focus_left",
                                  "workspace.focus_right",
                                  "workspace.focus_up",
                                  "workspace.focus_down",
                                  "workspace.focus_prompt",
                                  "prefix.keybinds",
                                  "prefix.navigate",
                                  "workspace.previous",
                                  "workspace.next",
                                  "workspace.active_previous",
                                  "workspace.active_next",
                                  "workspace.pane_previous",
                                  "workspace.pane_next",
                                  "workspace.move_left",
                                  "workspace.move_right",
                                  "workspace.move_up",
                                  "workspace.move_down",
                                  "workspace.grow_left",
                                  "workspace.grow_right",
                                  "workspace.grow_up",
                                  "workspace.grow_down"
                                ]
                              },
                              {
                                "type": "string",
                                "pattern": "^workspace\\.(select|pane_select|active_select)\\.[1-9][0-9]*$"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "command"
                        ],
                        "properties": {
                          "command": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Shell script. `$1` is the project path for background placement. Other placements run it as the pane PTY command."
                          },
                          "in": {
                            "type": "string",
                            "enum": [
                              "background",
                              "detached",
                              "terminal",
                              "current",
                              "focused",
                              "pane",
                              "new_pane",
                              "new-pane",
                              "new",
                              "split",
                              "horizontal",
                              "split_horizontal",
                              "split-horizontal",
                              "vertical",
                              "split_vertical",
                              "split-vertical",
                              "floating",
                              "float",
                              "quick",
                              "tab"
                            ],
                            "description": "Where `{ \"command\" }` runs. Canonical values: `background`, `terminal`, `pane`, `split_horizontal`, `split_vertical`, `floating`, `tab`. Omitted `in` means `background`."
                          },
                          "open": {
                            "type": "string",
                            "enum": [
                              "background",
                              "detached",
                              "terminal",
                              "current",
                              "focused",
                              "pane",
                              "new_pane",
                              "new-pane",
                              "new",
                              "split",
                              "horizontal",
                              "split_horizontal",
                              "split-horizontal",
                              "vertical",
                              "split_vertical",
                              "split-vertical",
                              "floating",
                              "float",
                              "quick",
                              "tab"
                            ],
                            "description": "Alias for `in`."
                          }
                        }
                      }
                    ]
                  }
                },
                "navigate": {
                  "type": "object",
                  "description": "Second table used while navigate mode (`prefix` then `w`) is active.",
                  "additionalProperties": {
                    "description": "Action name, `null` to unbind, `{ \"action\" }`, or `{ \"command\", \"in\"? }`.",
                    "oneOf": [
                      {
                        "description": "Built-in prefix action. Positional actions use a 1-based ordinal: `workspace.select.N`, `workspace.pane_select.N`, `workspace.active_select.N`.",
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "refresh",
                              "open",
                              "open_default",
                              "open_editor",
                              "new_thread",
                              "workspace.add",
                              "new_terminal",
                              "command_palette",
                              "companion",
                              "sidebar",
                              "sidebar_hidden",
                              "browser",
                              "chat_up",
                              "chat_down",
                              "chat_page_up",
                              "chat_page_down",
                              "chat.model_picker",
                              "chat.run_config",
                              "terminal.toggle",
                              "terminal.new_tab",
                              "terminal.close",
                              "terminal.rename_tab",
                              "terminal.tab_previous",
                              "terminal.tab_next",
                              "terminal.split_up",
                              "terminal.split_down",
                              "terminal.split_left",
                              "terminal.split_right",
                              "terminal.focus_up",
                              "terminal.focus_down",
                              "terminal.focus_left",
                              "terminal.focus_right",
                              "workspace.split_default_vertical",
                              "workspace.split_default_horizontal",
                              "workspace.split_alternate_vertical",
                              "workspace.split_alternate_horizontal",
                              "workspace.split_chat_vertical",
                              "workspace.split_chat_horizontal",
                              "workspace.split_terminal_vertical",
                              "workspace.split_terminal_horizontal",
                              "workspace.toggle_maximize",
                              "workspace.toggle_quick_pane",
                              "workspace.close",
                              "workspace.close_current",
                              "workspace.focus_left",
                              "workspace.focus_right",
                              "workspace.focus_up",
                              "workspace.focus_down",
                              "workspace.focus_prompt",
                              "prefix.keybinds",
                              "prefix.navigate",
                              "workspace.previous",
                              "workspace.next",
                              "workspace.active_previous",
                              "workspace.active_next",
                              "workspace.pane_previous",
                              "workspace.pane_next",
                              "workspace.move_left",
                              "workspace.move_right",
                              "workspace.move_up",
                              "workspace.move_down",
                              "workspace.grow_left",
                              "workspace.grow_right",
                              "workspace.grow_up",
                              "workspace.grow_down"
                            ]
                          },
                          {
                            "type": "string",
                            "pattern": "^workspace\\.(select|pane_select|active_select)\\.[1-9][0-9]*$"
                          }
                        ]
                      },
                      {
                        "type": "null"
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "action"
                        ],
                        "properties": {
                          "action": {
                            "description": "Built-in prefix action. Positional actions use a 1-based ordinal: `workspace.select.N`, `workspace.pane_select.N`, `workspace.active_select.N`.",
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "refresh",
                                  "open",
                                  "open_default",
                                  "open_editor",
                                  "new_thread",
                                  "workspace.add",
                                  "new_terminal",
                                  "command_palette",
                                  "companion",
                                  "sidebar",
                                  "sidebar_hidden",
                                  "browser",
                                  "chat_up",
                                  "chat_down",
                                  "chat_page_up",
                                  "chat_page_down",
                                  "chat.model_picker",
                                  "chat.run_config",
                                  "terminal.toggle",
                                  "terminal.new_tab",
                                  "terminal.close",
                                  "terminal.rename_tab",
                                  "terminal.tab_previous",
                                  "terminal.tab_next",
                                  "terminal.split_up",
                                  "terminal.split_down",
                                  "terminal.split_left",
                                  "terminal.split_right",
                                  "terminal.focus_up",
                                  "terminal.focus_down",
                                  "terminal.focus_left",
                                  "terminal.focus_right",
                                  "workspace.split_default_vertical",
                                  "workspace.split_default_horizontal",
                                  "workspace.split_alternate_vertical",
                                  "workspace.split_alternate_horizontal",
                                  "workspace.split_chat_vertical",
                                  "workspace.split_chat_horizontal",
                                  "workspace.split_terminal_vertical",
                                  "workspace.split_terminal_horizontal",
                                  "workspace.toggle_maximize",
                                  "workspace.toggle_quick_pane",
                                  "workspace.close",
                                  "workspace.close_current",
                                  "workspace.focus_left",
                                  "workspace.focus_right",
                                  "workspace.focus_up",
                                  "workspace.focus_down",
                                  "workspace.focus_prompt",
                                  "prefix.keybinds",
                                  "prefix.navigate",
                                  "workspace.previous",
                                  "workspace.next",
                                  "workspace.active_previous",
                                  "workspace.active_next",
                                  "workspace.pane_previous",
                                  "workspace.pane_next",
                                  "workspace.move_left",
                                  "workspace.move_right",
                                  "workspace.move_up",
                                  "workspace.move_down",
                                  "workspace.grow_left",
                                  "workspace.grow_right",
                                  "workspace.grow_up",
                                  "workspace.grow_down"
                                ]
                              },
                              {
                                "type": "string",
                                "pattern": "^workspace\\.(select|pane_select|active_select)\\.[1-9][0-9]*$"
                              }
                            ]
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "command"
                        ],
                        "properties": {
                          "command": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Shell script. `$1` is the project path for background placement. Other placements run it as the pane PTY command."
                          },
                          "in": {
                            "type": "string",
                            "enum": [
                              "background",
                              "detached",
                              "terminal",
                              "current",
                              "focused",
                              "pane",
                              "new_pane",
                              "new-pane",
                              "new",
                              "split",
                              "horizontal",
                              "split_horizontal",
                              "split-horizontal",
                              "vertical",
                              "split_vertical",
                              "split-vertical",
                              "floating",
                              "float",
                              "quick",
                              "tab"
                            ],
                            "description": "Where `{ \"command\" }` runs. Canonical values: `background`, `terminal`, `pane`, `split_horizontal`, `split_vertical`, `floating`, `tab`. Omitted `in` means `background`."
                          },
                          "open": {
                            "type": "string",
                            "enum": [
                              "background",
                              "detached",
                              "terminal",
                              "current",
                              "focused",
                              "pane",
                              "new_pane",
                              "new-pane",
                              "new",
                              "split",
                              "horizontal",
                              "split_horizontal",
                              "split-horizontal",
                              "vertical",
                              "split_vertical",
                              "split-vertical",
                              "floating",
                              "float",
                              "quick",
                              "tab"
                            ],
                            "description": "Alias for `in`."
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          ]
        },
        "chat_up": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "chat_down": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "chat_page_up": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "chat_page_down": {
          "description": "One accelerator, an array of accelerators, or null/empty to disable. Unknown keys are ignored.",
          "oneOf": [
            {
              "type": "string",
              "minLength": 0
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "Keyboard shortcuts. Loaded on startup and app refresh."
    }
  }
}
