# Changelog ## 2025-08-30 - 5.3.2 - fix(daemon) Improve daemon log delivery and process monitor memory accounting; gate debug output and update tests to numeric ProcessId - Deliver process logs only to subscribed clients instead of broadcasting to all connections (reduce unnecessary IPC traffic and noise) - Implement incremental log memory accounting in ProcessMonitor using an estimateLogSize helper and WeakMap to avoid repeated JSON.stringify and reduce CPU/memory overhead - Seed the incremental size map when loading persisted logs so memory accounting is accurate after restart - Trim logs incrementally by subtracting estimated sizes of removed entries (avoids O(n) recalculation) - Gate verbose console/debug output behind TSPM_DEBUG to prevent spamming in normal runs (applies to ProcessWrapper and ProcessMonitor) - Improve process wrapper stdout/stderr debug logging to be conditional on debug mode - Update tests to use numeric ProcessId via toProcessId(...) for consistency with typed IDs ## 2025-08-30 - 5.3.1 - fix(client(tspmIpcClient)) Use bare topic names for IPC client subscribe/unsubscribe to fix log subscription issues - Updated ts/client/tspm.ipcclient.ts to call ipcClient.subscribe/unsubscribe with the bare topic (e.g. 'logs.') instead of prefixed 'topic:<...>'. - Added comments clarifying that the IpcClient registers the 'topic:' prefix internally. - Fixes incorrect topic registration that could prevent log streaming handlers from receiving messages. ## 2025-08-30 - 5.3.0 - feat(cli/daemon/processmonitor) Add flexible target resolution and search command; improve restart/backoff and error handling - Add new cli command `search` to find processes by id or name fragment. - Allow flexible process targets in CLI commands (accepts numeric id, id:, or name: