From 581b78efba9373fea23a42f4620b2401f15c555f Mon Sep 17 00:00:00 2001 From: imbytecat Date: Thu, 2 Apr 2026 23:06:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=BF=81=E7=A7=BB=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BB=8E=20oh-my-opencode=20=E5=88=B0=20oh-my-openagent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oh-my-opencode.jsonc => oh-my-openagent.jsonc | 23 ++++++++++++++++--- opencode.jsonc | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) rename oh-my-opencode.jsonc => oh-my-openagent.jsonc (70%) diff --git a/oh-my-opencode.jsonc b/oh-my-openagent.jsonc similarity index 70% rename from oh-my-opencode.jsonc rename to oh-my-openagent.jsonc index 6ea57a7..833f51b 100644 --- a/oh-my-opencode.jsonc +++ b/oh-my-openagent.jsonc @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json", "agents": { "sisyphus": { "model": "openai/gpt-5.4", "variant": "medium" }, "hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" }, @@ -26,11 +26,28 @@ "experimental": { "disable_omo_env": true, "dynamic_context_pruning": { - "enabled": true + "enabled": true, + "notification": "detailed", + "turn_protection": { "enabled": true, "turns": 3 }, + "protected_tools": [ + "task", + "todowrite", + "todoread", + "lsp_rename", + "session_read", + "session_write", + "session_search" + ], + "strategies": { + "deduplication": { "enabled": true }, + "supersede_writes": { "enabled": true, "aggressive": false }, + "purge_errors": { "enabled": true, "turns": 5 } + } } }, "git_master": { "commit_footer": false, - "include_co_authored_by": false + "include_co_authored_by": false, + "git_env_prefix": "GIT_MASTER=1" } } diff --git a/opencode.jsonc b/opencode.jsonc index 98570f0..4fc806a 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://opencode.ai/config.json", - "plugin": ["oh-my-opencode@latest"], + "plugin": ["oh-my-openagent@latest"], "autoupdate": false, "model": "openai/gpt-5.4", "small_model": "openai/gpt-5.4-mini",