adjusting opencode setting

This commit is contained in:
2026-04-01 13:02:37 +02:00
parent 35ffada889
commit e90e09082f
3 changed files with 101 additions and 41 deletions

View File

@@ -2,7 +2,12 @@
"mcp": {
"MCP_DOCKER": {
"type": "local",
"command": ["docker", "mcp", "gateway", "run"],
"command": [
"docker",
"mcp",
"gateway",
"run"
],
"enabled": true
}
},
@@ -42,5 +47,22 @@
}
}
}
},
"share": "disabled",
"autoupdate": "notify",
"permission": {
"bash": {
"*": "ask",
"git *": "allow",
"npm *": "allow",
"rm *": "deny",
"grep *": "allow"
},
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
}
}