Skip to content

Commit d480b17

Browse files
committed
clean up compress config leftovers
1 parent 9d1f053 commit d480b17

File tree

4 files changed

+1
-141
lines changed

4 files changed

+1
-141
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ Each level overrides the previous, so project settings take priority over global
136136
// Controls how likely compression is after user messages
137137
// ("strong" = more likely, "soft" = less likely)
138138
"nudgeForce": "soft",
139-
// Flat tool schema: improves tool call reliability but uglier in the TUI
140-
"flatSchema": false,
141139
// Tool names whose completed outputs are appended to the compression
142140
"protectedTools": [],
143141
// Preserve your messages during compression.
@@ -152,10 +150,6 @@ Each level overrides the previous, so project settings take priority over global
152150
// Additional tools to protect from pruning
153151
"protectedTools": [],
154152
},
155-
// Prune write tool inputs when the file has been subsequently read
156-
"supersedeWrites": {
157-
"enabled": true,
158-
},
159153
// Prune tool inputs for errored tools after X turns
160154
"purgeErrors": {
161155
"enabled": true,

dcp.schema.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"automaticStrategies": {
7070
"type": "boolean",
7171
"default": true,
72-
"description": "When manual mode is enabled, keep automatic deduplication/supersede/purge strategies running"
72+
"description": "When manual mode is enabled, keep automatic deduplication/purge strategies running"
7373
}
7474
},
7575
"default": {
@@ -219,11 +219,6 @@
219219
"default": "soft",
220220
"description": "Controls how likely compression is after user messages. 'strong' is more likely, 'soft' is less likely."
221221
},
222-
"flatSchema": {
223-
"type": "boolean",
224-
"default": false,
225-
"description": "When true, the compress tool schema uses 4 flat string parameters (topic, startId, endId, summary) instead of the nested content object. This simplifies tool calls but changes TUI display."
226-
},
227222
"protectedTools": {
228223
"type": "array",
229224
"items": {
@@ -247,7 +242,6 @@
247242
"nudgeFrequency": 5,
248243
"iterationNudgeThreshold": 15,
249244
"nudgeForce": "soft",
250-
"flatSchema": false,
251245
"protectedTools": [],
252246
"protectUserMessages": false
253247
}
@@ -277,18 +271,6 @@
277271
}
278272
}
279273
},
280-
"supersedeWrites": {
281-
"type": "object",
282-
"description": "Replace older write/edit outputs when new ones target the same file",
283-
"additionalProperties": false,
284-
"properties": {
285-
"enabled": {
286-
"type": "boolean",
287-
"default": true,
288-
"description": "Enable supersede writes strategy"
289-
}
290-
}
291-
},
292274
"purgeErrors": {
293275
"type": "object",
294276
"description": "Remove tool outputs that resulted in errors",

lib/strategies/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export { deduplicate } from "./deduplication"
2-
export { supersedeWrites } from "./supersede-writes"
32
export { purgeErrors } from "./purge-errors"

lib/strategies/supersede-writes.ts

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)