feat: 添加DPC配置文件并更新插件配置

- 添加DPC配置文件并指定其模式定义。
- 更新插件配置,引入最新版核心增强、DCP优化及表格美化插件。
This commit is contained in:
2026-01-27 16:36:31 +08:00
parent 8eb9e5e032
commit 80725eab9f
2 changed files with 8 additions and 1 deletions

3
dcp.jsonc Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json"
}

View File

@@ -4,7 +4,11 @@
"theme": "tokyonight", "theme": "tokyonight",
"model": "cpa-anthropic/claude-sonnet-4-5", "model": "cpa-anthropic/claude-sonnet-4-5",
"small_model": "cpa-google/gemini-3-flash", "small_model": "cpa-google/gemini-3-flash",
"plugin": ["oh-my-opencode"], "plugin": [
"oh-my-opencode@latest", // 核心增强
"@tarquinen/opencode-dcp@latest", // DCP 优化
"@franlol/opencode-md-table-formatter@latest" // 表格美化
],
"provider": { "provider": {
"cpa-anthropic": { "cpa-anthropic": {
"name": "CPA Anthropic", "name": "CPA Anthropic",