Use bundled opencode config at runtime

This commit is contained in:
Shantur Rathore
2025-12-24 12:01:03 +00:00
parent e947691aae
commit d0eac1e610
4 changed files with 18 additions and 16 deletions

View File

@@ -43,8 +43,16 @@ export class WorkspaceRuntime {
let lastOutput = ""
return new Promise((resolve, reject) => {
const commandLine = [options.binaryPath, ...args].join(" ")
this.logger.info(
{ workspaceId: options.workspaceId, folder: options.folder, binary: options.binaryPath },
{
workspaceId: options.workspaceId,
folder: options.folder,
binary: options.binaryPath,
args,
commandLine,
env,
},
"Launching OpenCode process",
)
const child = spawn(options.binaryPath, args, {