fix(conflict): resolve OpenCode vs. extension conflict by sanitizing env
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"name": "ai-commit-ext",
|
"name": "ai-commit-ext",
|
||||||
"displayName": "AI Commit Ext",
|
"displayName": "AI Commit Ext",
|
||||||
"description": "Generate commit messages using OpenCode AI",
|
"description": "Generate commit messages using OpenCode AI",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"publisher": "local",
|
"publisher": "local",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.110.0"
|
"vscode": "^1.110.0"
|
||||||
|
|||||||
@@ -93,6 +93,16 @@ Generate a concise Conventional Commit message for these changes:`;
|
|||||||
stdio: ["pipe", "pipe", "pipe"],
|
stdio: ["pipe", "pipe", "pipe"],
|
||||||
shell: false,
|
shell: false,
|
||||||
cwd: repoRoot || undefined,
|
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 = "";
|
let stdout = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user