wip: refactoring tui

This commit is contained in:
adamdottv
2025-06-03 12:44:46 -05:00
parent 4cf0aebb2e
commit b00326a75a
14 changed files with 229 additions and 1602 deletions

View File

@@ -24,7 +24,7 @@ cli.command("", "Start the opencode in interactive mode").action(async () => {
const server = Server.listen()
let cmd = ["go", "run", "./main.go"]
let cwd = new URL("../../tui", import.meta.url).pathname
let cwd = new URL("../../tui/cmd/opencode", import.meta.url).pathname
if (Bun.embeddedFiles.length > 0) {
const blob = Bun.embeddedFiles[0] as File
const binary = path.join(Global.cache(), "tui", blob.name)