File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ Restart OpenCode. The plugin will automatically start optimizing your sessions.
3131
3232## Configuration
3333
34+ DCP uses its own configuration file, separate from OpenCode's ` opencode.json ` :
35+
36+ - ** Global:** ` ~/.config/opencode/dcp.jsonc `
37+ - ** Project:** ` .opencode/dcp.jsonc `
38+
39+ The global config is automatically created on first run. Create a project config to override settings per-project.
40+
3441### Available Options
3542
3643- ** ` enabled ` ** (boolean, default: ` true ` ) - Enable/disable the plugin
@@ -60,9 +67,7 @@ Example configuration:
6067
6168### Configuration Hierarchy
6269
63- 1 . ** Built-in defaults** → 2. ** Global config** (` ~/.config/opencode/dcp.jsonc ` ) → 3. ** Project config** (` .opencode/dcp.jsonc ` )
64-
65- The global config is automatically created on first run. Create project configs manually to override settings per-project:
70+ Settings are merged in order: ** Built-in defaults** → ** Global config** → ** Project config**
6671
6772After modifying configuration, restart OpenCode for changes to take effect.
6873
You can’t perform that action at this time.
0 commit comments