Commit Graph

2 Commits

Author SHA1 Message Date
Castor Gemini 73bc0f73aa fix(playback): Make playback independent of the filesystem
- 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-22 03:36:54 -05:00
Castor Gemini f6e881b064 refactor(playback): Move formatting logic to prettyFormat.go
- 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.
2025-08-22 03:26:39 -05:00