From ec94c68671b9366131adfde10f5a9355d8a65171 Mon Sep 17 00:00:00 2001 From: kyasuda Date: Wed, 14 Jan 2026 15:25:03 -0800 Subject: [PATCH] update opencode --- .config/opencode/opencode-notifier.json | 24 ++++++++++++ .config/opencode/opencode.json | 49 ------------------------- .config/opencode/opencode.jsonc | 1 + 3 files changed, 25 insertions(+), 49 deletions(-) create mode 100644 .config/opencode/opencode-notifier.json delete mode 100644 .config/opencode/opencode.json diff --git a/.config/opencode/opencode-notifier.json b/.config/opencode/opencode-notifier.json new file mode 100644 index 0000000..3917473 --- /dev/null +++ b/.config/opencode/opencode-notifier.json @@ -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" + } +} diff --git a/.config/opencode/opencode.json b/.config/opencode/opencode.json deleted file mode 100644 index 432ff89..0000000 --- a/.config/opencode/opencode.json +++ /dev/null @@ -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 - } - } - } -} diff --git a/.config/opencode/opencode.jsonc b/.config/opencode/opencode.jsonc index 62eaaa4..21ab9f7 100644 --- a/.config/opencode/opencode.jsonc +++ b/.config/opencode/opencode.jsonc @@ -3,6 +3,7 @@ "plugin": [ "opencode-openai-codex-auth", "opencode-antigravity-auth@beta", + "@mohak34/opencode-notifier@latest", "oh-my-opencode" ], "provider": {