From e0b4e82ed50a3806bfc5d65d7019bd763d828ae0 Mon Sep 17 00:00:00 2001 From: Daniel Smolsky Date: Sat, 10 Jan 2026 19:24:57 -0500 Subject: [PATCH] docs: document subagent limitation, bump to 1.1.5 DCP is disabled for subagents since their purpose is to return a concise summary to the main agent, which pruning could interfere with. Closes #232 --- README.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a4186cb..2d4ada2 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,10 @@ Each level overrides the previous, so project settings take priority over config Restart OpenCode after making config changes. +## Limitations + +**Subagents** — DCP is disabled for subagents. Subagents are not designed to be token efficient; what matters is that the final message returned to the main agent is a concise summary of findings. DCP's pruning could interfere with this summarization behavior. + ## License MIT diff --git a/package-lock.json b/package-lock.json index bb5a950..9cede6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tarquinen/opencode-dcp", - "version": "1.1.4", + "version": "1.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tarquinen/opencode-dcp", - "version": "1.1.4", + "version": "1.1.5", "license": "MIT", "dependencies": { "@opencode-ai/sdk": "^1.1.3", diff --git a/package.json b/package.json index 99c8e64..f6305ca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@tarquinen/opencode-dcp", - "version": "1.1.4", + "version": "1.1.5", "type": "module", "description": "OpenCode plugin that optimizes token usage by pruning obsolete tool outputs from conversation context", "main": "./dist/index.js",