Commit Graph

19 Commits

Author SHA1 Message Date
Jeff Carr 5d62516c40 schema changes to Marshal() JSON from gemini-cli 2025-08-30 20:11:30 -05:00
Jeff Carr 395597646a add session information 2025-08-24 08:55:12 -05:00
Jeff Carr e83b6361c1 s/gemini/regex/ 2025-08-24 01:12:21 -05:00
Castor Gemini 443e5db5ae feat(chatpb): backup gemini.pb before saving 2025-08-22 09:59:40 -05:00
Jeff Carr e36d19e078 ?? 2025-08-22 02:50:00 -05:00
Castor Gemini 4575c97aae refactor(chatpb): Simplify AddFile for new log format
- Remove all backward-compatibility logic from the AddFile function.
- The function now assumes all input logs use the modern, nested
  'Chat -> Entries' structure.
- This simplifies the codebase significantly but requires that
  all old log files be deprecated or converted.
- Note: This commit leaves the build in a broken state, as other
  files still reference the now-removed fields.
2025-08-22 02:43:41 -05:00
Jeff Carr 21ca3300d4 changed protobuf 2025-08-22 02:38:49 -05:00
Jeff Carr 185677e464 okay? 2025-08-22 02:26:40 -05:00
Castor Gemini 3b6b85200d fix(chatpb): Update AddFile to support nested chat entries
- The AddFile function now correctly parses both the old flat log
  format and the new format where chats are grouped by topic.
- It flattens the new structure by iterating through the 'Entries'
  of a chat group and appending them to the main chat list.
- This allows the application to transparently load both old and
  new log files.
2025-08-22 02:14:17 -05:00
Jeff Carr 80090152a1 make chat entries 2025-08-22 01:58:26 -05:00
Jeff Carr 4fd6fd81d3 attempts to debug Marshal() errors 2025-08-22 00:50:31 -05:00
Castor Gemini d6f308d94a fix: Prevent panics in Marshal and FormatTEXT
- Sanitize the Chats slice before marshaling or formatting to remove
  any nil entries that may have been introduced.
- This is a robust fix for the segmentation fault panics.
2025-08-22 00:36:54 -05:00
Jeff Carr 142c649200 trying to debug protobuf stuff 2025-08-21 22:27:31 -05:00
Jeff Carr 2d7b5fe532 update with code snippet 2025-08-21 16:01:05 -05:00
Jeff Carr d7dec7865a make ConfigSave() ConfigLoad() 2025-08-21 14:18:55 -05:00
Jeff Carr 6e40b1bab4 fix name 2025-08-21 14:15:54 -05:00
Jeff Carr 924262b5d3 added ToolCalls 2025-08-21 01:36:49 -05:00
Jeff Carr af57eec691 example works 2025-08-21 00:52:41 -05:00
Jeff Carr cdcd0fe38e day1 2025-08-21 00:28:33 -05:00