fix(core,server,web,cli): compaction tolerance, retry parity, and failure classification (#174)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-08-04 17:27:45 +08:00
committed by GitHub
parent 7015fb0153
commit 6f60b242bd
32 changed files with 741 additions and 326 deletions
@@ -23,6 +23,6 @@ export function CompactionBanner({ item }: { item: CompactionItem }) {
const text =
item.status === "completed"
? S.chat.compactionDone(item.mode)
: S.chat.compactionFailed(item.status ?? "failed");
: S.chat.compactionFailed(item.status ?? "failed", item.errorMessage);
return <p className="my-1 font-mono text-xs text-gray-500 dark:text-gray-400">{text}</p>;
}