File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ export const VALID_CONFIG_KEYS = new Set([
9797 "$schema" ,
9898 "enabled" ,
9999 "debug" ,
100- "showUpdateToasts" ,
101100 "pruneNotification" ,
102101 "pruneNotificationType" ,
103102 "turnProtection" ,
Original file line number Diff line number Diff line change @@ -287,20 +287,3 @@ export function formatPrunedItemsList(
287287
288288 return lines
289289}
290-
291- export function formatPruningResultForTool (
292- prunedIds : string [ ] ,
293- toolMetadata : Map < string , ToolParameterEntry > ,
294- workingDirectory ?: string ,
295- ) : string {
296- const lines : string [ ] = [ ]
297- lines . push ( `Context pruning complete. Pruned ${ prunedIds . length } tool outputs.` )
298- lines . push ( "" )
299-
300- if ( prunedIds . length > 0 ) {
301- lines . push ( `Semantically pruned (${ prunedIds . length } ):` )
302- lines . push ( ...formatPrunedItemsList ( prunedIds , toolMetadata , workingDirectory ) )
303- }
304-
305- return lines . join ( "\n" ) . trim ( )
306- }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type {
66
77export type DcpTuiClient = TuiPluginInput [ "client" ]
88
9- export type { DcpContextBreakdown , DcpMessageStatus }
9+ export type { DcpMessageStatus }
1010
1111export interface DcpActiveBlockInfo {
1212 topic : string
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const compactTokenCount = (value: number): string => {
4040const buildMessageRuns = (
4141 statuses : DcpMessageStatus [ ] ,
4242) : { count : number ; status : DcpMessageStatus } [ ] => {
43- if ( statuses . length === 0 ) return [ { count : 1 , status : "pruned" } ]
43+ if ( statuses . length === 0 ) return [ ]
4444
4545 // Group consecutive same-status messages into runs
4646 const runs : { count : number ; status : DcpMessageStatus } [ ] = [ ]
You can’t perform that action at this time.
0 commit comments