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
fix: resolve three runtime errors on Windows
[._.]/ Adam Eivy17a2d2fb59d3
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 1b7835c713..d8d419e399 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -15,5 +15,8 @@- setup-data script now copies missing files (not just directories) from data.sample to data, fixing broken updates where new config files like stage-config.json were never propagated to existing installs- Git remote branches list no longer shows phantom "origin" branch from bare symbolic refs- portos-server now inherits PATH from parent process so git commands don't fail with ENOENT when spawned via PM2+- git.js uses shell: true on Windows so cmd.exe resolves git from PATH (shell: false fails on Windows even with correct PATH)+- AIProviders: fix TDZ crash ("Cannot access 'z' before initialization" in minified build) by removing loadRuns from useEffect dependency array that was declared after the effect+- Fix PortOS app repoPath in apps.json (was missing atomantic/ directory)## Removeddiff --git a/client/src/pages/AIProviders.jsx b/client/src/pages/AIProviders.jsxindex 723f675ae0..49c63eaab9 100644--- a/client/src/pages/AIProviders.jsx+++ b/client/src/pages/AIProviders.jsx@@ -46,7 +46,7 @@ export default function AIProviders() {socket.off(`run:${activeRun}:data`, handleData);socket.off(`run:${activeRun}:complete`, handleComplete);};- }, [activeRun, loadRuns]);+ }, [activeRun]);const loadData = async () => {setLoading(true);diff --git a/server/services/git.js b/server/services/git.jsindex c3604d2b7d..f5be22a03a 100644--- a/server/services/git.js+++ b/server/services/git.js@@ -14,7 +14,7 @@ function execGit(args, cwd, options = {}) {return new Promise((resolve, reject) => {const child = spawn('git', args, {cwd,- shell: false,+ shell: process.platform === 'win32',maxBuffer: options.maxBuffer || 10 * 1024 * 1024,windowsHide: true});