Skip to content

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

fix(04): add available:true to theme/narrative cache-hit returns

Adam Eivy456b344f8500
diff --git a/server/services/insightsService.js b/server/services/insightsService.js
index db562860ad..db7f38b5fc 100644
--- a/server/services/insightsService.js
+++ b/server/services/insightsService.js
@@ -301,7 +301,7 @@ export async function getThemeAnalysis() {
if (!cached) {
return { available: false, reason: 'not_generated' };
}
- return cached;
+ return { ...cached, available: true };
}
/**
@@ -383,7 +383,7 @@ export async function getCrossDomainNarrative() {
if (!cached) {
return { available: false, reason: 'not_generated' };
}
- return cached;
+ return { ...cached, available: true };
}
/**