Repository navigation
Pi Pocket 0.30.0: installers for Windows and macOS, background tasks everywhere, artifact delete and session cleanup, Pi 1.6
Pi Pocket 0.30 installs on Windows and macOS with no Node.js or npm of your own, runs background tasks on every system, lets you delete artifacts and clean up archived sessions, and moves to Pi 1.6.
Important
To update: back up ~/.pi-pocket, then Menu → Update Pi Pocket and restart. Details under Updating.
Warning
Back up ~/.pi-pocket before you update. The data change is one-way. Pi 1.6 writes its database in a new form. After the first start on 0.30, an older Pi Pocket is not meant to open the data: a session that was at work stays busy there until you tap Stop.
Highlights
- Installers for Windows and macOS.
Pi-Pocket-Setup-0.30.0.exeandPi-Pocket-0.30.0.pkgbelow install Pi Pocket for your account, with its own Node.js and no admin rights. Setup needs no npm. (#354, #357, #364) - Pi Pocket opens like an app. On Windows and macOS it opens in its own window, signed in, with a tray or menu bar item, and no console. (#360)
- Background tasks on macOS and Windows. Before, they worked on Linux only. A Stop ends only the task's own processes. (#359)
- Delete artifacts, and clean up archived sessions. Remove an artifact with all its versions, or remove old archived sessions and their worktrees, uploads, and task logs in one go. (#365, #367)
- A phone's tab stays live. When the connection dies with no error (a network switch, a tunnel, a phone that slept), the tab connects again by itself. (fixes #334, reported by @GiaSip)
New
- Windows installer. It is not signed yet, so SmartScreen warns the first time. Pi's
bashtool needs Git for Windows, and Setup says so when it cannot find it. (#354) - macOS package. For Apple silicon and Intel. It is not signed or notarized yet: open it from Privacy & Security, or install it from Terminal with
installer(docs/macos.md). (#357) - The desktop app signs in with a link that works once, for one minute. The old launcher stays as Pi Pocket (console), for tunnels and the QR code. (#360)
- Delete an artifact. A bin icon in the artifact viewer and on each card in the Artifacts sheet deletes it with all its versions, share links, saved state, and design comments. Anyone who can steer the session can delete; viewers cannot. (#365, fixes #313, asked for by @princeatoss)
- Remove and clean up an archived session. The session leaves the app, and its worktree (the branch stays), uploads, task logs, schedules, watches, shares, and public links go. (#367, part of #163, asked for by @grigio)
- The transcript stays in the database until Pi Durable can remove it. The confirm says so.
- A worktree with uncommitted changes, or with an env file that git ignores (such as
.env), is kept.
- Clean up archived sessions. Menu → Clean up archived sessions finds archived sessions older than an age you pick, shows what goes and its size first, and removes their worktrees only, or the sessions. The owner only. (#367)
- Listen on a Unix socket.
--socket PATHserves Pi Pocket on a socket for a reverse proxy, with no TCP port. (#339, fixes #338, by @julian-r) - A repeat can compact before each run, so a long-running repeat keeps its context small. (#342, fixes #341, by @zahradil)
- Pi 1.6. New models (GPT-6.2 Astra and Sol) and many Pi fixes.
Improved
- One session's provider error no longer stalls the others. A 502 for one conversation retries in that session only; other sessions on the same model go on. A real rate limit still waits for all. (#347, fixes #344, by @vitalNohj)
- The retry reason shows on session peeks. (#347, by @vitalNohj)
- Drop-in extensions work without folder links, so a machine that blocks links no longer breaks MCP and other drop-ins. (#363)
Fixed
- A held message you withdraw while Send runs no longer goes. (#348, fixes #345, by @vitalNohj)
- Opening a session this device kept nowhere shows the usual loading screen in its pane again. (#333, by @vitalNohj)
- Relay: a connector delete that cannot be written says so, and the page and tools stay in step. (#349, fixes #346, by @vitalNohj)
- A tab on long polling recovers when a poll stalls, and a tab whose first stream gets nothing stops waiting at "connecting". (#362)
- Windows: worktree checks match short 8.3 paths, and a download with an unusual file name no longer hangs. (#361)
Security
- A guest cannot read Pi's sign-ins on macOS or Windows. The file viewer kept Pi's folder and the data folder from guests, but another spelling of the path (letter case, short names) got through. (old, not new; found in the final review)
- Links are refused on every platform where Pi Pocket opens artifact, theme, design, relay, and download files. On Windows a link could reach a file outside its folder. (#361)
- The relay never sends a
.envfile, such asprod.envor.env.local, in any letter case. (#350, by @vitalNohj) undici8.12.4, for six security advisories.
For theme and extension authors
host.annotateTurns(name, annotate). Add a durable note to a person's turn, such as the time since the last message. It is stored once and reaches Pi asNote from extension <name>:, so the prompt cache stays whole. A queued turn gets no note yet. See turn notes. (experimental, #366, #368, fixes #293, asked for by @TipKnuckle)host.pendingApprovals. Read-only snapshots and events of the approvals waiting in the sessions a person can see. Seedocs/examples/approval-monitor.ts. (experimental, #351, fixes #300, by @vitalNohj)- Drop-ins get Pocket's packages through its import hook, with no
node_moduleslink. Atsconfig.jsonin the drop-in folder gives editors the types. (#363) - Pi Durable 1.6.
runEndTaskis nowhookTask; Pi Pocket still exports the old name for drop-ins. A tool'sexecute()can park; code mode refuses a tool call that parks. - OpenAI-compatible endpoints now get system messages with the
systemrole (a Pi 1.6 change). - The event stream's ping is an event,
ping, with its period inevery. It was a comment.
Updating
- Back up
~/.pi-pocket(see the warning). - Menu → Update Pi Pocket, or
npm install -g pi-pocket@latest. Or run the new Setup over an old install: your data stays. - Restart.
How this release was checked
- Four betas, each with a review of each pull request. A final review by 5 reviewers, one per system, found 0 blockers and 2 majors (the sign-in read above, and
undici), both fixed; a fresh reviewer checked every fix, and Greptile reviewed the final head. - Tests read SQLite after a delete and find nothing left; session removal is safe across a restart in the middle; each turn-note request starts with the exact bytes of the one before.
- The full suite passes on the final head: 1,680 tests on Linux with a fresh install and 342 browser tests; CI passes on Windows and on macOS (Apple silicon and Intel).
- A live test of every change at phone and desktop sizes (10 of 10 checks), and one pass with a real model.
- Not tested: a real Windows PC or Mac (only CI runners), signing and notarization, and Nix. Greptile did not review the betas.
Thanks to @vitalNohj for the retry gates, held messages, relay fixes, and approval snapshots; @julian-r for the Unix socket; @zahradil for compacting repeats; @GiaSip, @princeatoss, @grigio, and @TipKnuckle for the reports and requests behind this release.
Full changes: v0.29.0...v0.30.0