Skip to content
pi-c Check-in [f41f8c8e00]
Login

Check-in [f41f8c8e00]

Overview
Comment: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.

Timelines: family | ancestors | descendants | both | events
Files: files | file ages | folders
SHA3-256: f41f8c8e008bd11744a25092cc82c814f87d211eccffd49d959d5a410491bf6a
User & Date: dmestas on 2026-11-19 11:17:41.521
Other Links: branch diff | manifest | tags
Context
2026-11-19
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

Changes