File tree Expand file tree Collapse file tree 5 files changed +25
-8
lines changed
Expand file tree Collapse file tree 5 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 6060 "jsonc-parser" : " 3.3.1" ,
6161 "minimatch" : " 10.0.3" ,
6262 "open" : " 10.1.2" ,
63+ "opencode-ai" : " 0.0.0-dev-202510110425" ,
6364 "partial-json" : " 0.1.7" ,
6465 "remeda" : " catalog:" ,
6566 "solid-js" : " catalog:" ,
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ import { Instance } from "@/project/instance"
33import path from "path"
44import { Server } from "@/server/server"
55
6- export const TuiCommand = cmd ( {
7- command : "$0 [project]" ,
8- describe : "start opencode tui" ,
6+ export const TuiSpawnCommand = cmd ( {
7+ command : "spawn [project]" ,
98 builder : ( yargs ) =>
109 yargs
1110 . positional ( "project" , {
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import { cmd } from "@/cli/cmd/cmd"
22import { tui } from "./app"
33
44export const TuiThreadCommand = cmd ( {
5- command : "thread [project]" ,
6- describe : "start opencode tui threaded " ,
5+ command : "$0 [project]" ,
6+ describe : "start opencode tui" ,
77 builder : ( yargs ) =>
88 yargs
99 . positional ( "project" , {
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ import { StatsCommand } from "./cli/cmd/stats"
1717import { McpCommand } from "./cli/cmd/mcp"
1818import { GithubCommand } from "./cli/cmd/github"
1919import { ExportCommand } from "./cli/cmd/export"
20- import { TuiCommand } from "./cli/cmd/tui/tui"
2120import { AttachCommand } from "./cli/cmd/tui/attach"
22- import { TuiThreadCommand } from "./cli/cmd/tui/tui-thread"
21+ import { TuiThreadCommand } from "./cli/cmd/tui/thread"
22+ import { TuiSpawnCommand } from "./cli/cmd/tui/spawn"
2323
2424const cancel = new AbortController ( )
2525
@@ -70,7 +70,7 @@ const cli = yargs(hideBin(process.argv))
7070 . usage ( "\n" + UI . logo ( ) )
7171 . command ( McpCommand )
7272 . command ( TuiThreadCommand )
73- . command ( TuiCommand )
73+ . command ( TuiSpawnCommand )
7474 . command ( AttachCommand )
7575 . command ( RunCommand )
7676 . command ( GenerateCommand )
You can’t perform that action at this time.
0 commit comments