10 most recent check-ins occurring on or after 2026-11-19 22:44:19.
More ↑
|
2026-11-19
| ||
| 23:30 | CI green on 649919032a4e; Fil-C pass (210) check-in: 6b90e74bfe user: dmestas tags: trunk | |
| 23:29 |
A Google Gemini provider, as Pi's
The google-generative-ai API: streamGenerateContent over SSE with GEMINI_API_KEY, native parts replayed per conversation, tool calls and results, usage, and Pi's thinking mapping (thinkingLevel for Gemini 3 and later, a token budget for 2.5, 0 for off). A conversation can move between Gemini and the other providers turn by turn. Recorded streams cover text, thinking, tools, parallel calls, safety blocks, truncation and errors. check-in: 1011fc8472 user: dmestas tags: gemini | |
| 23:24 | Fil-C runs the cost test too check-in: 3e251306f6 user: dmestas tags: cost | |
| 23:24 |
Model prices and real costs, as Pi's
The catalog snapshot (regenerated from pi.dev) keeps each model's per-Mtok prices and tiers, as do the pi.dev overlay and models.json. Each reply is priced as Pi's calculateCost does: tiers, 1-hour cache writes, per-API usage normalisation, OpenRouter's billed total. The cost and Pi's normalised token counts are stored with the generation and appear in usage events, the Pi export, pic models --json and, per conversation, pic sessions --json. check-in: fe63b75bbd user: dmestas tags: cost | |
| 23:12 |
TUI: a syntax highlighter for code blocks
src/tui/highlight.c colours fenced code with ANSI SGR using Pi's token classes and its dark and light theme colours: C and C++, shell, Python, JavaScript and TypeScript, JSON, Go, Rust, diff, Markdown, YAML and SQL, with a generic fallback. Linear, safe on arbitrary bytes (a random input test under ASan), every styled span closed before each newline so lines wrap on their own. Not wired into the renderer yet. check-in: f84ad487f5 user: dmestas tags: highlight | |
| 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:47 | Merge trunk (README platforms) into TUI round 2 check-in: 9d420ea9a1 user: dmestas tags: tui-parity-2 | |
| 22:44 |
TUI: closer to Pi, round 2
!cmd runs a command and adds its output to the next message; !!cmd runs it without. Editor: a kill ring (Ctrl+K, Ctrl+U, Ctrl+W, Alt+D into it; Ctrl+Y, Alt+Y out), undo (Ctrl+-), Ctrl+] to jump to a character, Ctrl+G to edit in $VISUAL or $EDITOR, Ctrl+Z to suspend. Markdown: tables, ordered and nested lists, quotes, italics, strikethrough, links (OSC 8 where the terminal draws them), code-fence labels; user messages on a background. Alt+Up restores queued messages. Startup shows Pi's key hints and the loaded context files, skills and prompt templates, and sets the terminal title. Double Esc opens /tree, Shift+Ctrl+P cycles models backwards, Ctrl+X copies the last reply. check-in: e6887db767 user: dmestas tags: tui-parity-2 | |