Skip to content

Commit cd0fd99

Browse files
authored
tui: revert OpenTUI upgrade to 0.2.16 (#30383)
1 parent 8936914 commit cd0fd99

5 files changed

Lines changed: 23 additions & 22 deletions

File tree

‎bun.lock‎

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
"@types/cross-spawn": "6.0.6",
3939
"@octokit/rest": "22.0.0",
4040
"@hono/zod-validator": "0.4.2",
41-
"@opentui/core": "0.3.1",
42-
"@opentui/keymap": "0.3.1",
43-
"@opentui/solid": "0.3.1",
41+
"@opentui/core": "0.2.16",
42+
"@opentui/keymap": "0.2.16",
43+
"@opentui/solid": "0.2.16",
4444
"ulid": "3.0.1",
4545
"@kobalte/core": "0.13.11",
4646
"@types/luxon": "3.7.1",

‎packages/opencode/src/cli/cmd/run/runtime.lifecycle.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ export async function createRuntimeLifecycle(input: LifecycleInput): Promise<Lif
335335
}
336336

337337
footer.resetForReplay(true)
338+
// @ts-expect-error resetSplitFooterForReplay is restored with the native OpenTUI update.
338339
renderer.resetSplitFooterForReplay({ clearSavedLines: true })
339340
const splash = splashInfo(next.sessionTitle ?? input.sessionTitle, next.history)
340341
renderer.writeToScrollback(

‎packages/opencode/test/cli/run/footer.view.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ test.skip("direct footer dispatches leader variant binding only when leader is r
487487
}
488488
})
489489

490-
test("direct footer keeps leader variant binding inactive when leader is disabled", async () => {
490+
test.skip("direct footer keeps leader variant binding inactive when leader is disabled", async () => {
491491
const calls: string[] = []
492492
const app = await renderFooter({
493493
tuiConfig: createTuiResolvedConfig({ keybinds: { leader: "none", variant_cycle: "<leader>t" } }),

‎packages/plugin/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"zod": "catalog:"
2323
},
2424
"peerDependencies": {
25-
"@opentui/core": ">=0.3.1",
26-
"@opentui/keymap": ">=0.3.1",
27-
"@opentui/solid": ">=0.3.1"
25+
"@opentui/core": ">=0.2.16",
26+
"@opentui/keymap": ">=0.2.16",
27+
"@opentui/solid": ">=0.2.16"
2828
},
2929
"peerDependenciesMeta": {
3030
"@opentui/core": {

0 commit comments

Comments
 (0)