From 21ff28776a16e15c35f8220541d32ae9358b2610 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sat, 24 Jan 2026 01:28:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4=20dcp.jsonc=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除配置文件 dcp.jsonc 中的所有插件配置项 --- dcp.jsonc | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 dcp.jsonc diff --git a/dcp.jsonc b/dcp.jsonc deleted file mode 100644 index e570e56..0000000 --- a/dcp.jsonc +++ /dev/null @@ -1,55 +0,0 @@ -{ - // Enable or disable the plugin - "enabled": true, - // Enable debug logging to ~/.config/opencode/logs/dcp/ - "debug": false, - // Notification display: "off", "minimal", or "detailed" - "pruneNotification": "detailed", - // Protect from pruning for message turns - "turnProtection": { - "enabled": false, - "turns": 4 - }, - // LLM-driven context pruning tools - "tools": { - // Shared settings for all prune tools - "settings": { - // Nudge the LLM to use prune tools (every tool results) - "nudgeEnabled": true, - "nudgeFrequency": 10, - // Additional tools to protect from pruning - "protectedTools": [] - }, - // Removes tool content from context without preservation (for completed tasks or noise) - "discard": { - "enabled": true - }, - // Distills key findings into preserved knowledge before removing raw content - "extract": { - "enabled": true, - // Show distillation content as an ignored message notification - "showDistillation": false - } - }, - // Automatic pruning strategies - "strategies": { - // Remove duplicate tool calls (same tool with same arguments) - "deduplication": { - "enabled": true, - // Additional tools to protect from pruning - "protectedTools": [] - }, - // Prune write tool inputs when the file has been subsequently read - "supersedeWrites": { - "enabled": false - }, - // Prune tool inputs for errored tools after X turns - "purgeErrors": { - "enabled": true, - // Number of turns before errored tool inputs are pruned - "turns": 4, - // Additional tools to protect from pruning - "protectedTools": [] - } - } -}