Artifact 72d21bdb5ffc1608b5a2309aa0ac84ac715b79e2f5be880e3c9e1137842a2bbc:
- File
CHANGELOG.md
— part of check-in
[9dabe49948]
at
2026-11-21 19:00:33
on branch amalgam
— Amalgamation: pic as one pic.c beside the vendored sources, built by one cc line
make amalgamation writes pic-amalgamation-VERSION/ and its tarball; make test-amal builds it from the README's own line and runs crash, print and tools against that binary, and is part of make test-pic. About 60 file-local names that collided in one translation unit take their file's prefix; test/pic/amalgam.sh fails on a new collision. (user: dmestas, size: 4405) [annotate] [blame] [check-ins using]
# Changelog What changed in pic, newest first, one section per day (UTC). Add an entry here with each landing; `/changelog` shows this file. ## 2026-11-21 - pic now also ships as a source bundle: `make amalgamation` writes `pic-amalgamation-VERSION.tar.gz`, with pic's code as one `pic.c` beside the vendored SQLite, libfossil, zlib and BearSSL sources, built with a single `cc` line. - A long CHANGELOG no longer stops pic from building (/changelog's text is compiled in chunks), and the parallel tools test no longer fails on a busy machine. - The slash menu scrolls and counts "(selected/total)" as Pi's does; /resume shows forks under their parent conversation; an edit's diff in the transcript carries line numbers. - `pic -p` now honours `-c`/`--continue` (the latest conversation) and `--session ID`, as Pi's print mode does; an unknown ID is an error instead of a new conversation. - `pic help` lists the topics of pic's manual and reference, and `pic help TOPIC` prints one; `/help TOPIC` shows it in the terminal interface. The manual is compiled in, so it matches the binary you run. - `pic --help` is a short synopsis; `pic help cli` lists every command and flag. - Several pics can work in one project at once, each in its own conversation: ask a side question or read the live conversation while another pic runs. An edit or write that meets another conversation's change is told so, with the file's current text. ## 2026-11-20 - `/fork` with no argument opens a picker of your earlier messages, as Pi's does; `/reload` also re-reads skills; `/changelog` shows this file. - `pic --help` lays out the keys and settings more clearly. - `pic login`, `pic logout`, `pic keys`, `/login` and `/logout`: API keys are stored sealed under a passphrase. - `pic --mode rpc`: Pi's JSONL RPC protocol with all 36 of its commands. - Pi's themes (dark, light, custom JSON) and `keybindings.json` with Pi's actions; Mac-friendly defaults where Pi's keys are awkward. - Compaction settings as Pi has them, and `/tree` can summarize the branch you leave. - `pic export` keeps a branch summary with the conversation it starts. - `--system-prompt`, `--append-system-prompt` and the tool flags apply to the terminal interface too. - Ctrl+V pastes clipboard files, images and text in Pi's order. - `pic import --claude` turns a Claude Code transcript into a conversation, attachments included; `--count` counts its first request. - Print mode (`-p`), Pi's `grep`, `find` and `ls` tools, and tool selection (`--tools`, `--no-tools`, and the rest). - `pic ps` lists the processes pic started, with `--kill`. - Hooks (`hooks.json`, Claude Code compatible): SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PreCompact, Stop, SessionEnd. - The terminal interface tells your messages from the AI's, as Pi does. - Fullscreen mode is the default: scrollable transcript, mouse wheel, selection and copy; `--tui-mode regular` keeps the inline one. - Projects and settings live in `~/.pic/pic.sqlite`; SessionEnd hooks survive SIGTERM. - Skills and `@file` completion honour `.gitignore`, `.ignore`, `.fdignore`, `.zitignore` and Fossil ignore settings. - Code blocks in replies are syntax-highlighted; `@file` completion in the editor. - Steering keys, live tool output, a retry countdown and durable `!command`. - Tests run in parallel (about 6 minutes down to 90 seconds). ## 2026-11-19 - Prompt caching on every provider; model prices and real costs; Google Gemini; images (`[image #N]`). - Durable steering and follow-ups; skills; prompt templates. - The rest of Pi's slash commands, a model picker, and Pi's model catalog. - Thinking levels for every API. - A terminal interface: plain `pic` in a terminal. - Live events (Pi's JSON-mode events), Ctrl-C cancels the request, not pic. - Conversations are also written as Pi session files and as rows for ctx. - Compaction of long conversations with Pi's algorithm, for any model. - Follow-up conversations, forks (`pic fork ID --at ENTRY`) and in-place instruction updates. - Builds with gcc as well as clang; BSD 2-Clause license and README. ## 2026-11-18 - Providers beyond Anthropic (OpenAI Chat Completions and Responses, OpenRouter and compatibles), a model registry with `provider/model` names, and `models.json`. - A durable agent loop: every request and reply is journaled; Pi's tools (read, write, edit, bash); context handling and benchmarks.