update opencode

This commit is contained in:
kyasuda
2026-01-14 15:25:03 -08:00
parent aa1696b3f3
commit ec94c68671
3 changed files with 25 additions and 49 deletions

View File

@@ -0,0 +1,24 @@
{
"sound": false,
"notification": true,
"timeout": 5,
"showProjectName": true,
"events": {
"permission": { "sound": false, "notification": true },
"complete": { "sound": false, "notification": true },
"error": { "sound": false, "notification": true },
"question": { "sound": false, "notification": true }
},
"messages": {
"permission": "Session needs permission",
"complete": "Session has finished",
"error": "Session encountered an error",
"question": "Session has a question"
},
"sounds": {
"permission": "/path/to/custom/sound.wav",
"complete": "/path/to/custom/sound.wav",
"error": "/path/to/custom/sound.wav",
"question": "/path/to/custom/sound.wav"
}
}

View File

@@ -1,49 +0,0 @@
{
"$schema": "https://opencode.ai/config.json",
"theme": "catppuccin",
"model": "github-copilot/gpt-5.1",
"provider": {
"openai": {
"models": {
"gpt-5": {
"options": {
"reasoningEffort": "high",
"textVerbosity": "low",
"reasoningSummary": "auto",
"include": ["reasoning.encrypted_content"],
},
},
},
},
},
"agent": {
"build": {
"mode": "primary",
"model": "github-copilot/gpt-5.1",
"tools": {
"write": true,
"edit": true,
"bash": true
}
},
"plan": {
"mode": "primary",
"model": "github-copilot/gpt-5.1-codex",
"tools": {
"write": false,
"edit": false,
"bash": false
}
},
"code-reviewer": {
"description": "Reviews code for best practices and potential issues",
"mode": "subagent",
"model": "github-copilot/gpt-5.1",
"prompt": "You are a code reviewer. Focus on security, performance, and maintainability.",
"tools": {
"write": false,
"edit": false
}
}
}
}

View File

@@ -3,6 +3,7 @@
"plugin": [
"opencode-openai-codex-auth",
"opencode-antigravity-auth@beta",
"@mohak34/opencode-notifier@latest",
"oh-my-opencode"
],
"provider": {