Skip to content
pi-c Timeline
Login

Timeline

Parents and children of check-in [0dececc6d4]

2026-11-19
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