From eecafe862ed28c5c2196379a69e339c64788e0c1 Mon Sep 17 00:00:00 2001 From: Daniel Smolsky Date: Sat, 10 Jan 2026 19:51:17 -0500 Subject: [PATCH] fix: use master branch in schema URLs Update all schema URLs to use master instead of main to match the repository's default branch. --- README.md | 1 + dcp.schema.json | 2 +- lib/config.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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/