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
address review: update execGit JSDoc return type, escape single quotes in cd path
Adam Eivyf5331b492b67
diff --git a/client/src/pages/Shell.jsx b/client/src/pages/Shell.jsxindex 841366c431..123fc9a02d 100644--- a/client/src/pages/Shell.jsx+++ b/client/src/pages/Shell.jsx@@ -498,7 +498,7 @@ export default function Shell() {<buttonkey={name}onClick={() => {- sendCommand(`cd '${path}'`);+ sendCommand(`cd '${path.replace(/'/g, "'\\''")}'`);setFolderDropdownOpen(false);}}className="w-full text-left px-3 py-2 text-xs font-mono text-gray-300 hover:bg-port-border hover:text-white transition-colors"diff --git a/server/services/git.js b/server/services/git.jsindex fc681c28eb..421ef36716 100644--- a/server/services/git.js+++ b/server/services/git.js@@ -8,7 +8,7 @@ import { safeJSONParse } from '../lib/fileUtils.js';* @param {string[]} args - Git command arguments* @param {string} cwd - Working directory* @param {object} options - Additional options- * @returns {Promise<{stdout: string, stderr: string}>}+ * @returns {Promise<{stdout: string, stderr: string, exitCode: number}>}*/function execGit(args, cwd, options = {}) {return new Promise((resolve, reject) => {