fix: improve tool summaries

This commit is contained in:
Peter Steinberger
2026-01-23 00:59:44 +00:00
parent 51a9053387
commit 52b6bf04af
10 changed files with 134 additions and 17 deletions

View File

@@ -31,7 +31,8 @@ const subagentRuns = new Map<string, SubagentRunRecord>();
let sweeper: NodeJS.Timeout | null = null;
let listenerStarted = false;
let listenerStop: (() => void) | null = null;
let restoreAttempted = false;
// Use var to avoid TDZ when init runs across circular imports during bootstrap.
var restoreAttempted = false;
function persistSubagentRuns() {
try {