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
Release v1.6.7 - Changelog
Released: Unreleased
Overview
Folder picker improvements for Windows: drive selector, home directory quick-nav, and error handling.
Features
FolderPicker: Windows drive navigation
- Added drive selector bar showing all available Windows drives (A–Z) so users can navigate between drives without typing paths
- Active drive is visually highlighted with the accent color
- Drive list is fetched from the server and only shown on Windows
FolderPicker: Home directory shortcut
- Added a Home button in the path bar to quickly jump to the user's home directory (
~) - Server resolves
~to the actual home directory path
Improvements
Feature ideas integrated into PLAN.md
- Moved 20 prioritized feature ideas from standalone
docs/FEATURE-IDEAS.mdinto PLAN.md's "Planned Feature Details" section, organized by 5 priority tiers - Deleted standalone file to keep planning centralized
Fixes
Windows CMD window flash and infinite restart loop
- Added
windowsHide: trueto everyspawn(),exec(),execSync(), andexecAsync()call across the entire server — previous fix only coveredpm2.jsand a few services, missing ~20 other spawn sites in routes, cos-runner, agents, scaffold, git cloner, brain, digital-twin, aiDetect, pm2Standardizer, taskConflict, platform, and detect - Added
windowsHide: IS_WINto all 6 app definitions inecosystem.config.cjsso PM2 daemon spawns PortOS processes without visible CMD windows - Added
windowsHide: IS_WINto PM2 programmatic API calls (pm2.start()instartAppandstartWithCommand) — these were the primary path for starting managed apps like sdlive - Added
max_restarts: 10,min_uptime: '10s', andrestart_delay: 5000tostartAppandstartWithCommand— previously hadautorestart: truewith no restart cap, causing infinite CMD window spawn loops when a managed app crashed on startup - Fixed PM2 fork mode crash on Windows: when ecosystem configs use
script: 'npm'(common pattern), PM2 resolves it tonpm.cmdand tries torequire()a batch file as JavaScript, causingSyntaxError: Invalid or unexpected token+ infinite restart loop. On Windows,startFromEcosystemnow loads the config, patches non-JS scripts withinterpreter: 'none'(spawn mode), writes a temp config, and starts PM2 with it. Same fix applied tostartWithCommandandstartApp. - Eliminated remaining CMD window flashes by bypassing
pm2.cmdentirely: all PM2 CLI invocations (jlist,logs,start,stop,restart,delete) now runnode pm2/bin/pm2directly instead ofspawn('pm2', {shell:true})which created acmd.exe → pm2.cmd → nodechain where the intermediate.cmdbatch file flashed a visible window. NewspawnPm2()andexecPm2()helpers inpm2.jsare shared by logs, socket, detect, streamingDetect, and cos services. - Updated all
pm2:*npm scripts in package.json to usenode ./node_modules/pm2/bin/pm2instead of barepm2command, avoidingpm2.cmdbatch file wrapper on Windows - Fixed
autofixer/server.jsandautofixer/ui.jsstill using barepm2commands viaexec()andspawn('pm2', {shell:true})— these were the last remaining CMD window sources, now bypassed with localnode pm2/bin/pm2pattern - Rewrote
scripts/dev-start.jsto useexecFileSyncinstead ofexecSync(avoids cmd.exe) with local PM2 binary resolution
PM2 binary resolution fails when pm2 not globally installed
spawnPm2()on macOS/Linux fell back tospawn('pm2', ...)which requires a global pm2 install — now always usesnode pm2/bin/pm2via the local binary on all platforms- Fixed
PM2_BINpath usingrequire.resolve('pm2/package.json')instead of a hardcoded relative path that broke when pm2 was hoisted to the rootnode_modules - This caused all app status queries to silently fail, making every app appear "Offline"
npm run dev uses PM2 instead of concurrently
- Changed
npm run devtopm2 start ecosystem.config.cjs && pm2 logsso dev mode uses the same PM2 process management as production - Enabled file watching on
portos-serverfor automatic restart on code changes - Fixed Vite binary path in ecosystem config (
client/node_modules/vite→node_modules/vite) since vite is hoisted to root - Removed unused
concurrentlydevDependency
settings.test.js incorrect assertion
- Fixed test "should throw on invalid JSON in file" which expected
getSettings()to reject on empty input — the actual implementation usessafeJSONParse(raw, {})which returns{}gracefully
FolderPicker: Error state handling
- Directory load errors now display inline with a message and "Go to default directory" recovery button instead of silently failing
- Select button is disabled when no path is loaded