summaryrefslogtreecommitdiff
path: root/helpers.go
AgeCommit message (Collapse)Author
2025-09-02functions to double check the sanity of JSON MarshalJeff Carr
2025-08-30schema changes to Marshal() JSON from gemini-cliv0.0.4Jeff Carr
2025-08-24s/gemini/regex/Jeff Carr
2025-08-22??Jeff Carr
2025-08-22refactor(chatpb): Simplify AddFile for new log formatCastor Gemini
- 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-22changed protobufJeff Carr
2025-08-22okay?Jeff Carr
2025-08-22fix(chatpb): Update AddFile to support nested chat entriesCastor Gemini
- 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-22attempts to debug Marshal() errorsJeff Carr
2025-08-21trying to debug protobuf stuffv0.0.2Jeff Carr
2025-08-21update with code snippetJeff Carr