fix(config): use inherited stdio for opencode handoff

This commit is contained in:
2026-05-10 14:41:08 +00:00
parent a3ad48368d
commit b9b51f29d1
4 changed files with 40 additions and 25 deletions
+1 -1
View File
@@ -959,7 +959,7 @@ async function handleFix(argvArg: any, mode: ICliMode): Promise<void> {
let result: plugins.smartshell.IExecResult;
try {
result = await smartshellInstance.execSpawn("opencode", opencodeArgs, {
passthrough: true,
stdio: "inherit",
});
} catch (error) {
throw new Error(`Failed to run opencode: ${error instanceof Error ? error.message : String(error)}`);