diff --git a/README.md b/README.md index 2d4ada2..cb46a24 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ DCP uses its own config file: ```jsonc { + "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json", // Enable or disable the plugin "enabled": true, // Enable debug logging to ~/.config/opencode/logs/dcp/ diff --git a/dcp.schema.json b/dcp.schema.json index e874136..39823f2 100644 --- a/dcp.schema.json +++ b/dcp.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/main/dcp.schema.json", + "$id": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json", "title": "DCP Plugin Configuration", "description": "Configuration schema for the OpenCode Dynamic Context Pruning plugin", "type": "object", diff --git a/lib/config.ts b/lib/config.ts index d0c436d..ba5270b 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -488,7 +488,7 @@ function createDefaultConfig(): void { } const configContent = `{ - "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/main/dcp.schema.json", + "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json", // Enable or disable the plugin "enabled": true, // Enable debug logging to ~/.config/opencode/logs/dcp/