(memory: string | null)
| 16 | const RECENT_MESSAGE_WINDOW = 30 |
| 17 | |
| 18 | function buildAwaySummaryPrompt(memory: string | null): string { |
| 19 | const memoryBlock = memory |
| 20 | ? `Session memory (broader context):\n${memory}\n\n` |
| 21 | : '' |
| 22 | return `${memoryBlock}The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task — what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps.` |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Generates a short session recap for the "while you were away" card. |
no outgoing calls
no test coverage detected