Compare commits
5 Commits
feature/we
...
9246decc9f
| Author | SHA1 | Date | |
|---|---|---|---|
| 9246decc9f | |||
| 1ce6cea6c9 | |||
| 5b7c1f98bd | |||
| 5bd2eb398e | |||
| 3e373104e7 |
@@ -1,75 +1,83 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"model": "weave/glm-5.3-flash",
|
"model": "weave/glm-5.3-flash",
|
||||||
"small_model": "weave/glm-5.3-flash",
|
"agents": {
|
||||||
"lsp": {
|
"title": {
|
||||||
"typescript": {
|
"model": "weave/glm-5.3-flash"
|
||||||
"command": [
|
|
||||||
"typescript-language-server",
|
|
||||||
"--stdio"
|
|
||||||
],
|
|
||||||
"extensions": [
|
|
||||||
".ts",
|
|
||||||
".tsx",
|
|
||||||
".js",
|
|
||||||
".jsx",
|
|
||||||
".mjs",
|
|
||||||
".cjs",
|
|
||||||
".mts",
|
|
||||||
".cts"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"pyright": {
|
|
||||||
"command": [
|
|
||||||
"pyright-langserver",
|
|
||||||
"--stdio"
|
|
||||||
],
|
|
||||||
"extensions": [
|
|
||||||
".py",
|
|
||||||
".pyi"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"provider": {
|
"providers": {
|
||||||
"weave": {
|
"weave": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"package": "@opencode/ai/providers/openai-compatible",
|
||||||
"options": {
|
"settings": {
|
||||||
"baseURL": "https://weave.redpencil.io/v1",
|
"baseURL": "https://weave.redpencil.io/v1",
|
||||||
"apiKey": "{env:WEAVE_API_KEY}"
|
"apiKey": "{env:WEAVE_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"kimi-K2.7-code": {
|
"kimi-K2.7-code": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"glm-5.3": {
|
"glm-5.3": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"glm-5.3-flash": {
|
"glm-5.3-flash": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"mistral-glm-5.2": {
|
"mistral-glm-5.2": {
|
||||||
"tools": true,
|
"capabilities": {
|
||||||
"reasoning": true,
|
"tools": true,
|
||||||
"options": {
|
"reasoning": {
|
||||||
|
"supported": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
"reasoningEffort": "xhigh"
|
"reasoningEffort": "xhigh"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devstral": {
|
"devstral": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"local-qwen3.6:27b": {
|
"local-qwen3.6:27b": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"mistral-medium": {
|
"mistral-medium": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permission": {
|
"permissions": [
|
||||||
"read": "ask",
|
{
|
||||||
"edit": "ask",
|
"action": "read",
|
||||||
"bash": "ask",
|
"resource": "*",
|
||||||
"external_directory": "ask"
|
"effect": "ask",
|
||||||
}
|
},
|
||||||
}
|
{
|
||||||
|
"action": "edit",
|
||||||
|
"resource": "*",
|
||||||
|
"effect": "ask",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "shell",
|
||||||
|
"resource": "*",
|
||||||
|
"effect": "ask",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "external_directory",
|
||||||
|
"resource": "*",
|
||||||
|
"effect": "ask",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
opencode:
|
opencode:
|
||||||
image: redpencil/opencode:0.0.2
|
image: redpencil/opencode:feature-opencode-v2
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/opencode/share:/root/.local/share/opencode
|
- ./data/opencode/share:/root/.local/share/opencode
|
||||||
- ./config/opencode/opencode.json:/root/.config/opencode/opencode.json
|
- ./config/opencode/opencode.json:/root/.config/opencode/opencode.json
|
||||||
|
|||||||
Reference in New Issue
Block a user