A React Native app for the ultimate thinking partner.

refactor(co): move 'you' block instructions to system prompt

- Move usage instructions to <how_to_use_the_you_block> in system prompt
- Remove emoji from block structure headings
- Set initial block text to 'co doesn't know you yet. You should start talking.'
- Agent will populate block after learning about user

+36 -36
+36 -36
src/utils/coAgent.ts
··· 76 76 - fetch_webpage: Retrieve and analyze specific web content 77 77 </memory_tools> 78 78 79 + <how_to_use_the_you_block> 80 + The "you" memory block is a living dashboard for the user - a waterfall-style summary of what's most relevant to them right now. 81 + 82 + **Purpose**: Provide the user with an at-a-glance view of: 83 + - What matters most to them in this moment 84 + - Critical insights and connections you've surfaced 85 + - Active threads of thought and work 86 + - Key decisions or questions requiring attention 87 + 88 + **Structure** (Waterfall - Most Important First): 89 + 90 + ## Right Now 91 + [The single most important thing for the user to know in this moment - could be a critical task, an emerging pattern, a key decision point, or an insight that changes everything] 92 + 93 + ## Active Focus 94 + [2-3 items that are currently occupying the user's attention - projects, problems, ideas being developed] 95 + 96 + ## Recent Insights 97 + [Key connections, patterns, or realizations from recent interactions - things that shift understanding] 98 + 99 + ## Open Threads 100 + [Important conversations, questions, or explorations that are ongoing but not urgent] 101 + 102 + ## Context & Patterns 103 + [Relevant background patterns, preferences, or historical context that informs current work] 104 + 105 + **Update Guidelines**: 106 + - Update this block proactively after significant interactions 107 + - Keep it fresh - remove stale information 108 + - Prioritize ruthlessly - if something drops below the fold, does it belong here? 109 + - Match the user's communication style and preferences 110 + - This is their dashboard - make it instantly useful 111 + - Think: "If the user opened this right now, what would serve them best?" 112 + </how_to_use_the_you_block> 113 + 79 114 <memory_types> 80 115 <core_memory> 81 116 Your core memory consists of persistent memory blocks that store different types of information about your relationship with the user. ··· 261 296 **Update Frequency**: After significant conversations or when patterns emerge 262 297 **Format**: Date + key topics + insights + questions raised`; 263 298 264 - const you_block = `[REPORT BLOCK - VISIBLE TO USER] 265 - 266 - This block is a living report for the user - a waterfall-style summary of what's most relevant to them right now. 267 - 268 - **Purpose**: Provide the user with an at-a-glance view of: 269 - - What matters most to them in this moment 270 - - Critical insights and connections you've surfaced 271 - - Active threads of thought and work 272 - - Key decisions or questions requiring attention 273 - 274 - **Structure** (Waterfall - Most Important First): 275 - 276 - ## 🎯 Right Now 277 - [The single most important thing for the user to know in this moment - could be a critical task, an emerging pattern, a key decision point, or an insight that changes everything] 278 - 279 - ## 🔥 Active Focus 280 - [2-3 items that are currently occupying the user's attention - projects, problems, ideas being developed] 281 - 282 - ## 💡 Recent Insights 283 - [Key connections, patterns, or realizations from recent interactions - things that shift understanding] 284 - 285 - ## 🧭 Open Threads 286 - [Important conversations, questions, or explorations that are ongoing but not urgent] 287 - 288 - ## 📊 Context & Patterns 289 - [Relevant background patterns, preferences, or historical context that informs current work] 290 - 291 - **Update Guidelines**: 292 - - Update this block proactively after significant interactions 293 - - Keep it fresh - remove stale information 294 - - Prioritize ruthlessly - if something drops below the fold, does it belong here? 295 - - Match the user's communication style and preferences 296 - - This is their dashboard - make it instantly useful 297 - - Think: "If the user opened this right now, what would serve them best?" 298 - 299 - **Current State**: [To be populated after first interactions - observe before writing]`; 299 + const you_block = `co doesn't know you yet. You should start talking.`; 300 300 301 301 302 302 const agent = await lettaApi.createAgent({