From 779e5cc240e27419c56dc351f9df4bea0272d4f2 Mon Sep 17 00:00:00 2001 From: wassname <1103714+wassname@users.noreply.github.com> Date: Thu, 16 Apr 2026 13:10:33 +0800 Subject: [PATCH] fix: prefix overlap error with [compress] for tool identification --- compress-tool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress-tool.ts b/compress-tool.ts index bca1bda..882107a 100644 --- a/compress-tool.ts +++ b/compress-tool.ts @@ -212,7 +212,7 @@ export function registerCompressTool( : 'none available — all visible messages are covered by existing blocks' throw new Error( - `Range {startId: "${startId}", endId: "${endId}"} overlaps existing summaries: ${overlapInfo}. ` + + `[compress] Range {startId: "${startId}", endId: "${endId}"} overlaps existing summaries: ${overlapInfo}. ` + `Available ranges: ${gapInfo}`, ) }