Monorepo for Aesthetic.Computer aesthetic.computer

slab menubar: restore/restart spawn into whichever terminal is open master

openTerminalRunningClaude() is no longer hardwired to iTerm2 — it now branches between iTerm2 (`create window` + `write text`) and Terminal.app (`do script` + `set bounds of front window`). New preferredTerminalApp() picks the target: only-iTerm2 → iTerm2, only-Terminal → Terminal, both open → frontmost, neither → iTerm2 (port default). restoreRecentThreads resolves it once per batch; restartAllActive resolves it BEFORE the SIGTERM so torn-down windows don't skew detection. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>


+59 -17
1 changed file