Commit Graph

25 Commits

Author SHA1 Message Date
Jeff Carr f5b923f180 can now send questions to gemini-cli from regex 2025-08-25 10:58:47 -05:00
Jeff Carr a813b2e206 test 2025-08-25 10:48:59 -05:00
Castor Regex a9b7fca08d feat(chat): add --get-next-auto-topic flag 2025-08-24 13:23:12 -05:00
Castor Regex 9c7d2a9c9e fix(count-auto): suppress debug output 2025-08-24 13:11:19 -05:00
Castor Regex b03889101d feat(chat): add --new-chat and --count-auto flags 2025-08-24 13:07:43 -05:00
Castor Gemini 1a6b367144 feat(stats): add --stats flag to save session stats 2025-08-24 09:01:34 -05:00
Castor Gemini 357c20027f Refactor: Rename gemini to regex throughout the codebase 2025-08-24 01:21:01 -05:00
Castor Gemini 40243de35b feat(gemini): add file import capability
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-22 11:47:00 -05:00
Jeff Carr 7646310dd4 show 'auto' by default 2025-08-22 11:22:52 -05:00
Jeff Carr cf812da1d3 add doInput() 2025-08-22 10:43:52 -05:00
Jeff Carr e6737ba635 fix log output 2025-08-22 08:55:59 -05:00
Jeff Carr fbc5ebe4ce wtf. this should work 2025-08-22 06:12:47 -05:00
Jeff Carr eceb945b9c something new 2025-08-22 04:23:28 -05:00
Castor Gemini 126495ff38 fix(playback): Correctly handle UUID argument
- 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-22 04:08:54 -05:00
Jeff Carr 76ef21fc66 new logging 2025-08-22 04:00:41 -05:00
Castor Gemini 8f9726c6e4 refactor(add): Create dedicated addFile function
- 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-22 03:45:34 -05:00
Jeff Carr dc2b0eeb06 something 2025-08-22 03:22:52 -05:00
Castor Gemini bffc301568 refactor(gemini): Adapt app to new protobuf structure
- 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-22 02:51:47 -05:00
Jeff Carr 043386b95b GPL 2025-08-22 00:50:20 -05:00
Castor Gemini 279c0d0e6c fix: Add diagnostic check for nil chat entries 2025-08-22 00:36:54 -05:00
Jeff Carr 44f860caa0 trying to improve forge 2025-08-21 22:27:16 -05:00
Jeff Carr a10b75d453 make an --add <filename> option 2025-08-21 14:13:42 -05:00
Jeff Carr b221e7a95c add ConfigSave() 2025-08-21 12:30:36 -05:00
Jeff Carr e655b37e60 misc 2025-08-21 10:59:11 -05:00
Jeff Carr ad39cfacbd day1 2025-08-21 10:52:40 -05:00