Compare commits

...

2 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
7b6e969773 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>
2026-04-03 00:22:07 +00:00
copilot-swe-agent[bot]
3e5d39454e Initial plan 2026-04-02 23:20:55 +00:00
4 changed files with 8 additions and 3 deletions

View File

@@ -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:",

View File

@@ -27,5 +27,7 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
},
"dependencies": {}
"dependencies": {
"cross-spawn": "^7.0.6"
}
}

View File

@@ -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 = {

View File

@@ -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 = {