mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
opencode config
This commit is contained in:
parent
7530931e2b
commit
b208e0612f
4 changed files with 201 additions and 0 deletions
32
opencode/opencode.json
Normal file
32
opencode/opencode.json
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"small_model": "zai-coding-plan/glm-4.6",
|
||||
"lsp": {
|
||||
"dart": {
|
||||
"command": [
|
||||
"dart",
|
||||
"language-server"
|
||||
],
|
||||
"extensions": [
|
||||
".dart"
|
||||
]
|
||||
}
|
||||
},
|
||||
"permission": {
|
||||
"edit": "allow",
|
||||
"bash": "allow",
|
||||
"webfetch": "allow",
|
||||
"doom_loop": "allow",
|
||||
"external_directory": "allow"
|
||||
},
|
||||
"mcp": {
|
||||
"web": {
|
||||
"type": "local",
|
||||
"command": [
|
||||
"mctrl-mcp",
|
||||
"web"
|
||||
],
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue