chore: 迁移配置从 oh-my-opencode 到 oh-my-openagent

This commit is contained in:
2026-04-02 23:06:49 +08:00
parent 58e2f2e765
commit 581b78efba
2 changed files with 21 additions and 4 deletions
+20 -3
View File
@@ -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": { "agents": {
"sisyphus": { "model": "openai/gpt-5.4", "variant": "medium" }, "sisyphus": { "model": "openai/gpt-5.4", "variant": "medium" },
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" }, "hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
@@ -26,11 +26,28 @@
"experimental": { "experimental": {
"disable_omo_env": true, "disable_omo_env": true,
"dynamic_context_pruning": { "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": { "git_master": {
"commit_footer": false, "commit_footer": false,
"include_co_authored_by": false "include_co_authored_by": false,
"git_env_prefix": "GIT_MASTER=1"
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"$schema": "https://opencode.ai/config.json", "$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-opencode@latest"], "plugin": ["oh-my-openagent@latest"],
"autoupdate": false, "autoupdate": false,
"model": "openai/gpt-5.4", "model": "openai/gpt-5.4",
"small_model": "openai/gpt-5.4-mini", "small_model": "openai/gpt-5.4-mini",