mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
sync
This commit is contained in:
parent
c738e26438
commit
3cf4ef56fb
2 changed files with 1 additions and 17 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue