mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 02:34:21 +01:00
sync
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "http://opencode.ai/config.json",
|
|
||||||
"mcp": {
|
|
||||||
"localmcp": {
|
|
||||||
"type": "local",
|
|
||||||
"command": ["bun", "x", "my-mcp-command"],
|
|
||||||
"environment": {
|
|
||||||
"MY_ENV_VAR": "my_env_var_value"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"remotemcp": {
|
|
||||||
"type": "remote",
|
|
||||||
"url": "https://my-mcp-server.com"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -72,7 +72,7 @@ const cli = yargs(hideBin(process.argv))
|
|||||||
cmd = [binary]
|
cmd = [binary]
|
||||||
}
|
}
|
||||||
const proc = Bun.spawn({
|
const proc = Bun.spawn({
|
||||||
cmd,
|
cmd: [...cmd, ...process.argv.slice(2)],
|
||||||
cwd,
|
cwd,
|
||||||
stdout: "inherit",
|
stdout: "inherit",
|
||||||
stderr: "inherit",
|
stderr: "inherit",
|
||||||
|
|||||||
Reference in New Issue
Block a user