Artifact 8d33a1861aa15a711ed2e100b1a9cf4b8980e7db0b36793491dae8ac2f914971:
- File
Makefile
-
2026-11-19 12:01:55
— part of check-in
[193e5d1a30]
on branch pi-export
— Write conversations as Pi v3 session files for ctx and Pi's tools
pic export --pi [DIR] writes each conversation as an append-only Pi v3 JSONL file named as Pi names them, by default under ~/.pic/sessions/ --<cwd>--/ and never in Pi's own folder: entry ids are journal entry numbers, a fork names its source file, instruction updates are custom_message entries, names are session_info, compactions are Pi compaction entries. Exporting again appends only finished entries after the last one written, after cutting a torn last line. ask and the line mode export their conversation after each request (PIC_PI_EXPORT=0 turns that off).
Also fixes compaction file lists: they were stored as JSON text rather than arrays, so a later compaction did not carry the earlier read and modified files forward. Lists already stored that way are read either way. (user: dmestas, size: 14688) [annotate] [blame] [check-ins using]
- 2026-11-19 12:16:41 — part of check-in [3c23c4f6fa] on branch trunk — CI green on 193e5d1a30ec; Fil-C pass (user: dmestas, size: 14688) [annotate] [blame] [check-ins using]
-
2026-11-19 12:01:55
— part of check-in
[193e5d1a30]
on branch pi-export
— Write conversations as Pi v3 session files for ctx and Pi's tools