summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-08-25fix: correct build errors and clean up codeCastor Regex
2025-08-24stuffJeff Carr
2025-08-24feat(chat): add --get-next-auto-topic flagCastor Regex
2025-08-24fix(count-auto): load chats before countingCastor Regex
2025-08-24fix(count-auto): suppress debug outputCastor Regex
2025-08-24feat(chat): add --new-chat and --count-auto flagsCastor Regex
2025-08-24feat(stats): add --stats flag to save session statsCastor Gemini
2025-08-24feat(playback): Improve formatting of long playbackCastor Gemini
2025-08-24Refactor: Rename gemini to regex throughout the codebaseCastor Gemini
2025-08-24Fix: Update Makefile to build regex binaryCastor Gemini
2025-08-22feat(gemini): add file import capabilityCastor Gemini
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.
2025-08-22show 'auto' by defaultJeff Carr
2025-08-22add doInput()Jeff Carr
2025-08-22feat(gemini): add timestamp to auto chat entriesCastor Gemini
2025-08-22fix(gemini): set author to GEMINI in doOutputCastor Gemini
2025-08-22feat(gemini): update "auto" chat on --outputCastor Gemini
2025-08-22fix log outputJeff Carr
2025-08-22Log doOutput to /tmp/gemini-output.logCastor Gemini
2025-08-22wtf. this should workJeff Carr
2025-08-22fix(playback): Improve formatting of code snippetsCastor Gemini
- Refactor the 'printCodeSnippet' function to draw a complete, correctly padded box around the code. - Each line is now padded with spaces to ensure the right border aligns perfectly at the terminal width.
2025-08-22fix(playback): Correct Printf formatting for right-alignmentCastor Gemini
- Fix a bug where the format string for the right-aligned prefix was being printed literally instead of being evaluated. - The user message prefix now displays the timestamp and author correctly.
2025-08-22fix(playback): Correct right-alignment of user messagesCastor Gemini
- Refactor the 'printRightAligned' function to print the author prefix line *before* the content. - This fixes a bug where the prefix was incorrectly appearing after the message body.
2025-08-22fix(playback): Add spacing before code snippetsCastor Gemini
2025-08-22feat(playback): Add right-alignment for user messagesCastor Gemini
- Refactor the 'printContent' function to align user messages to the right side of the terminal. - Gemini messages remain left-aligned. - This provides a clearer visual distinction in the conversation flow.
2025-08-22fix(playback): Correct content indentation logicCastor Gemini
- Refactor the word-wrapping algorithm in 'printContent' to ensure every line of conversational text is correctly prepended with a tab character. - This fixes the issue where only the first line of a wrapped paragraph was being indented.
2025-08-22fix(playback): Improve content word wrappingCastor Gemini
- Refactor the 'printContent' function to provide a cleaner layout. - The author and timestamp prefix now appear on their own line. - All subsequent lines of content are indented with a standard tab and wrapped correctly to the terminal width.
2025-08-22fix(playback): Implement word wrapping for contentCastor Gemini
- Add a new 'printContent' function to handle word wrapping for the main conversational text in the detailed playback view. - This ensures that long lines of text are correctly wrapped to the terminal width, improving readability.
2025-08-22refactor(ui): Adjust playback format width to 100 charactersCastor Gemini
2025-08-22jesusJeff Carr
2025-08-22blahJeff Carr
2025-08-22feat(playback): Implement listEntries for chat summaryCastor Gemini
- Implement a new 'listEntries' function that provides a one-line summary for each entry within a chat topic. - The 'showChat' function (triggered by 'playback --uuid') now calls this new summary view.
2025-08-22Revert "feat(playback): Implement listEntries for chat summary"Jeff Carr
This reverts commit af9bc2db8c841d45c45b8bce58f40326baa709fc.
2025-08-22feat(playback): Implement listEntries for chat summaryCastor Gemini
- Implement a new 'listEntries' function that provides a one-line summary for each entry within a chat topic. - The 'showChat' function (triggered by 'playback --uuid') now calls this new summary view instead of the full rich format.
2025-08-22something newJeff Carr
2025-08-22fix(playback): Correctly handle UUID argumentCastor Gemini
- 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.
2025-08-22new loggingJeff Carr
2025-08-22refactor(add): Create dedicated addFile functionCastor Gemini
- 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.
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-22stuffJeff Carr
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.
2025-08-22somethingJeff Carr
2025-08-22Revert "feat(playback): Implement detailed view for showChat"Jeff Carr
This reverts commit df4e63ea75692a9885338a5eb2b7454e9c049716.
2025-08-22feat(playback): Implement detailed view for showChatCastor Gemini
- Integrate the rich formatting logic into the 'showChat' function. - When 'playback' is called with a UUID, it now prints a full, detailed transcript of that specific chat topic, including content from external files, tool calls, and code snippets.
2025-08-22find uuidJeff Carr
2025-08-22Revert "feat(playback): Create new, correct playback summary function"Jeff Carr
This reverts commit 6770c0ac1e68c1efa3019406377c4484869f7491.
2025-08-22feat(playback): Create new, correct playback summary functionCastor Gemini
- Create a new, self-contained doPlayback.go that correctly implements the summary view. - This function is designed to be called with an optional filename. - Note: This leaves main.go in a broken state, requiring the user to update the call site to this new function.
2025-08-22feat(playback): Add UUID to summary viewCastor Gemini
2025-08-22refactor(gemini): Adapt app to new protobuf structureCastor Gemini
- 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.
2025-08-22feat(playback): Change playback to a concise summary viewCastor Gemini
- The 'playback' command now prints a one-line summary for each chat topic. - The summary includes the topic name, the number of entries, and the start time of the conversation.
2025-08-22GPLJeff Carr