Skip to content
pi-c Artifact [e7ffbeebe8]
Login

Artifact [e7ffbeebe8]

Artifact e7ffbeebe83e7e629032c1cc7caeb57e336ca2685008296a9c250ad6b3a0ddfc:


# 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-24

- Loops keep running with the terminal closed while `pic remote` runs. On a paired phone the list shows how many loops a conversation has, and the conversation shows each with when it runs next and what it has spent, with Pause or Resume and Stop; a loop that needs you is a notification.
- Loops: `/loop 5m check the deploy` sends a prompt now and every 5 minutes (any of `90s`, `1h`, `1d`; every 10 minutes when not given) for up to 7 days, while pic is open in the workspace. Each run is a request of its own that waits behind a running one, and runs missed while no pic was open fire once when one opens. Esc during a loop's run pauses the loop; `/stop` pauses them all; `/loop` lists them (`p` pause, `r` resume, `s` stop); the footer shows the next one and what loops have spent. From a shell: `pic loop`, `pic usage --by-wake`, and `pic ps` lists them.
- The model picker (`/model`) opens in the settings panel's place: a box over the conversation in fullscreen, above the footer otherwise. It opens while a reply streams without stopping it, and a model you choose then is used from your next message, as it says. With nothing typed it suggests a short list instead of every model: the one in use, your default and the models you used lately, then the newest model of each family for each provider whose key works (only well-known flagships from OpenRouter), ending with "type to search all"; typing searches every model. Rows are in aligned columns (id, name, price, and default, no key or key refused) with the model in use ticked, and the hint wraps instead of being cut off. `/model NAME` switches at once when one model clearly matches and opens the picker on the matches otherwise, and when nothing matches it says so instead of closing. Hints now say `/model` where they said Alt+P.
- The `grep` and `find` tools, and the file lists behind `@` completion and file pickers, now include files that `.gitignore` and the other ignore files list, since those only keep files out of commits; `.git` and the other version-control folders stay out. To hide files from the agent, list them in a `.picignore` (gitignore syntax, nested files cover their own folder).
- A hook can now be marked `"required": true` so it fails closed, for a secrets guard such as `ctx guard`: if a required PostToolUse hook times out, fails, prints something that is not JSON or is cut off by a crash, the model sees "[output withheld: …]" instead of the tool's output, and a required PreToolUse hook that fails stops the call. PostToolUse hooks now also run on the output of commands you run yourself with `!` or `pic bash`, before anything is recorded or sent. A redacted or withheld output no longer leaves the original behind in the whole-output copy `read` could fetch or in `~/.pic/pic.sqlite`.
- A key that has hit Anthropic's usage limit is shown as limited until the day Anthropic names, and an OpenAI key with no credits left as out of credit; neither is retried, and the swap prompt, footer warning and `pic auth status` say so. The swap prompt offers the key that last answered a request, never one whose last request failed, and `pic auth status` keeps both facts when a check says a failed key is valid. New setting `offline` (`pic settings offline true`) stops the model catalog fetch and every key check.
- `/auth` shows every key and sign-in in one list: what pic last learnt of each (credit left, refused, out of credit), which one your model uses, and the provider's reason when one is bad. Enter does what the row needs: use a healthy key, replace a refused one, sign in again, or add a key where the model's provider has none; `a` adds, `d` removes (after `y`), `c` checks every key now, `m` opens the models. `/key` is the same command, `/logout` with no provider opens it, and `/login` with none is its add step. Alt+K no longer opens anything by default.
- Reading the first messages of a connection from a phone is stricter about the space it was given.
- Scripts and agents can do everything `/login` and `/key` do without a terminal, with JSON out and safe to repeat (a second run says `"changed":false`; no answer shows a key): `pic auth login P --api-key --json`, `pic auth status --json` and `--check --json`, `pic auth use P L --json`, `pic auth logout P:L --json` and the new `pic models use MODEL [--key LABEL]`. Over RPC, the new `add_credential` stores a key and `check_credentials` runs the free checks; `set_credential` takes `persist`, `set_model` takes `credential`, `logout` takes `label`, and `get_credentials` adds the currency of what is left.
- Each conversation keeps the model, key and thinking level it ran with. Going on with one (`pic -p -c`, `--session`, `pic ask --session`, `pic tui -c`, `/resume`, or RPC's `--session` and `switch_session`) uses its own, not your saved default, and says so; a fork keeps its parent's. If that model or key cannot be used now, pic says which one and why in one line, with the way on (`--model`, `--key`, `/model`), instead of quietly running another model. `pic sessions --json` shows each conversation's `model`, `credential` and `thinking`.
- The `.pic` folder in a workspace now keeps itself out of git (it holds its own `.gitignore`, written the next time pic opens the workspace's journal), and the journal and its files are readable only by you. In a zit checkout pic adds `.pic/` to the project's `.zitignore`, and in a fossil checkout `.pic/*` to `.fossil-settings/ignore-glob`, once and with a line saying so; `pic doctor` reports for git, zit and fossil whether `.pic/` is covered.
- You can delete conversations, and get them back. In `/resume`, `d` (or Delete or Backspace) deletes the selected one, Space marks several to delete at once, and `u` undoes it; `/delete`, `/restore` and `/trash` do the same by command, and `pic sessions delete`, `restore`, `trash` and `empty-trash` on the command line. A phone deletes one with a swipe or its … menu, with Undo. Deleted conversations are gone for good after 30 days, or at once with `pic sessions empty-trash`; one that is running cannot be deleted until it stops.
- With the mouse on in fullscreen, the wheel moves the settings panel's selection and a click selects a setting; a click outside the panel does nothing and keeps the text you had selected behind it.
- A newer pic no longer fails to update a workspace that an older `pic remote` or a terminal pic's conversation follower has open: they let go of it, and `pic remote` serves the workspace again once it is updated. When something else holds it, the error names each process (its pid, what it is, since when) and the command that ends it, instead of saying to wait. New `pic doctor` fixes it in one step: it stops the older pics in the way and updates the journal, and says what it did. On a phone, a workspace an older pic last used has Fix it, which runs `pic doctor` on the computer. A journal from a newer pic now says "written by a newer pic; update pic" everywhere instead of "unsupported schema version".
- In fullscreen the settings panel floats as a box over the conversation, which keeps streaming around it; a small window or regular mode keeps it above the footer. Fullscreen rows are now written over and then cleared, so a terminal without synchronized output no longer flashes a blank row as the screen changes.
- `/settings` (or `/config`) opens a new settings panel that works at any time, even while a reply streams or a tool runs, without stopping it; what was behind it (half a message, an open picker) is there again when it closes. Settings are grouped with a description, their choices, the default and when a change applies; type to filter, Left and Right to change, Ctrl+R for the default. Numbers and text are typed into a field that will not save a value pic does not take, and a change made with `pic settings` or from a phone shows within a second.

## 2026-11-23

- Remote control keeps up with new installs: a running `pic remote` restarts itself as the newly installed pic once it is idle, and `pic remote status` and `/rc` say when the one running is older, with `pic remote restart` (or `r` in `/rc`) to restart it. The phone no longer lists workspaces whose folder is gone or tests' temporary folders, tells two workspaces of the same name apart by their parent folder, and says "open pic in NAME once to update it" instead of a raw error for a workspace last used with an older pic. `pic --db ~/.pic/pic.sqlite` is now refused instead of turning the user database into a journal.
- `pic settings` and the RPC command `set_setting` now refuse a value a setting does not take (`pic settings tuiMode wide` says it is fullscreen or regular), and reach one field of `compaction` or `branchSummary` by its dotted name (`pic settings compaction.reserveTokens 20000`). The new RPC command `get_settings` lists every setting with its group, allowed values, default, description, when a change applies and its value.
- `/rc` is two lines now: whether remote control is on, and this conversation's link, which is already on your clipboard when the panel opens (it says so). Copying uses the system clipboard on this computer, so it works in Terminal.app, and asks the terminal (OSC 52) only over ssh; `/rc` says "copied" only when it was. The link is drawn as one unbroken line, so a triple-click in your terminal selects all of it even in a narrow window. The QR code, the paired phones (unpair, reset, whether it starts at login) and pairing moved behind `q`, `d` and `p`, or `/rc qr`, `/rc devices`, `/rc pair`; `/rc off` turns it off; any other key goes back to the conversation.
- Benchmarks can now tell whether the work passed, not only what it cost: give a trusted workspace a verify command in `.pic/verify.json` (`{"command": "make test"}`) and pic runs it once as each request ends answered, keeps pass or fail with the request (a crash while it runs is recorded as unknown, never run twice), and `pic usage --by-trial` adds passed and failed per arm. `pic log` and the terminal show the verdict in one quiet line; without a verify command nothing changes.
- Conversations can message each other: with the `send_message` tool, on by default (`pic settings grapevine.sendMessage false` or `--tools -send_message` turns it off), one conversation hands a finding or a task to another of yours, by id or name, in the same workspace or another (`pic sessions --all` lists them all). The message arrives framed as coming from that conversation, not from you, and runs after the request running there, or waits until one runs; `pic settings grapevine.wake true` lets it start one. `grapevine.maxHops` stops two conversations answering each other forever, `grapevine.maxWakes` limits how often messages start requests until you prompt there again, and `UserPromptSubmit` hooks see who sent a message in `origin`.
- The terminal can join a conversation another pic is running, from another window, an editor or a phone: `/resume` marks it `● running in another pic`, and opening it shows the request running, its reply as it streams and its tool calls, with "Running in another pic… (type to steer, esc to stop)" under it; a line you type steers it and Esc stops it. If that pic dies mid-request the terminal says so and Enter resumes the request there. `pic attach` streams the reply's text too, says when a request's pic died (`interrupted`), and `pic send prompt` (or Pi's `prompt` on `pic attach -i`) sends a prompt: a steer or follow-up while a request runs, as in Pi, or the next request when it waits.
- The terminal shows a new conversation's title as soon as you send its first prompt, in the footer and at the right of the prompt box's top border (as Claude Code shows a session's name), and `/name` changes it there at once. A phone's notification is titled with the conversation's title, so the lock screen says which conversation finished.
- From a paired phone you can now choose the model and thinking level for the next request, rename a conversation, compact it, see how full its context is with the tokens and cost so far, and scroll back through its whole history. pic's footer says when a phone has the conversation open ("remote on · iPhone watching"), and a phone's request now records the model it ran on, so the conversation keeps it.
- You can save a model server's address, such as a local proxy, without overriding anything: `pic endpoints add NAME URL` (with `--key` if it needs one), or "Add an endpoint" in `/model`. pic fetches the models it lists and shows them in the model picker, `pic models` and RPC as `NAME/MODEL`, marked "from NAME". `pic endpoints refresh` fetches the list again (a failed fetch keeps the old one and says why), and `pic endpoints remove NAME` forgets it and its key. Your providers, keys and default model stay as they were.
- In macOS Terminal, pic now leaves the mouse to the terminal by default, so Cmd-C copies what you select instead of beeping (Terminal never passes Cmd-C to pic); `/mouse on` gives pic the wheel and drag-to-copy, and the `mouse` setting is now auto, on or off. `pic help tui` explains copying in Ghostty, iTerm2 and Terminal.
- Pairing no longer needs you at the computer: a paired phone has Add a device, which shows a QR code, a link and a code to type for the new device, and you approve its six digits on that phone. A phone can also list the paired devices and unpair one or all of them, `pic remote unpair --all` does the same at the computer, and `remote.phonePairing off` keeps pairing to the computer. Pairing at the computer is shorter too: an iPhone pairs in Safari with no Home Screen step first, and `pic remote pair` takes `y` as a single key.
- Conversations have titles: a conversation's name, or until you name it, the first line of its first prompt. The phone's list shows each one's title, project, last activity, the first line of its last message and whether it is running or needs attention, newest first, with a search box; the phone's conversation header, the terminal's `/resume` picker and footer, and `pic sessions` show the same title, so a conversation is called the same everywhere.
- A `!command` typed while a reply is still running, or right as it ends, now waits in the queue (shown as a follow-up) and runs the moment the reply is done, instead of being refused and handed back to the editor.
- You can send photos from your phone: the remote control page has an attach button (photo library or camera), takes pasted and dropped images on a computer, shows thumbnails you can remove before sending, and shrinks each image to the size models work at. pic keeps them as it keeps pasted images, and images in a conversation, from the phone or pasted at the terminal, show on the phone as thumbnails you can tap to enlarge. `pic attach` now includes a message's images, as Pi does.
- Remote control fixes from a trial run: a prompt you stop before its reply is no longer answered later in place of your next one (the model now sees it marked "[Request interrupted by user]"); the terminal draws a request from your phone in order, its tool calls before the reply, and marks your phone's messages "from NAME:" when you open the conversation again; "last seen" for a connected phone is now, not when it connected; and `pic remote reset` tells a connected phone it was unpaired instead of leaving it saying its pairing was not found.
- Over ssh a click on a link now copies it and lets your next Cmd-click (Ctrl-click on Linux) open it on your own computer, instead of only saying how; a click on a file link copies its path and says the file is on the remote machine.
- RPC mode answers everything the terminal interface asks pic: settings (`get_setting`, `set_setting`), folder trust, the Ctrl+P model scope, the manual and changelog, the providers pic knows, the instruction files in use, a folder's files without ignored ones, compaction settings, bug reports and process records, so another client can do what the built-in one does.
- `pic remote install` starts `pic remote` whenever you log in (a LaunchAgent on macOS, a systemd user unit on Linux, a crontab line elsewhere), so a phone reaches the computer again after a restart with nothing typed; `pic remote uninstall` undoes it, and `pic remote status` and `/rc` say whether it is set up. The phone link `/rc` shows is much shorter (it no longer carries a file path), so its QR code fits a normal window. `pic remote reset` stops a running `pic remote` first, `pic remote pair` no longer says to run `pic remote` when it is already running, and `pic attach -i` no longer calls itself read-only.
- The mouse in fullscreen works with your terminal instead of against it. A click on a link opens it (over ssh pic says to Shift+Cmd-click instead); a right click hands the mouse to the terminal, so its menu, its own selection and Cmd-click work, until you press a key; `/mouse` or Alt+M turns capture off for the session and `pic settings mouse off` keeps it off. With the mouse off the wheel no longer walks through your prompt history. Copying uses wl-copy or xclip on Linux and works inside tmux, `TERM=dumb` draws inline, and Ctrl+Z and exit put the terminal's modes back (`reset` fixes a terminal left behind by `kill -9`).
- pic starts a new conversation on the model you last chose: a pick in the model picker, `/model NAME` or Ctrl+P is saved, so the next conversation, `pic ask` and `pic -p` start on it and the first line says "your last choice". `--model`, a phone and RPC `set_model` (unless it asks to `persist`) save nothing, Ctrl+S in the picker says it is already saved, and `rememberModel` false keeps a fixed default as before.
- In fullscreen, scrolling up shows a small ↓ button at the bottom right of the transcript instead of the "Jump to latest message" text: click it, or just type or press Enter, to get back to the latest message. On a Mac, which has no End key, Ctrl+Shift+Down does it too (Ctrl+Shift+Up goes to the top).
- pic stops asking for a passphrase: a new credential store keeps its key in your login Keychain (or keyring), or in `~/.pic/master.key` when there is none, so a copied database or backup still reveals nothing; `pic auth rekey keychain|file|passphrase` moves an existing store's key (and pic offers it once after you type a passphrase), and `--passphrase-fd` or `PIC_PASSPHRASE_COMMAND` give a passphrase without a terminal.
- Links are clickable in more terminals: pic now draws them everywhere except where the terminal is known not to (and inside tmux from 3.4), web addresses and file paths in replies and tool output become links too, a link to a file opens the file, a long address pic wraps stays one link, and in fullscreen a click on a link opens it. The `hyperlinks` setting turns them on or off.
- `/rc` works like Claude Code's `/remote-control`: with a phone paired it turns remote control on in one step and shows this conversation's link and a QR code of it for the phone (`c` copies the link), with no phone paired it goes straight to pairing, and the footer says `remote on` while it is connected. The ssh instructions moved to `/rc ssh` and `pic rc --ssh`, as text; `pic rc` prints the phone's link. `/rc` no longer says "connecting" for up to 15 seconds after it has connected, nor tells you to run `pic remote` after pairing when it is already running.
- With only an Anthropic key and no saved default, pic starts on Claude Sonnet 5.5 instead of Opus 5.5, which costs less; Alt+P and Ctrl+S pick and save another.
- Choosing a model is clearer. With no saved default, pic starts on a provider whose key worked and skips one that was refused, starts OpenRouter on the inexpensive DeepSeek V4.1 Flash instead of Kimi K2.7 Code, and says why on the first screen (and on stderr for `ask` and `-p`): "model … (OPENROUTER_API_KEY is set; Alt+P to change)". With no key at all, the first screen says how to get one. The model picker shows each model's price, marks no key, a refused key or a ChatGPT plan, lists models without a key once you type, puts exact and prefix matches first, says plainly when it saved your default, and says when the thinking level changes. After a refused key, Alt+P picks another model and Enter sends the same message to it. `pic sessions` shows the model each conversation used and marks failed ones, `pic help start` begins with how to use pic, and `pic --version` prints the version.
- Stored keys work in more places: `pic attach -i` asks for the passphrase once on its own terminal and starts requests with it; with no terminal at all a request now fails at once with one line saying how to use the environment variable instead (and saves nothing); RPC mode never prompts on the terminal behind the editor but sends `credential_locked` and takes an `unlock` command; and `pic auth reset` is the way out of a forgotten passphrase, keeping settings, sessions and trust. Stop during a retry wait now stops the retries, network errors no longer come out garbled ("read the reply: read the reply: rrupted"), and a sign-in whose early refresh hits a network blip keeps using its still-valid token.
- A phone paired through the relay shows the reply as it streams, and can get a notification on its lock screen when a request ends: the conversation's name and the reply's first line. Each phone chooses all requests or only its own, `remote.notify` (all, remote, off) limits it on the computer, and nothing is sent while the page is open on the phone.
- Requests work again on macOS 26: every provider failed with "the name lookup … gave no answer", because the lookup ran in a forked child that macOS now aborts; it runs in a thread instead.
- Nothing user-facing yet: pic can now encrypt and send a Web Push notification to a phone (VAPID and RFC 8291), for `pic remote` to use.
- Rewind now tidies up after itself: when it deletes a file a write created, it also removes the folders that write made if they are empty (never one that was there before, or one that holds anything else), and `pic prune` drops the saved file contents that no rewind or undo can reach any more.
- A terminal interface that is killed no longer leaves a `pic attach` behind: `pic attach` without `-i` now exits when the pipe or socket on its standard input closes, which also ends it when an ssh client disconnects.
- Remote control speaks the relay's final protocol: the phone's page names each workspace and lists one workspace's conversations, drops nothing it should keep after a reconnect (each sync's key comes back on every event), marks messages typed at the terminal as such, and a connection is taken for dead after 45 seconds of silence instead of 35.
- Remote control pairing is harder to interfere with: a phone that reconnects mid-pairing still pairs, a second phone scanning the same code cannot take the pairing over, a key pressed before `Pair "NAME"? [y/N]` is not taken as its answer, and the phone's name is shown quoted with control and bidi characters replaced; a phone that does not start a new session when asked is disconnected.

## 2026-11-22

- Hooks can rewrite a call and its result, as in Claude Code: a PreToolUse allow carrying `hookSpecificOutput.updatedInput` runs and journals the rewritten call, and a PostToolUse answer carrying `updatedToolOutput` replaces the result the model sees, so a gate can wrap a command and a redaction hook can withhold a secret.
- Pair a phone with `/rc` or `pic remote pair` and drive pic from it through a relay with `pic remote`: list your conversations, follow one, send a prompt, steer, follow up and stop. Everything is end-to-end encrypted; the relay at remote.zeitforge.app is by invitation. See `pic help remote-control`. The ssh QR code of `/rc` and `pic rc` now holds the Mac's Tailscale address, for a phone that does not use Tailscale's DNS. `/rc` turns remote control on, keeping it running after pic exits, and shows whether it is connected; `pic remote status` and `pic remote stop` do the same in a shell. The Mac and the phone drive a conversation at once, the phone's messages marked with its name; the phone can start a new conversation in any workspace; and `pic remote` reconnects on its own after sleep, a lost network or a relay restart, losing and repeating nothing.
- Check a key without spending anything: `pic auth status --check` asks every provider about every key at once and shows what comes back (`$4.12 left` for OpenRouter, a balance for DeepSeek, `valid, checked 2 min ago` for the rest, or that the key is refused). The terminal interface checks the key in use when it starts and the others when you open `/key`, in the background and at most once in ten minutes, never in print, JSON or RPC mode; see `pic help named-keys`.
- Nothing user-facing: pic now builds without warnings with gcc on Linux (glibc), as it already did with clang on macOS.
- `pic usage --by-tool [--json]` shows where a run's tool calls go: for each tool, its calls, its failures, and the tokens and cost of the requests that called it, next to `--by-trial`.
- SessionEnd hooks now run when pic is stopped (SIGTERM, or the terminal closing) after SessionStart has fired but before the first prompt is sent; before, a hook that set something up at SessionStart was never told the conversation ended.
- `--key` and the `set_credential` RPC command now say so when pic cannot keep the choice (more than 16 providers with a chosen key in one process) instead of reporting success and ignoring it.
- Nothing user-facing: each provider's wire format (Anthropic, OpenAI Chat and Responses, Gemini) is now a separate adapter that plugs into pic's core, so a new provider can be added without touching the core; requests, replies, prompt caching and costs are unchanged. Conversation exports made with `--script` now say `"api":"script"`.
- Keep several keys per provider and see which ones work: `pic auth login PROVIDER --api-key --as NAME` adds a named key, `pic auth use PROVIDER NAME` (or `/key`, Alt+K) picks the one in use, `--key NAME` picks one for a single run, and `pic auth import VAR` seals a variable's value once. pic now tells a dead key, an out-of-credit one and a rate limit apart in plain words, never retries them blindly, remembers each key's last state for `pic auth status` and the footer, and in the terminal interface stops with a prompt to switch key (showing the re-send cost), switch model, wait out a limit or log in again; it never switches keys on its own. See `pic help named-keys`.
- Nothing user-facing: the RPC server now hands model listing, prompt templates and skills to components through a command registry; every RPC command answers as before.
- Watch and steer a running conversation from another terminal, a script or a phone over ssh: `pic attach` follows it as it is saved (`--format text` for reading, `-i` to type into it: a steer while it runs, a new request when it is idle), and `pic send steer|follow_up|abort TEXT` messages it. Messages go through the journal, are delivered exactly once by the pic running the request, and expire if nothing runs; nothing listens on a port. `/remote-control` (or `/rc`, and `pic rc` in a shell) shows the ssh command and a QR code to scan from a phone, and whether Remote Login and Tailscale are on. See `pic help remote-control`.
- `make test-docs` now fails when a page under docs/ is not linked from docs/README.md, or when a provider or `pic` command is documented nowhere; the README and the manual now name Google Gemini and subscription sign-in, and the README says plainly that only hooks.json, keybindings.json and skills/ are files you write.
- A key or sign-in stored with `/login` or `pic auth login` now takes precedence over the provider's environment variable (such as an out-of-credit `ANTHROPIC_API_KEY` left in your shell), as in Pi; `pic auth status` and the `/login` list say which one is in use and when it hides a variable.
- Updated the bundled libfossil: global autosync and dont-push settings are now honored, a pull before commit, update or merge no longer pushes when autosync is not set, and a missing ssh command gets a hint (exit 127).
- The terminal interface no longer sometimes hangs or crashes instead of exiting when it is sent SIGTERM, SIGHUP or SIGQUIT as a reply finishes; with hooks, SessionEnd still runs. A crash no longer runs SessionEnd.
- Sign in with your ChatGPT subscription instead of an OpenAI API key: `pic auth login openai` (or `/login` in the terminal interface, which now lists every provider with what it uses, takes keys and the passphrase in masked fields, runs the sign-in in place with Esc to cancel, and also opens on your first message when no key is set) opens the browser, and the sign-in is stored sealed like a key and refreshed on its own; OpenRouter can sign in the same way. `pic auth status` and `pic auth logout` show and remove what is stored, and `--no-browser` lets you paste the address back when the browser is on another machine.
- `pic import --claude` now keeps the token counts Claude Code logged for each reply, so a resumed conversation's first trim after the cache expires uses real token counts instead of the four-characters-a-token estimate; they are not counted as spend in `pic usage`.
- A conversation trimmed after the prompt cache expired now keeps about 20000 tokens as the provider counts them, not by pic's four-characters-a-token estimate (which undercounts code, so trims kept up to half as much again), and only the first request after you send a message can trigger one: a slow tool call in the middle of a reply no longer trims the conversation again.
- New `/rewind` (also Esc twice on an empty editor, `pic rewind` and the RPC command `rewind`): go back to before an earlier message and restore the conversation, the files pic's write and edit tools changed after it, or both. Files changed since by you, a command or another conversation are never overwritten without asking, a rewind of files can be undone, and changes made by bash are not tracked. Set `doubleEscapeAction` to `tree` for Pi's Esc Esc.
- Running pic with a relative `--workspace` (such as `--workspace ws`) no longer overruns memory when a tool writes or edits a file.
- The skill list in the system prompt now has a budget, 1% of the model's context window at 4 characters a token (set `skillBudget` to change it, 0 for none): over it, descriptions past 1,536 characters are cut and the least used skills are listed by name only, with a warning at startup and on `/reload` (on stderr in print and JSON modes); no skill is dropped, and one is ranked by how recently and how often you load it with `/skill:NAME` or a read of its `SKILL.md`.
- The terminal interface asks the terminal for its background colour and picks the light theme in a light Ghostty or iTerm2 window (also over SSH, where `COLORFGBG` never arrives); when a reply is ready and you are in another window it rings the bell and asks for a desktop notification (`notifyWhenDone` turns that off); and terminal answers no longer leak into the editor as typed text or an Esc that cancels the request.
- Nothing user-facing yet: the design for letting one pic send steer, follow-up and abort messages to another running pic (docs/design/grapevine.md) is accepted.
- A conversation you come back to after the prompt cache has expired is now compacted without a summary request: pic keeps the newest 20000 tokens or so, drops the rest and lists the files it had read and changed, so the compaction itself is free; a SessionStart hook (such as ctx's brief) runs after it with source `compact`. Set `lapseMode` to `summary` for the previous behaviour; `pic usage --lapse` reports each mode separately.
- pic takes Pi's session flags: `-r`/`--resume` opens the conversation picker in the terminal, `--session-id ID` joins or creates the conversation with that ID, `--no-session` runs against a journal thrown away at exit, and `--mode json` and `--mode text` work as in Pi. The system prompt now tells the model it can run `pic help` to read pic's documentation.

## 2026-11-21

- Nothing user-facing: pic and the dev build are now compiled from the same generated single-file source as the source bundle (a clean build is about a third faster, a one-file rebuild a few seconds slower), and dev compiler errors and sanitizer traces still name the original src/FILE.c lines.
- 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.
- Lapse compaction is on by default: a conversation above 100000 tokens that has sat idle past the prompt cache's lifetime is compacted before its next request, since the cache is cold anyway (in a replay of 28 real sessions this cost 38% less). One such lapse in ten is left uncompacted at random so `pic usage --lapse` can show what compaction actually saved; `lapseHoldout` sets the share.
- Nothing user-facing: every source file now has a recorded tier (core, bundled, client, data), and the docs test fails when core reaches for a component or a vendor name.
- 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.