Artifact 3cce60f001e7741a5942f34a717e969fb5659a4d9d332e1005721bef249ee9eb:
- File
CHANGELOG.md
— part of check-in
[eae917e9e9]
at
2026-11-21 12:03:36
on branch shared-store
— Shared journal store: several pic processes on one workspace, one conversation each
Each conversation has a lease (an exclusive flock beside the journal) that its process holds while it advances it and that the kernel drops when the process and its forked children are gone. Taking a lease claims the conversation's request and settles what a dead owner left; open recovers only conversations whose lease is free. The journal lock is held shared and taken exclusive only to create or migrate the schema. SQLite runs in normal locking mode with the fair busy handler; dev builds stop on a write begun under an open read.
pic run takes only requests nobody is running. A second pic asking into a conversation in use is refused with its owner's pid. An edit that misses in a file another conversation changed says so and shows the file; a write to such a file is refused once.
New test/pic/shared.sh: two-process crash matrix, kill -9 beside a live pic, claim and admission races, stale-file results. No schema change. (user: dmestas, size: 3377) [annotate] [blame] [check-ins using] [more...]
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
- 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
/forkwith no argument opens a picker of your earlier messages, as Pi's does;/reloadalso re-reads skills;/changelogshows this file.pic --helplays out the keys and settings more clearly.pic login,pic logout,pic keys,/loginand/logout: API keys are stored sealed under a passphrase.pic --mode rpc: Pi's JSONL RPC protocol with its 33 commands.- Pi's themes (dark, light, custom JSON) and
keybindings.jsonwith Pi's actions; Mac-friendly defaults where Pi's keys are awkward. - Compaction settings as Pi has them, and
/treecan summarize the branch you leave. pic exportkeeps a branch summary with the conversation it starts.--system-prompt,--append-system-promptand the tool flags apply to the terminal interface too.- Ctrl+V pastes clipboard files, images and text in Pi's order.
pic import --claudeturns a Claude Code transcript into a conversation, attachments included;--countcounts its first request.- Print mode (
-p), Pi'sgrep,findandlstools, and tool selection (--tools,--no-tools, and the rest). pic pslists 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 regularkeeps the inline one. - Projects and settings live in
~/.pic/pic.sqlite; SessionEnd hooks survive SIGTERM. - Skills and
@filecompletion honour.gitignore,.ignore,.fdignore,.zitignoreand Fossil ignore settings. - Code blocks in replies are syntax-highlighted;
@filecompletion 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
picin 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/modelnames, andmodels.json. - A durable agent loop: every request and reply is journaled; Pi's tools (read, write, edit, bash); context handling and benchmarks.