From 075c76a7a82b7428762e8daf1f4da7cb2d70fd7e Mon Sep 17 00:00:00 2001 From: spoons-and-mirrors <212802214+spoons-and-mirrors@users.noreply.github.com> Date: Thu, 4 Dec 2025 02:51:55 +0100 Subject: [PATCH 1/2] summary message --- lib/ui/notification.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/ui/notification.ts b/lib/ui/notification.ts index 47bf8dd5..f3d30f4d 100644 --- a/lib/ui/notification.ts +++ b/lib/ui/notification.ts @@ -102,12 +102,9 @@ function formatStatsHeader( const maxTokenLen = Math.max(totalTokensStr.length, justNowTokensStr.length) const totalTokensPadded = totalTokensStr.padStart(maxTokenLen) - const justNowTokensPadded = justNowTokensStr.padStart(maxTokenLen) return [ - `▣ DCP Stats`, - ` Total saved │ ${totalTokensPadded}`, - ` Just now │ ${justNowTokensPadded}`, + `▣ DCP | ${totalTokensPadded} saved`, ].join('\n') } @@ -117,7 +114,8 @@ function buildDetailedMessage(data: NotificationData, workingDirectory?: string) let message = formatStatsHeader(totalTokens, justNowTokens) if (data.aiPrunedCount > 0) { - message += '\n\n▣ Pruned tools:' + const justNowTokensStr = `~${formatTokenCount(justNowTokens)}` + message += `\n\n▣ Pruned tools (${justNowTokensStr})` for (const prunedId of data.aiPrunedIds) { const normalizedId = prunedId.toLowerCase() From 54fa760b63ae0c43205451565ab5f30073474143 Mon Sep 17 00:00:00 2001 From: spoons-and-mirrors <212802214+spoons-and-mirrors@users.noreply.github.com> Date: Thu, 4 Dec 2025 04:27:48 +0100 Subject: [PATCH 2/2] total --- lib/ui/notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/notification.ts b/lib/ui/notification.ts index f3d30f4d..d9aec9ca 100644 --- a/lib/ui/notification.ts +++ b/lib/ui/notification.ts @@ -104,7 +104,7 @@ function formatStatsHeader( const totalTokensPadded = totalTokensStr.padStart(maxTokenLen) return [ - `▣ DCP | ${totalTokensPadded} saved`, + `▣ DCP | ${totalTokensPadded} saved total`, ].join('\n') }