@@ -52,6 +52,10 @@ Restart OpenCode. The plugin will automatically start optimizing your sessions.
5252- ** ` pruningMode ` ** (string, default: ` "smart" ` ) - Pruning strategy:
5353 - ` "auto" ` : Fast duplicate removal only (zero LLM cost)
5454 - ` "smart" ` : Deduplication + AI analysis (recommended, maximum savings)
55+ - ** ` pruning_summary ` ** (string, default: ` "detailed" ` ) - UI summary display mode:
56+ - ` "off" ` : No UI summary (silent pruning)
57+ - ` "minimal" ` : Show tokens saved and count only (e.g., "Saved ~ 2.5K tokens (6 tools pruned)")
58+ - ` "detailed" ` : Show full breakdown by tool type and pruning method
5559- ** ` protectedTools ` ** (string[ ] , default: ` ["task", "todowrite", "todoread"] ` ) - Tools that should never be pruned
5660
5761Example configuration:
@@ -61,6 +65,7 @@ Example configuration:
6165 " enabled" : true ,
6266 " debug" : false ,
6367 " pruningMode" : " smart" ,
68+ " pruning_summary" : " detailed" ,
6469 " protectedTools" : [" task" , " todowrite" , " todoread" ]
6570}
6671```
@@ -99,6 +104,8 @@ After modifying configuration, restart OpenCode for changes to take effect.
99104
100105** Example notification formats:**
101106
107+ ** Detailed mode** (default):
108+
102109Auto mode:
103110```
104111🧹 DCP: Saved ~1.2K tokens (5 duplicate tools removed)
@@ -130,6 +137,16 @@ Smart mode:
130137 ~/project/temp
131138```
132139
140+ ** Minimal mode** (` "pruning_summary": "minimal" ` ):
141+ ```
142+ 🧹 DCP: Saved ~3.4K tokens (8 tools pruned)
143+ ```
144+
145+ ** Off mode** (` "pruning_summary": "off" ` ):
146+ ```
147+ (No notification displayed - silent pruning)
148+ ```
149+
133150To check the latest available version:
134151
135152``` bash
0 commit comments