chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-07 18:36:42 +00:00
parent 98f5e6e713
commit 2c17e3a4db
9 changed files with 54 additions and 39 deletions
@@ -1101,8 +1101,7 @@ export function Session() {
>
<text fg={theme.textMuted}>{revert()!.reverted.length} message reverted</text>
<text fg={theme.textMuted}>
<span style={{ fg: theme.text }}>{redoShortcut()}</span> or /redo to
restore
<span style={{ fg: theme.text }}>{redoShortcut()}</span> or /redo to restore
</text>
<Show when={revert()!.diffFiles?.length}>
<box marginTop={1}>
@@ -220,11 +220,7 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
},
},
...(confirm()
? [
{ key: "return", cmd: () => submit() },
{ key: "escape", cmd: () => reject() },
...sections.question,
]
? [{ key: "return", cmd: () => submit() }, { key: "escape", cmd: () => reject() }, ...sections.question]
: [
...Array.from({ length: max }, (_, index) => ({
key: String(index + 1),