chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-22 18:22:48 +00:00
parent ba746e36d8
commit b8266e5819
2 changed files with 12 additions and 1 deletions

View file

@ -107,7 +107,9 @@ function DiffViewer(props: { api: TuiPluginApi }) {
})
const files = createMemo(() => diff() ?? [])
const [focus, setFocus] = createSignal<DiffViewerFocus>("patches")
const [fileTreeEnabled, setFileTreeEnabled] = createSignal(props.api.kv.get<boolean>(KV_SHOW_FILE_TREE, true) !== false)
const [fileTreeEnabled, setFileTreeEnabled] = createSignal(
props.api.kv.get<boolean>(KV_SHOW_FILE_TREE, true) !== false,
)
const showFileTree = createMemo(() => showDiffViewerFileTree(fileTreeEnabled(), files().length))
const [singlePatch, setSinglePatch] = createSignal(props.api.kv.get<boolean>(KV_SINGLE_PATCH, false) === true)
const patchPaneWidth = createMemo(() => dimensions().width - (showFileTree() ? 33 : 0) - 4)

View file

@ -2288,6 +2288,15 @@
"enum": ["git", "branch"]
},
"required": true
},
{
"name": "context",
"in": "query",
"schema": {
"type": "integer",
"minimum": 0
},
"required": false
}
],
"responses": {