fix(conflict): resolve OpenCode vs. extension conflict by sanitizing env

This commit is contained in:
2026-04-20 13:06:00 +02:00
parent a7f07dbeef
commit 558b6a9953
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -93,6 +93,16 @@ Generate a concise Conventional Commit message for these changes:`;
stdio: ["pipe", "pipe", "pipe"],
shell: false,
cwd: repoRoot || undefined,
env: {
...process.env,
OPENCODE_SERVER_PASSWORD: undefined,
OPENCODE_SERVER_USERNAME: undefined,
OPENCODE_CLIENT: undefined,
OPENCODE_HOST: undefined,
OPENCODE_PORT: undefined,
OPENCODE_SKIP_START: undefined,
OPENCODE_BINARY: undefined,
},
});
let stdout = "";