summaryrefslogtreecommitdiff
path: root/prettyFormat.go
AgeCommit message (Collapse)Author
2025-08-22fix(playback): Make playback independent of the filesystemCastor Gemini
- Refactor the prettyFormat.go functions to render all content directly from the 'Content' fields of the protobuf messages. - Remove all 'os.ReadFile' calls from the formatting logic. - This ensures the 'playback' command is self-contained and works correctly on saved protobuf data where the original content files are no longer available.
2025-08-22refactor(playback): Move formatting logic to prettyFormat.goCastor Gemini
- Create a new prettyFormat.go file to contain all the detailed log formatting and printing logic. - Simplify doPlayback.go to handle the summary view and call out to the new prettyFormatChat function for detailed views. - This separation of concerns makes the code cleaner and fixes compilation errors related to redeclared functions.