16 check-ins that include changes to files matching 'test/pic/streams/*'
|
2026-11-20
| ||
| 02:28 | Merge trunk into the syntax highlighter check-in: f7b1bab2f5 user: dmestas tags: highlight | |
| 02:17 |
Merge trunk into Gemini; the catalog includes Google's models
src/model_catalog.inc regenerated from pi.dev with google-generative-ai: 679 models, each with input types and prices. closed check-in: 1e0a50a3c5 user: dmestas tags: gemini | |
| 00:37 | Merge images into prompt caching check-in: 2a29f15311 user: dmestas tags: cache | |
| 00:29 |
Merge trunk (TUI round 2, live events) into images
Keeps both features where they met: tool-end events carry images and bash streams partial output; the tool hooks carry both. Fil-C builds image.c and prune.c and runs images.sh, which skips where there is no sqlite3 command (as migrate.sh does). check-in: d5076648a8 user: dmestas tags: images | |
| 00:15 | Merge trunk (steering, round 2, live events) into costs closed check-in: facfe0d240 user: dmestas tags: cost | |
| 00:09 | CI green on 49befd80de6f; Fil-C pass (212) check-in: 8952c4ae13 user: dmestas tags: trunk | |
|
2026-11-19
| ||
| 23:10 | Merge trunk (steering) into TUI round 2 closed check-in: 649919032a user: dmestas tags: tui-parity-2 | |
| 23:05 | CI green on 2a3594e86096 (pair); Fil-C pass (201); reviewed twice check-in: 4807bb7d80 user: dmestas tags: trunk | |
| 23:03 | Integrate TUI round 2, steering and live events for round 3 check-in: 101703404d user: dmestas tags: tui-round-3 | |
| 22:38 |
Events: the real retry delay, and bash output while it runs
auto_retry_start carries the delay pic is about to wait before retrying a 429 or 5xx (Retry-After or backoff), so a client can count it down. While a bash command runs, tool_execution_update events carry its output so far, throttled to 100 ms as in Pi, emitted outside any journal transaction. check-in: 784650d9f0 user: dmestas tags: live-events | |
| 22:04 |
Durable steering and follow-ups, as Pi's
With --json --commands, a running pic reads Pi's RPC command lines on stdin (steer, follow_up, clear_queue, abort, set_steering_mode, set_follow_up_mode) wherever it already waits, and answers as Pi does. Each accepted message is journaled (pic_queued, journal version 8) before it is acknowledged. Steering becomes a user entry after the turn's tool results, before the next model call (and after a compaction); follow-ups become the next request when the answer is recorded, in the same transaction. Messages belong to the request that accepted them; on a failure or an abort they are marked returned and listed in a queue_returned event, never run later. pic check verifies each delivered entry against its queued row. Bash commands get /dev/null on stdin, as in Pi. check-in: af92ae84b2 user: dmestas tags: steering | |
| 01:39 |
Land stage 4: any model
A model registry, a provider-neutral journal, and adapters for the Messages API, Chat Completions (OpenAI, OpenRouter and compatible servers) and OpenAI Responses, with conversations moving between them. check-in: aca81cd9e3 user: dmestas tags: trunk | |
| 00:38 |
Journal every reply in two forms and convert across models
Assistant entries keep the provider content verbatim with its origin (provider, api, model) and Pi neutral form; tool calls come from the neutral form, the same for every provider. A turn goes back verbatim to the model that wrote it and is otherwise rebuilt from the neutral form, without thinking and with tool-call ids normalised identically in calls and results. --model resolves through the registry, keys come from the model, and schema 3 journals migrate in place on open. check-in: 3ff8346a3f user: dmestas tags: stage-4 | |
|
2026-11-18
| ||
| 21:20 | Land stages 2 and 3: real provider, Pi tools, context and benchmarks check-in: 6a67cdb25a user: dmestas tags: trunk | |
| 19:37 |
Adopt Pi's default tools: read, write, edit and bash
Tools take Pi's inputs and return Pi's truncation notices and messages. Edit computes the new file first and journals it with started, so a replay after a crash writes the same bytes and edit joins read and write as replay-safe. Bash keeps the tail of its output, saves the full output when it has to cut, and reports Pi's status lines. Results carry a journaled error flag, cancelled calls are skipped with a result, and the schema moves to version 3. check-in: c5ab59d7d7 user: dmestas tags: stage-3 | |
| 17:12 |
Add the SSE framer and Messages API stream decoder
The framer is provider-neutral and pure over bytes. The decoder enforces event order and rebuilds each content block from its start object, so thinking signatures and unknown block types replay verbatim. Eleven recorded streams are decoded whole, bytewise and chunked against frozen summaries, and a libFuzzer target checks chunking independence and that decoded content is a JSON array. check-in: 1d1b0294ce user: dmestas tags: stage-2 | |