Skip to content
pi-c Timeline
Login

Timeline

50 descendants and 50 ancestors of a347c7d00f859a72

2026-11-23
19:02
Merge trunk into rc-pairing check-in: 11dceb912c user: dmestas tags: rc-pairing
19:01
Pair a device from a paired phone; unpair one or all from a phone or the computer

A paired phone asks pic remote for an offer (pair_offer), shows it to the new device, and approves the six digits that device shows (pair_approve); pic remote enrols it only on that approval, over the approving phone's own session. Phones can list devices and unpair one or every device; pic remote unpair --all does the same at the computer; remote.phonePairing off turns it off. /rc and pic remote pair share the offer code with pic remote, and pic remote pair takes y as one key. Protocol amendment with the security argument in docs/design/remote-protocol.md. check-in: fc9d35af55 user: dmestas tags: rc-pairing

18:59
pic remote carries images: a phone's prompt with images is checked and kept as pasted ones (pic submit --images), steers take them through the inbox, events name them by reference and the image message returns their bytes; pic attach shows a message's images; pic remote acknowledges what it reads so large messages do not stall at the relay check-in: 13798912d8 user: dmestas tags: rc-images
18:47
Remote control: fixes from the trial

A prompt cancelled before its reply goes to the model marked "[Request interrupted by user]" (PIC_USER_TEXT_SQL, in each provider's context), so it is not answered with the next prompt. The terminal flushes a followed request's finished tool blocks before its reply, and marks a phone's messages "from NAME:" when a conversation is opened again (pic log --json carries the origin pic attach already sends). A connected phone's seen_ms is written again every 30 s, and pic remote reset deletes the device rows first so a running pic remote tells each connected phone it was unpaired. The protocol note says how an agent_end at the cursor is applied. check-in: 887d4fdde9 user: dmestas tags: rc-bugs

18:37
Conversation titles everywhere, and a phone list that tells them apart

A conversation's title is its name, else the first line of its first prompt (PIC_TITLE_SQL, with pic_line in SQL). pic sessions, its --json, the terminal's /resume picker and footer use it. pic remote's sessions list carries optional title, preview (the first line of the last message along the path) and state (running, idle, attention). check-in: 254c07633a user: dmestas tags: rc-names

18:31
merge trunk (keel 124, ssh link clicks; CHANGELOG and tiers keep both) check-in: 0df8fa75b8 user: dmestas tags: grapevine-4
18:30
land mouse-ssh

via mac, quarry check-in: d02c43b702 user: dmestas tags: trunk

18:29
send_message is a default tool: grapevine.sendMessage false (or --tools -send_message) leaves it out; docs, the difference from Pi, tests check-in: 2245fb4f06 user: dmestas tags: grapevine-4
18:20
merge trunk closed check-in: 2a3eecf199 user: dmestas tags: mouse-ssh
18:17
Create new branch named "rc-controls" check-in: 1c08e5d5b5 user: dmestas tags: rc-controls
18:17
Create new branch named "rc-images" check-in: 4cf122245c user: dmestas tags: rc-images
18:17
land keel-wrap

via mac, quarry check-in: 3f1d41d5f3 user: dmestas tags: trunk

18:07
merge trunk closed check-in: 446a2e356f user: dmestas tags: keel-wrap
18:01
land tether-wrap

via mac, quarry check-in: 713b723c2f user: dmestas tags: trunk

17:52
merge trunk closed check-in: a35d6a563f user: dmestas tags: tether-wrap
17:30
merge trunk (CHANGELOG: keep both) check-in: 4565dc2b7e user: dmestas tags: grapevine-4
17:29
Over ssh a link click copies the link (OSC 52) and hands the next click to the user's terminal, which opens it where the user is; a file link click copies its path and says the file is remote check-in: 78bb34a75a user: dmestas tags: mouse-ssh
17:28
Grapevine stage 4: conversations message each other. The send_message tool (off by default; --tools +send_message) sends a framed prompt (followUp) to another conversation by id or name, in this workspace or another found through picu_workspace, keyed fx:JOURNAL_ID:EFFECT so a replay sends nothing new. Hops derived from the inbox rows behind a request, refused over grapevine.maxHops; grapevine.wake lets a message start pic run there, which admits the waiting prompt as inbox:KEY on the conversation's model, up to grapevine.maxWakes since a person's prompt; UserPromptSubmit input gains origin; pic sessions --all; journal_id in pic_meta; fault point inbox_wake. check-in: d25dc49607 user: dmestas tags: grapevine-4
17:25
Create new branch named "mouse-ssh" check-in: b0578413cb user: dmestas tags: mouse-ssh
17:24
land mouse

via mac, quarry check-in: e8a4f38677 user: dmestas tags: trunk

17:22
pic remote install and uninstall: a login agent behind the platform seam; a short phone link; live text and push in the soak and interop tests; reset stops a running pic remote check-in: 4b8f0b6888 user: dmestas tags: tether-wrap
17:15
mouse test: set TERM as a real terminal would; the CI runner has none, so links were never drawn and the click had nothing to open closed check-in: e4dc467f7d user: dmestas tags: mouse
17:11
Create new branch named "grapevine-4" check-in: 4e169f4d38 user: dmestas tags: grapevine-4
17:10
Keel complete: the design note and the architecture say what the model and client seams are, what remains (the client's local unlock, the frozen migration's name) and the nine stubs keel did not plan check-in: 758f7748e3 user: dmestas tags: keel-wrap
17:09
Grapevine stage 3: the terminal joins a conversation another pic runs. /resume marks it running in another pic; the follower shows the running request, its tool calls under way and its reply as it streams (pic attach tails the owner's .live file), a typed line steers it, and a dead owner is reported interrupted (agent_end) so Enter resumes it. prompt joins the inbox with Pi's busy rules; one sent idle runs after the next request, pic --mode rpc included; pic attach -i starts a request from Pi's prompt. pic sessions --json gains live. closed check-in: ee511df7eb user: dmestas tags: grapevine-3
17:08
Keel: the terminal interface asks commands. pic_tui_options.ask answers Pi's RPC commands in the interface's process with the same registry pic --mode rpc uses (pic_rpc_answer); help, templates and skills, providers, instruction files, @file listing, compaction settings, settings, trust, the model scope, bug reports, phones, hooks and process records are commands now, answered by their owners. Check 8 links core and the client alone and finds no component reached directly. image.h joins the client's short list. Allowance 12 to 2. check-in: 60526238ea user: dmestas tags: keel-wrap
17:05
mouse test: click every row above the footer, since a longer temp path pushes the link further down check-in: ee1844b5a1 user: dmestas tags: mouse
16:59
Run the checks again: the earlier run was frozen by a stopped process group on the runner check-in: e0011c9c68 user: dmestas tags: mouse
16:54
Keel: the model seam. Core owns the model type and Pi's thinking-level rules (model.c) and asks a registered model source what a name means and what a reply costs; models.c is that source, registered by the root. The wire API is a name, so no core header names a vendor. Allowance 14 to 12, stubs 16 to 9. check-in: c03ef62c2f user: dmestas tags: keel-wrap
16:36
Create new branch named "grapevine-3" check-in: ea2de4ae5f user: dmestas tags: grapevine-3
16:32
Create new branch named "tether-wrap" check-in: 4f2fb70cf6 user: dmestas tags: tether-wrap
16:20
merge trunk; put back the manual's Links section and the passphrase changelog line that the mac-keys merge dropped check-in: f2a6341c45 user: dmestas tags: mouse
16:14
land last-model

via mac, quarry check-in: d0112e6c70 user: dmestas tags: trunk

16:05
merge trunk closed check-in: c96e40da53 user: dmestas tags: last-model
16:04
land mac-keys

via mac, quarry check-in: 25ba1355af user: dmestas tags: trunk

15:55
land hook-fields

via mac, quarry check-in: e28300ea70 user: dmestas tags: trunk

15:39
Merge trunk into mouse: a link click goes through links' safety check and the platform opener, with the ssh hint; one docs place for link clicks check-in: 3cb691cc25 user: dmestas tags: mouse
15:38
Start new conversations on the model last chosen

A model picked in the terminal interface (picker, /model NAME, Ctrl+P) is saved as the default, so the next conversation, pic ask and pic -p start on it and the first line says "your last choice". --model, RPC set_model without persist and a phone save nothing; rememberModel false restores a fixed default. Ctrl+S in the picker says it is already saved. check-in: a49aa20f3e user: dmestas tags: last-model

15:36
merge trunk into hook-fields; loop_pending is the pending call's type name now closed check-in: 60d2ca1498 user: dmestas tags: hook-fields
15:33
Mac keys: a clickable jump-to-latest button, Ctrl+Shift+Down/Up, typing jumps; merge trunk closed check-in: 98cf60ce68 user: dmestas tags: mac-keys
15:26
Create new branch named "last-model" check-in: 50ac16cc6d user: dmestas tags: last-model
15:20
land links

via mac, quarry check-in: fdfc322623 user: dmestas tags: trunk

15:11
merge trunk closed check-in: a2790651ff user: dmestas tags: links
15:08
land rc-screen

via mac, quarry check-in: d78ab31571 user: dmestas tags: trunk

14:59
rc test: look for the QR code's block characters literally, so the C locale does not match other UTF-8 bytes closed check-in: 44e50941a0 user: dmestas tags: rc-screen
14:55
Mouse works with the terminal: a right click releases it until a key or focus-in, the mouse setting and /mouse (Alt+M) turn capture off with alternate scroll off and put back, a click opens a link through the platform's opener (a hint over ssh), copies reach wl-copy/xclip and tmux with OSC 52 capped, TERM=dumb draws inline, every exit path restores the modes check-in: 173e6814ea user: dmestas tags: mouse
14:41
Links are clickable: OSC 8 in any terminal not known to lack it (tmux from 3.4), file:// targets for paths, bare URLs and paths in replies and tool output, one id across a wrapped link, a click opens a link in fullscreen, and the hyperlinks setting check-in: de54c6b080 user: dmestas tags: links
14:34
/rc: one step to the phone, like Claude Code's /remote-control

With a phone paired, /rc turns remote control on and shows a short panel: whether it is on and connected, this conversation's link for the phone page (/#s=JOURNAL/SESSION, &c=PHONE when one phone is paired) and a QR code of it, and the paired phones; c copies the link, s turns it off or on, p pairs another. With no phone paired, /rc goes straight to pairing; Esc there returns to the conversation. remote.invite is named only when pairing fails without it.

ssh leaves the main screen: /rc ssh and pic rc --ssh show the ssh command and its checks as text, with no QR code. pic rc prints the phone's link and its QR code, pic rc --link the link alone.

The footer says "remote on" while pic remote is connected (checked every 10 s), as Claude Code shows "/rc active".

Fixes: pic remote marks its stream connected on the relay's 200 (http.c's new on_head callback) rather than on the first body byte, so /rc no longer says "connecting" for up to 15 s; after pairing /rc no longer tells you to run pic remote when it already runs.

Tests: test/tui/rc.sh (fake relay and phone: unpaired pairing screen, invite, paired link and QR, connected at once with a quiet relay, footer marker, s, pic rc, pic rc --ssh, /rc ssh); http's on_head; tui.sh, grapevine.sh and remote.sh updated for the new screens. check-in: da4167d308 user: dmestas tags: rc-screen

14:31
Mac keys: Ctrl+Shift+Down/Up, click, or typing jumps to the latest message; the hint names a key a Mac keyboard has check-in: 35e99b2160 user: dmestas tags: mac-keys
14:30
Create new branch named "mouse" check-in: a090389f77 user: dmestas tags: mouse
14:10
land keysource

via mac, quarry check-in: a347c7d00f user: dmestas tags: trunk

13:54
test_oauth: the secret_key seam's new shape closed check-in: eef8b68541 user: dmestas tags: keysource
13:49
Merge trunk into keysource: auth reset clears a kept key; a given passphrase makes a passphrase store check-in: 6ab80b50f0 user: dmestas tags: keysource
13:42
Key sources: the platform names its sources; cred.c names none of the host's check-in: 07c6b1441d user: dmestas tags: keysource
13:06
land sonnet-default

via mac, quarry check-in: 356d6dda20 user: dmestas tags: trunk

12:52
Anthropic's starting model with no saved default is claude-sonnet-5-5, not claude-opus-5-5 closed check-in: ed8ff769d9 user: dmestas tags: sonnet-default
12:50
land ux-models

via mac, quarry check-in: 40f5312a9d user: dmestas tags: trunk

12:12
ask and -p name the model only when pic chose it, not when --model named it (the no-terminal error stays one line) closed check-in: b6b196faf6 user: dmestas tags: ux-models
11:58
merge trunk check-in: 7b7c66e19e user: dmestas tags: ux-models
11:58
land ux-p0

via mac, quarry check-in: 71fa6e8fd7 user: dmestas tags: trunk

11:55
Merge trunk into keysource check-in: 4a4964673f user: dmestas tags: keysource
11:55
Keep the credential store's key in the Keychain or a key file, not behind a passphrase

A new store gets a random 32-byte master key kept in the login Keychain (macOS, /usr/bin/security run as a child with the command on stdin) or the keyring (secret-tool), else ~/.pic/master.key at 0600. The source is recorded in picu_credential_key.source; a passphrase store keeps working as before. pic auth rekey keychain|file|passphrase reseals every sealed row in one transaction, and a typed passphrase is followed once by the offer to stop asking. --passphrase-fd and PIC_PASSPHRASE_COMMAND (setting passphraseCommand) give a passphrase with no terminal. pic remote opens a keychain or file store with no prompt. Every OS service stays in platform.c behind secret_key, secret_keep and secret_drop. check-in: bcb82b941e user: dmestas tags: keysource

11:40
Model choice says why and recovers from a refused key

With no saved default, pic starts on a provider whose key worked and passes over one that was refused, out of credit or limited; OpenRouter, Moonshot and DeepSeek start on inexpensive general models. The first screen (and stderr for ask and -p) names the model and why; with no key it says how to get one. The picker shows prices and key marks, lists keyless models once typed, ranks exact and prefix matches first, says what it saved and when the thinking level changes. After a refused key, Alt+P picks another model and the message returns to the editor for it. pic sessions shows each conversation's model and marks failed ones; pic models --json carries key; pic --version; pic help start opens with the user path. check-in: c8bc1bfa6d user: dmestas tags: ux-models

11:34
Merge trunk into ux-p0 closed check-in: 851282b859 user: dmestas tags: ux-p0
11:33
Stored keys where no terminal can ask: attach -i hands the key to its requests, a locked store with no terminal fails at once with the ways out and journals nothing, RPC sends credential_locked and takes unlock instead of prompting, and pic auth reset forgets a store whose passphrase is lost. Fix the garbled TLS error text, retries that went on after Stop, and an early sign-in refresh that failed a request whose token was still valid. check-in: 4b2c1d57cf user: dmestas tags: ux-p0
11:19
land remote-3

via mac, quarry check-in: d67fc06fa7 user: dmestas tags: trunk

11:11
Remote control, landing 2 of stage 2: the reply streams to a paired phone as live values, and pic remote sends Web Push notifications when a request finishes, needs input or fails closed check-in: 88fc9a9267 user: dmestas tags: remote-3
10:59
land themes-wait

via mac, quarry check-in: 33964257ff user: dmestas tags: trunk

10:51
themes test: wait for the new theme file before /reload instead of a fixed half second, which a loaded machine overran closed check-in: 4e1f0aeab8 user: dmestas tags: themes-wait
10:42
land dns-thread

via mac, quarry check-in: 4e290c3aaa user: dmestas tags: trunk

10:33
merge trunk closed check-in: 6c00e5fbb1 user: dmestas tags: dns-thread
10:33
Name lookups run in a thread, not a forked child: macOS 26's resolver uses Objective-C, which aborts a child forked from a process with threads, so every request failed with 'the name lookup gave no answer' check-in: 1a5eeff62d user: dmestas tags: dns-thread
10:32
land webpush

via mac, quarry check-in: 90f58ba305 user: dmestas tags: trunk

10:23
merge trunk closed check-in: d9fc904577 user: dmestas tags: webpush
10:22
land rewind-fu

via mac, quarry check-in: db346dc9a6 user: dmestas tags: trunk

10:13
merge trunk closed check-in: 673d602118 user: dmestas tags: rewind-fu
10:10
Merge trunk into webpush; Web Push now uses noise.c's ES256, RFC 8291 body, key pairs, HMAC and base64url instead of its own copies check-in: 22d521f705 user: pi-c-agent tags: webpush
10:07
land tui-follower

via mac, quarry check-in: 90dcd0af99 user: dmestas tags: trunk

09:54
pic attach without -i exits when the pipe or socket on its stdin closes; the terminal interface's follower holds that pipe, so a killed interface no longer leaves it running closed check-in: 3f4f60fe7f user: dmestas tags: tui-follower
02:50
rewind test: say what a.txt and the journal looked like when the check-gap case fails check-in: c7e24b6b9f user: dmestas tags: rewind-fu
02:37
land remote-2

via mac, quarry check-in: fb90967de6 user: dmestas tags: trunk

02:27
remote-soak: build the server's stream list from the temp dir, which has no spaces closed check-in: ee6a201850 user: dmestas tags: remote-2
02:03
rewind follow-ups: prune unreferenced file bytes, crash point before the restore is journaled, remove folders rewound writes created check-in: b2e831f871 user: dmestas tags: rewind-fu
01:59
Web Push sender: VAPID token, RFC 8291 encryption, the request and its outcome, with the protocol's vectors and a fake push service check-in: 6a30575b65 user: pi-c-agent tags: webpush
01:51
Create new branch named "rewind-fu" check-in: 7d2f72654f user: dmestas tags: rewind-fu
01:49
Merge trunk into remote-2: free key checks, gcc -Wshadow typedef renames (the interface's /rc and follower children are app_child) check-in: e300a7fab6 user: dmestas tags: remote-2
01:47
Remote control: the protocol of the relay's canonical document: the sync's key on every event and mark of its follow, origin local on a person's message from the terminal, workspaces as id and workspace, sessions for one workspace, a 45 s idle timeout and the 60 s reconnect cap; the design document is the relay's check-in: 02a960d831 user: dmestas tags: remote-2
01:39
Remote control: pairing answers a repeated first message with the same second and ignores any other, decodes the channel into a temporary, caps a message at 4 MiB, flushes typeahead before the question and quotes a name cleaned of control and bidi characters; a session that ignores bye is dropped, counters stop at 2^32 and the device key is compared in constant time check-in: afe0ea2274 user: dmestas tags: remote-2
01:22
build: the interop test runs once in the suite, not also as a generic script check-in: e46e7603dc user: dmestas tags: remote-2
00:34
land keys-probes

via mac, quarry check-in: 3e7f61b1ac user: dmestas tags: trunk

00:30
Remote control: the suite's interop run gets node's real path from the Makefile, read before HOME is replaced check-in: 90b6632d1c user: dmestas tags: remote-2
00:25
Remote control: the suite's interop run finds the relay checkout from the real HOME through the recursive make; a release run of it skips check-in: de0dc05389 user: dmestas tags: remote-2
00:25
land small-fixes

via mac, quarry check-in: 79962f3067 user: dmestas tags: trunk

00:20
Remote control: the manual, reference, dev notes and protocol amendments for turning it on from /rc, status and stop, keeping the connection, both sides at once and new conversations from the phone check-in: bf11f9a093 user: dmestas tags: remote-2
00:17
Remote control: the interop test restarts the real Worker and kills pic remote under a prompt; the test phone's seen waits for a message in any order check-in: c6a8e3bc4a user: dmestas tags: remote-2
00:15
keys-probes: use the renamed app_child type after merging small-fixes closed check-in: a6f022695f user: dmestas tags: keys-probes
00:15
Merge small-fixes into keys-probes check-in: 84bad7997f user: dmestas tags: keys-probes
00:13
Remote control: a soak test that kills and restarts the relay and pic remote, drops the network, silences the stream and stops pic remote past its idle timeout, and checks every prompt became one request and the phone's copy has every event in order; the test relay keeps its mailboxes across a restart, starts its event ids from the clock, sends its keepalive as often as asked and can go down or silent; the test phone pings and syncs again in a new session after a gap check-in: 00a3afbc72 user: dmestas tags: remote-2
00:05
Remote control: the interface's follower is killed, not asked, so a held SIGTERM cannot keep the interface from leaving check-in: 79f904cabb user: dmestas tags: remote-2
2026-11-22
23:59
Remote control from the Mac and the phone at once: /rc turns it on, starting pic remote detached with the unlocked key on an inherited pipe and starting it again if it dies of a signal; the interface follows its conversation while idle, shows a phone's messages as from its name, and steers or stops a request from elsewhere through the inbox; user message events carry their origin check-in: 8d90701b09 user: dmestas tags: remote-2
23:52
test-docs waits for the release binary closed check-in: 577a0d9a81 user: dmestas tags: small-fixes