add sse streaming to sdk

This commit is contained in:
Dax Raad
2025-08-22 18:30:25 -04:00
parent 902beaa7ab
commit af415f7a92
18 changed files with 497 additions and 172 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export async function createOpencodeServer(config?: ServerConfig) {
config ?? {},
)
const proc = spawn(`opencode`, [`servel`, `--hostname=${config.hostname}`, `--port=${config.port}`], {
const proc = spawn(`opencode`, [`serve`, `--hostname=${config.hostname}`, `--port=${config.port}`], {
signal: config.signal,
})