Skip to content

Commit eecafe8

Browse files
committed
fix: use master branch in schema URLs
Update all schema URLs to use master instead of main to match the repository's default branch.
1 parent 8c420f0 commit eecafe8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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/

dcp.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

lib/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function createDefaultConfig(): void {
488488
}
489489

490490
const configContent = `{
491-
"$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/main/dcp.schema.json",
491+
"$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json",
492492
// Enable or disable the plugin
493493
"enabled": true,
494494
// Enable debug logging to ~/.config/opencode/logs/dcp/

0 commit comments

Comments
 (0)