Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
refactor: use normalized cwd in both branches of shellSessionsForRepo (claude review) (#902)
Adam Eivy32537db80227
diff --git a/server/services/workspaceContext.js b/server/services/workspaceContext.jsindex b6afbc023c..56c5c2cf2c 100644--- a/server/services/workspaceContext.js+++ b/server/services/workspaceContext.js@@ -95,7 +95,7 @@ function shellSessionsForRepo(sessions, repoPath) {const prefix = `${root}/`;return sessions.filter(s => {const cwd = (s.cwd || '').replace(/\/+$/, '');- return cwd === root || `${s.cwd || ''}`.startsWith(prefix);+ return cwd === root || cwd.startsWith(prefix);});}