Commit b09fe84
authored
refactor: Implement JSONL v2 format for conversation storage (#383)
Refactors JSONL storage to use a new v2 format with append-only writes
for better performance. Maintains backward compatibility with existing
v1 format files. The new format reduces file rewrites by only appending
new entries and updating metadata.1 parent 3eaba3d commit b09fe84
3 files changed
Lines changed: 792 additions & 134 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | 331 | | |
337 | 332 | | |
338 | 333 | | |
| |||
0 commit comments