this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix extractTextFromContent for old Codex format

Old format uses 'input_text' and 'output_text' content types instead of
'text'. This caused all message text to be silently dropped, resulting
in empty/generic summaries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

alice b5377672 2671b22d

+2 -1
+2 -1
src/core/codex-reader.ts
··· 147 147 if (!content || !Array.isArray(content)) return ''; 148 148 const texts: string[] = []; 149 149 for (const item of content) { 150 - if (item.type === 'text' && item.text) { 150 + // Handle both new format ('text') and old format ('input_text', 'output_text') 151 + if ((item.type === 'text' || item.type === 'input_text' || item.type === 'output_text') && item.text) { 151 152 texts.push(item.text); 152 153 } 153 154 }