Skip to content
pi-c Tags and Properties
Login

Tags and Properties

Tags and Properties for Check-in 193e5d1a30

Context
2026-11-19
12:16 • Edit [193e5d1a30]: Mark "Closed". artifact: f07bf658c1 user: dmestas
12:05 • Edit [193e5d1a30]: Add "ci-pass" with value "a4af61f3529abc14cf77e9e35ebb9bb5". artifact: 0b872f23c2 user: quarry
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