Apply PR #30815: opentui with native yoga layout

This commit is contained in:
opencode-agent[bot] 2026-06-20 07:37:55 +00:00
commit d2aeca59fb
4 changed files with 379 additions and 474 deletions

View file

@ -22,9 +22,9 @@
"zod": "catalog:"
},
"peerDependencies": {
"@opentui/core": ">=0.3.4",
"@opentui/keymap": ">=0.3.4",
"@opentui/solid": ">=0.3.4"
"@opentui/core": "0.0.0-20260604-5b641b77",
"@opentui/keymap": "0.0.0-20260604-5b641b77",
"@opentui/solid": "0.0.0-20260604-5b641b77"
},
"peerDependenciesMeta": {
"@opentui/core": {

View file

@ -429,7 +429,9 @@ export function Session() {
const maxTop = Math.max(0, scroll.scrollHeight - scroll.viewport.height)
const filename = `session-${route.sessionID.slice(0, 8)}-render-state-${timestamp}.json`
renderer.dumpBuffers(timestamp)
await Filesystem.writeJson(path.join(process.cwd(), filename), {
await writeFile(
path.join(process.cwd(), filename),
JSON.stringify({
capturedAt: timestamp,
channel: InstallationChannel,
version: InstallationVersion,
@ -463,7 +465,8 @@ export function Session() {
}
}),
})),
})
}),
)
toast.show({ message: `Session render state written to ${filename}`, variant: "success" })
}