@lexwdex-org/opencode-dcp 3.2.1 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -61,7 +61,7 @@ Each level overrides the previous, so project settings take priority over global
61
61
 
62
62
  ```jsonc
63
63
  {
64
- "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json",
64
+ "$schema": "https://raw.githubusercontent.com/LeXwDeX/opencode-dynamic-context-pruning/master/dcp.schema.json",
65
65
  // Enable or disable the plugin
66
66
  "enabled": true,
67
67
  // Automatically update npm-installed DCP when a newer npm latest is available.
@@ -136,8 +136,8 @@ Each level overrides the previous, so project settings take priority over global
136
136
  // "openai/gpt-5.3-codex": 50000,
137
137
  // "anthropic/claude-sonnet-4.6": "25%"
138
138
  // },
139
- // How often the context-limit nudge fires (1 = every fetch, 5 = every 5th)
140
- "nudgeFrequency": 5,
139
+ // How often the context-limit nudge fires (1 = every fetch, 2 = every 2nd)
140
+ "nudgeFrequency": 2,
141
141
  // Start adding compression reminders after this many
142
142
  // messages have happened since the last user message
143
143
  "iterationNudgeThreshold": 15,
package/dist/index.js CHANGED
@@ -1337,7 +1337,7 @@ var defaultConfig = {
1337
1337
  summaryBuffer: true,
1338
1338
  maxContextLimit: 1e5,
1339
1339
  minContextLimit: 5e4,
1340
- nudgeFrequency: 5,
1340
+ nudgeFrequency: 2,
1341
1341
  iterationNudgeThreshold: 15,
1342
1342
  nudgeForce: "soft",
1343
1343
  protectedTools: [...COMPRESS_DEFAULT_PROTECTED_TOOLS],
@@ -1399,7 +1399,7 @@ function createDefaultConfig() {
1399
1399
  mkdirSync(GLOBAL_CONFIG_DIR, { recursive: true });
1400
1400
  }
1401
1401
  const configContent = `{
1402
- "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json"
1402
+ "$schema": "https://raw.githubusercontent.com/LeXwDeX/opencode-dynamic-context-pruning/master/dcp.schema.json"
1403
1403
  }
1404
1404
  `;
1405
1405
  writeFileSync(GLOBAL_CONFIG_PATH_JSONC, configContent, "utf-8");