You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,15 @@ DCP uses its own config file:
71
71
"debug":false,
72
72
// Notification display: "off", "minimal", or "detailed"
73
73
"pruneNotification":"detailed",
74
+
// Enable or disable slash commands
75
+
"commands": {
76
+
"context": {
77
+
"enabled":true,
78
+
},
79
+
"stats": {
80
+
"enabled":true,
81
+
},
82
+
},
74
83
// Protect from pruning for <turns> message turns
75
84
"turnProtection": {
76
85
"enabled":false,
@@ -126,6 +135,13 @@ DCP uses its own config file:
126
135
127
136
</details>
128
137
138
+
### Commands
139
+
140
+
DCP provides two slash commands for visibility into context usage:
141
+
142
+
-`/dcp-context` — Shows a breakdown of your current session's token usage by category (system, user, assistant, tools, etc.) and how much has been saved through pruning.
143
+
-`/dcp-stats` — Shows cumulative pruning statistics across all sessions.
144
+
129
145
### Turn Protection
130
146
131
147
When enabled, turn protection prevents tool outputs from being pruned for a configurable number of message turns. This gives the AI time to reference recent tool outputs before they become prunable. Applies to both `discard` and `extract` tools, as well as automatic strategies.
0 commit comments