Skip to content
pi-c Timeline
Login

Timeline

3 check-ins related to "pi-export"

2026-11-19
12:16
CI green on 193e5d1a30ec; Fil-C pass check-in: 3c23c4f6fa user: dmestas tags: trunk
12:01
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. closed check-in: 193e5d1a30 user: dmestas tags: pi-export

11:46
CI green on dc583648f4b7; Fil-C pass check-in: 3f3d884187 user: dmestas tags: trunk