Resolve CLI binary metadata for UI

This commit is contained in:
Shantur Rathore
2025-11-23 11:59:12 +00:00
parent 0a9b7fafed
commit f4de0103a8
7 changed files with 134 additions and 48 deletions

View File

@@ -37,7 +37,10 @@ export class WorkspaceRuntime {
const env = { ...process.env, ...(options.environment ?? {}) }
return new Promise((resolve, reject) => {
this.logger.info({ workspaceId: options.workspaceId, folder: options.folder }, "Launching OpenCode process")
this.logger.info(
{ workspaceId: options.workspaceId, folder: options.folder, binary: options.binaryPath },
"Launching OpenCode process",
)
const child = spawn(options.binaryPath, args, {
cwd: options.folder,
env,