File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ DCP uses its own config file:
6464
6565``` jsonc
6666{
67+ " $schema" : " https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json" ,
6768 // Enable or disable the plugin
6869 " enabled" : true ,
6970 // Enable debug logging to ~/.config/opencode/logs/dcp/
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema#" ,
3- "$id" : " https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/main /dcp.schema.json" ,
3+ "$id" : " https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master /dcp.schema.json" ,
44 "title" : " DCP Plugin Configuration" ,
55 "description" : " Configuration schema for the OpenCode Dynamic Context Pruning plugin" ,
66 "type" : " object" ,
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ const DEFAULT_PROTECTED_TOOLS = [
7373// Valid config keys for validation against user config
7474export const VALID_CONFIG_KEYS = new Set ( [
7575 // Top-level keys
76+ "$schema" ,
7677 "enabled" ,
7778 "debug" ,
7879 "showUpdateToasts" , // Deprecated but kept for backwards compatibility
@@ -488,7 +489,7 @@ function createDefaultConfig(): void {
488489 }
489490
490491 const configContent = `{
491- "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/main /dcp.schema.json",
492+ "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master /dcp.schema.json",
492493 // Enable or disable the plugin
493494 "enabled": true,
494495 // Enable debug logging to ~/.config/opencode/logs/dcp/
You can’t perform that action at this time.
0 commit comments