fix(sdk): use cross-spawn for server and tui process launch
Agent-Logs-Url: https://github.com/anomalyco/opencode/sessions/7a3580be-b419-4f58-a2c4-729416b0945f Co-authored-by: Hona <10430890+Hona@users.noreply.github.com>pull/20764/head
parent
3e5d39454e
commit
7b6e969773
3
bun.lock
3
bun.lock
|
|
@ -463,6 +463,9 @@
|
|||
"packages/sdk/js": {
|
||||
"name": "@opencode-ai/sdk",
|
||||
"version": "1.3.13",
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.6",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@hey-api/openapi-ts": "0.90.10",
|
||||
"@tsconfig/node22": "catalog:",
|
||||
|
|
|
|||
|
|
@ -27,5 +27,7 @@
|
|||
"typescript": "catalog:",
|
||||
"@typescript/native-preview": "catalog:"
|
||||
},
|
||||
"dependencies": {}
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.6"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { spawn } from "node:child_process"
|
||||
import spawn from "cross-spawn"
|
||||
import { type Config } from "./gen/types.gen.js"
|
||||
|
||||
export type ServerOptions = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { spawn } from "node:child_process"
|
||||
import spawn from "cross-spawn"
|
||||
import { type Config } from "./gen/types.gen.js"
|
||||
|
||||
export type ServerOptions = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue