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: show full memory text instead of truncating in UI and notifications
Adam Eivy6129786cfc54
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 10e8b40a6b..06de4cbbb0 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -12,3 +12,4 @@## Fixed- **Apps page crash** — Fixed `Cannot access 'isNonPm2' before initialization` error caused by self-referencing variable declaration in Apps.jsx+- **Memory display truncation** — Show full memory text in CoS Memory tab and Telegram notifications instead of truncating to 100-200 charactersdiff --git a/client/src/components/cos/tabs/MemoryTab.jsx b/client/src/components/cos/tabs/MemoryTab.jsxindex 8b708b719f..f2ee9dfafe 100644--- a/client/src/components/cos/tabs/MemoryTab.jsx+++ b/client/src/components/cos/tabs/MemoryTab.jsx@@ -249,7 +249,7 @@ export default function MemoryTab({ apps = [] }) {{((memory.confidence || 0) * 100).toFixed(0)}% confidence</span></div>- <p className="text-white text-sm">{memory.summary || memory.content?.substring(0, 200)}</p>+ <p className="text-white text-sm whitespace-pre-wrap">{memory.summary || memory.content}</p>{memory.tags?.length > 0 && (<div className="flex flex-wrap gap-1 mt-2">{memory.tags.map(tag => (@@ -385,7 +385,7 @@ export default function MemoryTab({ apps = [] }) {<span className="text-xs text-port-accent">{(memory.similarity * 100).toFixed(0)}% match</span>)}</div>- <p className="text-white text-sm">{memory.summary || memory.content?.substring(0, 200)}</p>+ <p className="text-white text-sm whitespace-pre-wrap">{memory.summary || memory.content}</p>{memory.tags?.length > 0 && (<div className="flex flex-wrap gap-1 mt-2">{memory.tags.map(tag => (diff --git a/server/services/memoryExtractor.js b/server/services/memoryExtractor.jsindex 4f35a30942..4d551c873b 100644--- a/server/services/memoryExtractor.js+++ b/server/services/memoryExtractor.js@@ -265,7 +265,7 @@ export async function extractAndStoreMemories(agentId, taskId, output, task = numemories: pendingMemories.map(m => ({id: m.id,type: m.type,- content: m.content.substring(0, 200),+ content: m.content,confidence: m.confidence}))});@@ -281,7 +281,7 @@ export async function extractAndStoreMemories(agentId, taskId, output, task = nuawait notifications.addNotification({type: notifications.NOTIFICATION_TYPES.MEMORY_APPROVAL,title: `Memory needs approval`,- description: mem.summary || mem.content.substring(0, 100),+ description: mem.summary || mem.content,priority: notifications.PRIORITY_LEVELS.MEDIUM,link: '/cos/memory',metadata: {