forked from imbytecat/opencode-config
refactor: 重构代理配置并统一插件管理
- 添加新的配置文件以定义多个代理模型及其对应的服务设置。 - 移除旧插件和MCP配置,替换为单一的oh-my-opencode插件
This commit is contained in:
27
oh-my-opencode.jsonc
Normal file
27
oh-my-opencode.jsonc
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
||||||
|
"google_auth": false,
|
||||||
|
"agents": {
|
||||||
|
"Sisyphus": {
|
||||||
|
"model": "anthropic-gateway/claude-opus-4-5"
|
||||||
|
},
|
||||||
|
"librarian": {
|
||||||
|
"model": "google-gateway/gemini-3-flash"
|
||||||
|
},
|
||||||
|
"explore": {
|
||||||
|
"model": "opencode/grok-code"
|
||||||
|
},
|
||||||
|
"oracle": {
|
||||||
|
"model": "opencode/glm-4.7-free"
|
||||||
|
},
|
||||||
|
"frontend-ui-ux-engineer": {
|
||||||
|
"model": "google-gateway/gemini-3-pro-high"
|
||||||
|
},
|
||||||
|
"document-writer": {
|
||||||
|
"model": "google/antigravity-gemini-3-flash"
|
||||||
|
},
|
||||||
|
"multimodal-looker": {
|
||||||
|
"model": "google/antigravity-gemini-3-flash"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,20 +4,7 @@
|
|||||||
"theme": "tokyonight",
|
"theme": "tokyonight",
|
||||||
"model": "anthropic-gateway/claude-sonnet-4-5",
|
"model": "anthropic-gateway/claude-sonnet-4-5",
|
||||||
"small_model": "google-gateway/gemini-3-flash",
|
"small_model": "google-gateway/gemini-3-flash",
|
||||||
"plugin": [
|
"plugin": ["oh-my-opencode"],
|
||||||
"@tarquinen/opencode-dcp@latest",
|
|
||||||
"@franlol/opencode-md-table-formatter@latest"
|
|
||||||
],
|
|
||||||
"mcp": {
|
|
||||||
"context7": {
|
|
||||||
"type": "remote",
|
|
||||||
"url": "https://mcp.context7.com/mcp"
|
|
||||||
},
|
|
||||||
"grep-app": {
|
|
||||||
"type": "remote",
|
|
||||||
"url": "https://mcp.grep.app"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"provider": {
|
"provider": {
|
||||||
"anthropic-gateway": {
|
"anthropic-gateway": {
|
||||||
"name": "Anthropic Gateway",
|
"name": "Anthropic Gateway",
|
||||||
|
|||||||
Reference in New Issue
Block a user