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: Vite detection by VITE_PORT, PORTS.UI naming, conditional sync toast
Adam Eivy7247003fa742
diff --git a/client/src/components/messages/SyncTab.jsx b/client/src/components/messages/SyncTab.jsxindex c3119f4f92..9c4fe1a805 100644--- a/client/src/components/messages/SyncTab.jsx+++ b/client/src/components/messages/SyncTab.jsx@@ -36,7 +36,8 @@ export default function SyncTab({ accounts, onRefresh }) {const onSyncStarted = ({ accountId }) => {setSyncing(prev => ({ ...prev, [accountId]: 'syncing' }));};- const onSyncCompleted = ({ accountId, newMessages }) => {+ const onSyncCompleted = ({ accountId, newMessages, status }) => {+ if (status && status !== 'success') return; // non-success handled by specific event (e.g. sync:auth-required)setSyncing(prev => ({ ...prev, [accountId]: null }));toast.success(`Sync complete: ${newMessages} new messages`);onRefresh();diff --git a/server/services/pm2Standardizer.js b/server/services/pm2Standardizer.jsindex ef7d03f83d..72673bf24d 100644--- a/server/services/pm2Standardizer.js+++ b/server/services/pm2Standardizer.js@@ -501,7 +501,7 @@ export function getStandardTemplate() {// Port definitions as single source of truthconst PORTS = {API: 3001, // Express API server (also serves prod UI build)- WEB: 3000 // Vite dev server (development only)+ UI: 3000 // Vite dev server (development only)};module.exports = {@@ -523,7 +523,7 @@ module.exports = {name: 'myapp-client',cwd: './client',script: 'npx',- args: 'vite --host --port ' + PORTS.WEB,+ args: 'vite --host --port ' + PORTS.UI,watch: false,env: {NODE_ENV: 'development',diff --git a/server/services/streamingDetect.js b/server/services/streamingDetect.jsindex 16ed4dd3d7..c371a1d0e8 100644--- a/server/services/streamingDetect.js+++ b/server/services/streamingDetect.js@@ -273,7 +273,8 @@ export function parseEcosystemConfig(content) {}// Check if this process uses vite (need to check vite.config in cwd)- const usesVite = /\bvite\b/i.test(appBlock);+ // Match explicit "vite" command OR VITE_PORT in env config+ const usesVite = /\bvite\b/i.test(appBlock) || /VITE_PORT/i.test(appBlock);processes.push({ name: processName, port, ports, cwd, usesVite, isViteProcess: usesVite });lastIndex = endPos;