add opencode attach command to connect to a remote opencode server

This commit is contained in:
Dax Raad
2025-09-17 03:29:33 -04:00
parent 259c722208
commit 40c206c2f9
6 changed files with 58 additions and 409 deletions

View File

@@ -18,6 +18,7 @@ import { StatsCommand } from "./cli/cmd/stats"
import { McpCommand } from "./cli/cmd/mcp"
import { GithubCommand } from "./cli/cmd/github"
import { ExportCommand } from "./cli/cmd/export"
import { AttachCommand } from "./cli/cmd/attach"
const cancel = new AbortController()
@@ -71,6 +72,7 @@ const cli = yargs(hideBin(process.argv))
.usage("\n" + UI.logo())
.command(McpCommand)
.command(TuiCommand)
.command(AttachCommand)
.command(RunCommand)
.command(GenerateCommand)
.command(DebugCommand)