fix(tmux): sweep suffixed stale isolated sessions

This commit is contained in:
Disaster-Terminator
2026-04-18 20:50:54 +08:00
committed by YeonGyu-Kim
parent 0c8e546c57
commit 8c5ca73634
2 changed files with 16 additions and 3 deletions
@@ -1,4 +1,4 @@
const STALE_SESSION_PATTERN = /^omo-agents-(\d+)$/
const STALE_SESSION_PATTERN = /^omo-agents-(\d+)(?:-([A-Za-z0-9]+))?$/
function getErrorMessage(error: unknown): string {
if (error instanceof Error) {