Files
oh-my-pi/packages
Data-Wanandcan1357 2075eb4fb5 fix: show read tool content preview by default
Previously ReadToolGroupComponent completely ignored the expanded
state and discarded result content, making read tool output invisible
in the TUI (only showed a one-line path summary with no file content).

Changes:
- Store expanded state in #expanded field (was discarded with _ prefix)
- Store result content text in ReadEntry.contentText (was thrown away)
- Show a small code preview (3 lines) by default in collapsed mode
- Show full file content when expanded via Ctrl+O
- Uses renderCodeCell with PREVIEW_LIMITS.OUTPUT_COLLAPSED for
  consistent truncation with "... N more lines (Ctrl+O for more)" hint

This brings read tool output in line with bash and grep tools which
already show previews when collapsed.
2026-04-18 22:30:23 +02:00
..
2026-04-17 18:50:13 +02:00
2026-04-17 18:50:13 +02:00
2026-04-17 18:50:13 +02:00
2026-04-17 18:50:13 +02:00
2026-04-17 18:50:13 +02:00