This commit introduces the `doImport` function, which allows importing
the content of a file directly into the "auto" chat session.
The imported content is added as a `ChatEntry` from GEMINI, structured
as a `ToolCall` with the name "Shell" and the file content as the input.
This allows external command outputs to be seamlessly integrated into
the chat history for context.
- Update the main command loop to correctly parse and pass the
'--uuid' flag to the showChat function.
- This fixes the 'invalid subcommand' error and makes the detailed
playback view fully functional.
- Move all file reading and content-inlining logic into a new
'addFile' function in its own 'add.go' file.
- The main function now calls this to parse a log file and then
appends the returned chats to the main session.
- This improves separation of concerns and makes the main loop cleaner.
- Update main.go and doPlayback.go to be compatible with the
refactored 'Chat -> Entries' protobuf message format.
- Remove the now-obsolete format_rich_log.go file.
- The application now compiles successfully against the new chatpb library.