Parents and children of check-in [736c8c70b6]
|
2026-11-19
| ||
| 13:34 | CI green on fc4294d0eafd; Fil-C pass check-in: ad4310396c user: dmestas tags: trunk | |
| 13:09 |
Add a terminal interface: plain pic in a terminal
A module in the pic binary (src/tui) that runs each request as a child pic --json process and knows it only through its events, so a fault in the interface cannot touch a run. Finished output is committed once to the terminal's scrollback; a small live area (the reply being streamed, a running tool call, status, queued messages, the editor and a footer with the directory, conversation, tokens, context and model) is redrawn from its first changed line, inside synchronized output. A reply that fails mid-stream only ever lived in the live area and simply goes away. Editor: multi-line, history, bracketed paste with large pastes shown as atomic markers. Keys: Enter sends (queues while a reply runs), Ctrl+J or Alt+Enter adds a line, Esc interrupts, Ctrl+C clears and twice quits, Ctrl+D quits, Ctrl+O expands later tool output. Commands: new, resume with a picker, name, fork, compact, model, help, quit; commands typed during a reply wait for it. pic tui -c continues the latest conversation and shows its history; pic chat remains the plain prompt. For clients, agent_start now carries the conversation, model and context window and message_end the usage; the conversation list and a conversation's entries are available as JSON. Tested with unit tests for the width, key, render and editor modules and end to end on a pseudo-terminal. check-in: cb2ad5fbe9 user: dmestas tags: tui | |
| 12:49 | CI green on acbf15df96dc check-in: 736c8c70b6 user: dmestas tags: trunk | |
| 12:45 |
Fix the usability problems found by test runs on real tasks
pic log now shows how a request ended when it was not answered (cancelled, failed with its error, or still running). pic chat -c continues the latest conversation, or a given one by id, and the prompt says which. A wrong conversation id points at the listing command; a refused fork point names the latest valid ones; an unknown option or command says so before the usage text; an unknown slash command is reported as unknown. closed check-in: acbf15df96 user: dmestas tags: dogfood-fixes | |
| 12:41 | CI green on a17b05aaa7ca check-in: 9d99f3d144 user: dmestas tags: trunk | |