10 most recent check-ins occurring on or after 2026-11-19 10:49:01.
More ↑
|
2026-11-19
| ||
| 12:41 | CI green on a17b05aaa7ca check-in: 9d99f3d144 user: dmestas tags: trunk | |
| 12:36 |
Benchmark long conversations: the context estimate and a full request per API
A conversation of 100 read calls (about 200 entries, 400 KB) is built once; context/estimate-long times Pi's estimate in-process, and request/<api>-long times one whole pic run against a local server inside the benchmark (anthropic, chat, responses). Measured: the history adds about 3 ms to a request at this size (building the messages and body, sending them); the rest of a request is durable commits and process start. Baseline rows added; existing rows left as recorded. closed check-in: a17b05aaa7 user: dmestas tags: bench-long | |
| 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 | |
| 11:32 |
Check event JSON with sqlite3 only where the command exists
The Fil-C host has no sqlite3 command; the events test now skips just that check there, as the migration test does. closed check-in: dc583648f4 user: dmestas tags: events | |
| 11:17 |
Add an interactive line mode: plain pic in a terminal, or pic chat
A prompt that continues one conversation: each message streams its reply, Ctrl-C cancels just that reply, a line ending in a backslash continues the message, and Ctrl-D or /quit leaves. Slash commands start, resume, list, log, name, fork and compact conversations and change the model. The journal is opened only while an input is handled, so other pic commands can use it while the prompt waits. check-in: f41f8c8e00 user: dmestas tags: events | |
| 11:13 |
Ctrl-C cancels the running request, not pic
The first Ctrl-C sets a flag that network waits, retry pauses and the bash tool notice: a running command is aborted through its supervisor and its output kept ("Command aborted"), a provider request stops waiting and is not retried, and the run loop cancels that request the way pic cancel does, leaving other queued requests alone. A second Ctrl-C exits at once and the next run recovers as before. pic also ignores SIGPIPE, so a reader that goes away does not stop a run. check-in: 0dececc6d4 user: dmestas tags: events | |
| 11:05 |
Stream live events: Pi's JSON-mode events, or the reply as it arrives
--json writes one event per line as the run goes, with Pi's names and shapes: agent, turn and message start and end, text and thinking deltas from every adapter, tool execution start and end, compaction start and end, and auto_retry_start. A reply cut off mid-stream ends in message_end with stopReason error before it is requested again, so a client drops the partial text. pic ask streams the reply text when stdout is a terminal (--stream forces it) and prints it only once; tool calls stay on stderr. Events are not journaled: the journal remains the record. check-in: 9983dd9955 user: dmestas tags: events | |
| 10:49 | CI green on 99cd3b102938 check-in: 1ca1db547f user: dmestas tags: trunk | |