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
Merge remote-tracking branch 'origin/main' into better/code-quality
Adam Eivy81034a7a448c
diff --cc server/services/cos.jsindex 4f20a21f04,48dc98e47d..897eecce77--- a/server/services/cos.js+++ b/server/services/cos.js@@@ -3034,8 -3029,7 +3034,9 @@@ async function init()}}-// Initialize asynchronously (skip during tests to avoid circular import issues and side effects)+// Initialize asynchronously — vitest sets NODE_ENV=test by default, so this- // skips eager init (and its listeners/timers) in unit tests.++// skips eager init (and its listeners/timers) in unit tests and avoids++// circular-import side effects.if (process.env.NODE_ENV !== 'test') {init();}diff --cc server/services/lmStudioManager.jsindex 4b53f4c6c6,12247f044c..bc6c47ae8b--- a/server/services/lmStudioManager.js+++ b/server/services/lmStudioManager.js@@@ -64,7 -64,7 +64,7 @@@ async function lmStudioRequest(endpointasync function checkLMStudioAvailable() {const now = Date.now()- // Use cached result if recent- // Use cached result if recent (within 30 seconds)++ // Use cached result if recent (within AVAILABILITY_CACHE_TTL_MS)if (lastCheckAt && now - lastCheckAt < AVAILABILITY_CACHE_TTL_MS && isAvailable !== null) {return isAvailable}diff --cc server/services/moltworldWs.jsindex 10c367511a,46af275f68..93af21a813--- a/server/services/moltworldWs.js+++ b/server/services/moltworldWs.js@@@ -116,7 -116,9 +116,9 @@@ function handleMessage(raw)status: 'completed',result: { type: eventType, content: data.message || data.thought || '' },timestamp: new Date().toISOString()- }).catch(err => console.warn(`⚠️ Activity log failed: ${err.message}`));+ }).catch(err => {- console.warn(`⚠️ Activity log failed eventType=${eventType}:`, err?.message || String(err));++ console.warn(`⚠️ Activity log failed eventType=${eventType}: ${err?.message || String(err)}`);+ });}} else if (eventType === 'nearby') {moltworldWsEvents.emit('nearby', data);