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: address Copilot round 3 — agents shared ref and comment accuracy
Adam Eivy9ff2c5f033d9
diff --git a/server/services/cosAgents.js b/server/services/cosAgents.jsindex 0d7e44fffd..388177d68e 100644--- a/server/services/cosAgents.js+++ b/server/services/cosAgents.js@@ -363,7 +363,7 @@ export async function appendAgentOutput(agentId, line) {return result}-// Get running agents from state (completed agents loaded on-demand via getAgentsByDate)+// Get all agents from in-memory state (includes running and recently completed; archived agents loaded via getAgentsByDate)export async function getAgents() {const state = await loadState()return Object.values(state.agents)diff --git a/server/services/cosState.js b/server/services/cosState.jsindex 176cdbfe8f..f29849f236 100644--- a/server/services/cosState.js+++ b/server/services/cosState.js@@ -142,7 +142,8 @@ export async function loadState() {...DEFAULT_STATE,...state,config: { ...DEFAULT_CONFIG, ...state.config },- stats: { ...DEFAULT_STATE.stats, ...state.stats }+ stats: { ...DEFAULT_STATE.stats, ...state.stats },+ agents: state.agents ?? {}}return stateCache}