chore: 初始化 opencode 配置
This commit is contained in:
40
opencode.json
Normal file
40
opencode.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": {
|
||||
"opencode": {
|
||||
"models": {
|
||||
"claude-opus-4-5": {
|
||||
"options": {
|
||||
"thinking": {
|
||||
"type": "enabled",
|
||||
"budgetTokens": 16000
|
||||
}
|
||||
}
|
||||
},
|
||||
"claude-sonnet-4-5": {
|
||||
"options": {
|
||||
"thinking": {
|
||||
"type": "enabled",
|
||||
"budgetTokens": 16000
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"ref": {
|
||||
"type": "remote",
|
||||
"url": "https://api.ref.tools/mcp?apiKey={env:REF_API_KEY}",
|
||||
"headers": {}
|
||||
},
|
||||
"figma": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "figma-developer-mcp", "--stdio"],
|
||||
"environment": {
|
||||
"FIGMA_API_KEY": "{env:FIGMA_API_KEY}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"permission": "allow"
|
||||
}
|
||||
Reference in New Issue
Block a user