Repository navigation
[1.1.0] - 2026-12-04
The plugin release. 1.1.0 replaces the planned 1.0.8 and includes everything from the 1.0.8 and 1.1.0 release candidates since 1.0.7: plugins (Visuals and Sub-agents), Browse and Install for Pi packages, one API for extensions to add controls, panels, cards and views, per-project sandboxing with nono, theme tiles and wallpapers, phone pairing through a reverse proxy, an Arch Linux package, and Pi 1.7.0. One change breaks extensions that call ctx.ui.form or ctx.ui.openUrl.
- Plugins: Visuals and Sub-agents (#258). PiChamber can now ship features of its own to the agent as plugins, which are Pi packages bundled with the app. Two come with it, both off until you turn them on in Settings → Extensions & Plugins, so a default install adds nothing to the prompt. Visuals lets the agent answer with an HTML page drawn in the chat (
render_html), and show two to six variants for you to pick from (render_choices): you see one variant at a time at the chat's full width, switch between them, choose one and can add a note. Sub-agents lets the agent hand tasks to separate Pi runs, each shown as a card that opens the run on its own, with a switch in the composer to turn it off for one session. Each plugin's page lists the tools it adds and what they cost in tokens. - Browse and install Pi packages in Settings (#261). Settings → Extensions & Plugins has a Browse button that searches the Pi packages on npm, the same list as Pi's package gallery, with a short featured list kept in the PiChamber repo above popular ones. An Enhanced for PiChamber filter shows packages whose authors say they add PiChamber-only features with the PiChamber plugin SDK, and each package has a page with what it adds to Pi, its maintainer, license, downloads and links. Install asks whether to load the package in every project or only this one, warns that it runs as code with Pi's access, and runs
pi installin the background. Installed packages show their version under Pi extensions, with Update to X when npm has a newer one (unpinned npm packages only). PiChamber's own plugins never show as results: a search that matches one shows it with its switch, since it is already here. No registry is hosted by PiChamber; searches go from the PiChamber server to npm, and only package metadata is read (marketplace,PICHAMBER_NPM_REGISTRY_URL,PICHAMBER_FEATURED_URL). - Turn Pi extensions on and off in Settings (#258). Settings → Extensions & Plugins lists your Pi packages and extensions, Global and for This project, with a switch for each and a Remove action for packages. It does what
pi config,pi listandpi removedo, and writes the same Pi settings files. - Breaking for extension authors: one API on
globalThis.pichamber(#258, #265). Everything PiChamber adds for a Pi extension now lives onglobalThis.pichamber, which plain Pi does not define, so Pi'sctx.uiholds only what Pi defines and a method Pi adds later cannot clash with ours. The calls arepichamber.choose,pichamber.form,pichamber.openUrl,pichamber.card,pichamber.controlandpichamber.panel. Each takes the tool or handlerctxfirst, returns a promise, and rejects bad input with aTypeError.pichamber.apiVersionis the one version number (1); it rises only for a change that breaks extensions, so test for a function (if (pichamber?.card)) rather than compare versions. Types ship aspichamber.d.tsin@pi-chamber/web. For people using PiChamber nothing looks different, and cards already saved in sessions still show. If you wrote an extension against 1.0.6 or 1.0.7:ctx.ui.form(title, fields)andctx.ui.openUrl(url)are removed. Callpichamber.form(ctx, title, fields)andpichamber.openUrl(ctx, url)after checking thatglobalThis.pichamberexists. The dialogs and their answers are unchanged.pi.appendEntry('pichamber.ui', card)is nowpichamber.card(ctx, card). The old entry still renders, and so do cards saved before.pichamber.versionis nowpichamber.apiVersion. Detect PiChamber withglobalThis.pichamber;__PICHAMBER__is still set but no longer documented.- A card's buttons run the extension's command at once, also while the agent works, and add nothing to the transcript, as composer controls do. A command the extension did not register is refused with a short error instead of being sent to the model.
- Pi extensions can put controls in the composer (#258, #265, #278). An extension declares a toggle, a cycle, a menu or an action button with
pichamber.control(ctx, control), called fromsession_startand from its command handlers, and each control runs one of the extension's own slash commands. A menu takes separators and disabled items, and a cycle over three options opens a list. The controls sit in the composer footer on desktop and in a sheet on phones, and they work in a new session before the first message is sent. - Extensions can add panels (#278).
pichamber.panel(ctx, panel)puts a live panel on the context rail, drawn from blocks (sections, item rows that open a detail, actions) or from the extension's own HTML page in the sandboxed frame. A panel lasts as long as the session runs and is not saved, so an extension declares it again atsession_start. - A tool call can draw its own view (#278). A tool result with
details.pichamber.viewshows as blocks or as a page between the turn's activity and its reply. The view appears when the call finishes. On desktop it has Open in panel; phones have no side panel, so there a row or the page's own link opens the panel as a sheet. - Cards update in place and hold more (#278). A card with an
idreplaces the earlier card with that id. A card can show astepsblock, or up to 50blockschecked like a panel body. - Extension pages get standard parts (#278). A page can use
pc-status,pc-row,pc-markdownandpc-working, reads the MCP Apps theme variable names, and its frame opens at its last height. - Sub-agents and Visuals use the same public calls (#278). The Agents tab is now an ordinary extension panel. Run cards and that panel draw only the calls the bundled Sub-agents plugin made. A
subagenttool from another extension shows as a plain tool call unless it sends its owndetails.pichamber.view. - A subagent call says what it did (#278). It reads as the agents it started, or as a list or status lookup. The turn summary counts only calls that started agents, so a two-agent chain reads "2 sub-agents" where it said 1.
- Extension screens look like a terminal, in your Pi theme's colours (#241). Components an extension draws with
ctx.ui.custom(), such as the permission prompt from@gotgenes/pi-permission-system, sat on the chat card with Pi's colour names mapped to PiChamber's own: borders were faint, the accent was near-black in the light theme, and the selected row was grey. They now draw on a terminal screen with the Terminal panel's colours, and Pi's colour names take the colours Pi would use: Pi's default theme follows PiChamber's light or dark mode, and a theme you set in Pi keeps its own colours and background. Tool and message renders, widgets and statuses use the same colours on PiChamber's background; extension dialogs and notices are unchanged. The inline surface's footer now says where keys go and offers to send them there, has Copy text, and a Show key buttons toggle that adds the Esc, Tab, arrow and Enter bar for mouse users. A new Settings → Sessions → Extension interface setting can tell extensions there is no terminal (Standard dialogs), so those that check use Pi's clickable dialogs instead (extension-palette,extensionPalette,SurfaceFooter,extension-ui-mode). - Extension dialogs show the whole request (#234). Extensions often pack a whole request into a dialog's title, such as a permission prompt with the full command it asks about, and the dialog squeezed it into one uppercase line cut off at the edge. A title's first line is now a small label and the rest shows below it in full, keeping its line breaks and colours, and scrolls when long; a one-line title shows under an Extension label. Select options wrap instead of being cut off, with a radio mark on the highlighted one and its number key. The label row collapses the dialog to one line, and while collapsed only Esc answers it. The dialog now has the composer's look, and its dismiss button reads Esc. Extensions that draw their own prompt with
custom(), such as@gotgenes/pi-permission-systemin a TUI, are unchanged (ExtensionPromptDock). - Extension notices appear where they arrived (#259). A notice an extension raised while the agent was working was drawn above everything the turn had produced, right under your message, so new notices piled up above the work instead of at the bottom of the feed. Each notice now sits between the tool steps it arrived between, or among the replies, and later output appears below it. When the turn's activity is collapsed, its notices show just below it. Notices raised while nothing runs are unchanged (
placeTurnNotices). - Extension statuses sit right above the composer (#263). The pill with an extension's statuses (for example a mode indicator) now comes below the folder, branch and changes row instead of above it, so the changes summary stays at the top and the status sits next to the box it describes (
ExtensionStatusStrip). - The composer follows an extension's mode switch (#264). When an extension command changes the session's model or thinking (a mode command such as
/balance, typed or from a composer control), the composer now shows that model and level, even if it was holding a model you had picked but not sent, and even when only the thinking level changed. Before, the composer kept your unsent pick, and the next message switched the session back to it (session.modelsource: 'extension'). - Show an extension overlay your screen hides (#280). An extension can keep an overlay off screens below a size it picks (
visiblein its overlay options), which on a phone left a prompt you could only dismiss with Esc. The row above the composer now has Show: the overlay is drawn at your screen's width, takes taps and the key bar like any other, and Hide on its title puts it back. An overlay the extension hid itself stays hidden. The row now reads "is hidden at this screen size". - Sandbox a project's agents with nono (#250). A project can now run its Pi sessions inside nono, so its agents reach only that project's folders and worktrees, the extra folders and hosts you allow, and the model providers you are signed in to. It is off by default; turn it on per project in Settings → Projects → Sandbox, or set a default for all projects. It runs on Linux and WSL2 with Landlock and on macOS with Seatbelt, and needs nono 0.82.0 or newer on the server machine. Each sandboxed project gets its own Pi session daemon, started on demand and stopped after 10 idle minutes; unsandboxed projects keep the single daemon as before. If the sandbox cannot start, the project's sessions stay readable but new turns are refused with the reason, and never fall back to running unsandboxed. Only the agent is sandboxed: the terminal, Git panel, GitHub features and Server browser run outside with your normal access. Settings shows the nono profile in use and lets you customise it. Session rows and the chat header say Sandboxed. See the Sandboxing docs page for what stays outside.
- Visuals pages sit straight in the reply (#260, #262). A page the agent draws with
render_htmlsits in the reply column on the chat background, lined up with the reply text, with no frame or backdrop of its own, so it sits on any wallpaper too. It grows to its whole content instead of scrolling inside a box, and uses the theme's colour scheme. Its More (Copy HTML, Download page) and Expand buttons appear at its top right on hover; on touch screens they sit in a row under the page, and the Page/Code switch is in the expanded view. The tool tells the agent to leave out outer cards and title banners, keep labels small and muted, and colour a single series with one colour (--pc-c1), using its shades (--pc-shade-1to--pc-shade-4) for ordered values and at most three hues for separate series.render_choiceskeeps its frame, switcher and 560 px cap. - Visuals shows a page's code like the Files panel (#278). The Code tab of an expanded page is highlighted, has line numbers, and wraps long lines.
- Themes are picked from tiles, one per theme (#262). Settings → Appearance → Theme now shows a pill for each theme (PiChamber, Flexoki, Nord and so on), with a small swatch of its colours, instead of separate Light theme and Dark theme menus. Picking one sets both its light and dark versions, and Mode (System, Light or Dark) above it chooses which one shows; each swatch shows the version the mode is showing. Five show at first, with the current theme among them, and Show all lists every theme. Custom themes pair up by name, and one with only a light or dark version says so.
- Wallpapers for the new-session screen (#262). Settings → Appearance → Wallpaper shows a still swatch for each choice: None, Dither, ASCII, Halftone, Strands, and Grain. The patterns are drawn faintly in the theme's text colour (about half as strong on light themes, where dark ink shows more), kept clear around the title and composer, and run to the bottom edge on desktop. On phones, where the composer is a bar along the bottom, they fade out above it (drawn into the canvas, so no CSS mask can leave a strip unfaded). With Moving wallpaper on (the default), they drift slowly at 6 frames a second. In Chrome each one adds roughly 1 to 2% of one core while the new-session screen is open. The wallpaper is drawn for the whole window and centred on the chat, so opening or resizing a sidebar or panel slides it along without a redraw; resizing the window redraws it once, when the resize stops, without stretching it in between. They stay still when the system asks for reduced motion and stop in hidden tabs; Grain never moves. You can also upload your own PNG, JPEG or WebP picture. The browser scales it to at most 2560 px and re-encodes it, then the server stores it (
/api/wallpaper-image) so every device shows it. With Show behind the pattern on, it shows dimmed on its own with None, or fainter under any pattern, which then takes its colours at a gentle strength (lighter still on light themes); Dither, ASCII and Halftone also trace its light and dark, with the pattern's bands still drifting through. Show in open sessions (off by default) also puts the wallpaper at the top of open sessions: still, whatever Moving wallpaper says, at a quarter of its strength, and faded out well above the messages and composer. Each wallpaper is drawn after the page shows and fades in, and the last few drawn are kept, so going back to a session or the new-session screen shows them at once instead of redrawing. The wallpaper is off by default and saved on the server with the other appearance settings (draftWallpaper,draftWallpaperMotion,draftWallpaperPicture,draftWallpaperInSessions,draftWallpaperImageVersion). - The composer has no border (#262). The message box (and an extension prompt in its place) is set off from the page by its fill and a soft shadow instead of an outline.
- A lighter composer (#262). On desktop the composer card uses the input-area surface instead of the darker divider grey, and rests a little shorter. The folder, branch, New worktree and changed-files row stays above it. The extension prompt that takes its place matches it. Phones keep their layout and get the same fill.
- A turn says what it did in one line (#262). The
Worked forline above a finished reply now adds what the agent's tools did, such as2 files read · 1 search · 2 files edited · 2 commands, and1 errorin red when calls failed. Files read or edited twice count once. The whole line opens the turn's activity. Shell rows markExit code 1,Output truncatedandNot sent to the modelin small text instead of coloured pills; only a failure is red. - Hover, pressed, selected and border colours come from each theme's text colour (#262). Every theme now gets the same steps (for example 6% of the text colour for hover on dark themes), and they look the same on the page, the sidebar and cards. A theme's own tinted selection colour is kept, and text colours are unchanged. The terminal's unfocused selection colour is valid again for themes whose selection has transparency (
withInkStates). - Reply text is 14 px on desktop (#262), as on phones, with the same 24 px line height.
- Opening a session fades its messages in (#262). Going from the new-session screen to a session used to blank the whole chat, composer included, for a moment and then show the messages at once. The composer now stays in place, and the messages fade in after they are drawn, so the fade is not cut short. The loading logo shows only when a session takes longer than 0.4 s.
- One working mark (#278). Every spinning loader and refresh icon now draws the grid the agent's working line uses.
- No divider above the sidebar shelves (#262). Snoozed and Archived sit at the bottom of Threads, By folder and Workspace without the line above them (
SessionShelfStackcallers). - More even spacing in sidebar session cards (#257). A card's details line sat tight under its title while cards sat far apart, and headings like Recent floated as far from their list as cards sat from each other. The gaps are now even, and the Snoozed and Archived headings no longer paint a full-width fill on hover.
- The starter + appears only when there is a prompt template to pin (#262). With none left to add, the new-session screen shows only its starters; prompt templates are written in Settings → Prompt templates (
DraftPresetChips). - A clearer unlock screen (#284). A server with a UI password now asks for it on a screen that names the server, shows the password on request, and says what each option does. "Trust this device" is now "Stay unlocked on this device for 7 days", which is what it always did; without it you are signed in for 12 hours. The lock screen's Add passkey always failed, because the server only registers a passkey for a signed-in session; it is now "Add a passkey after unlocking", which signs in and then registers one. A device with a passkey gets Unlock with passkey first. The tunnel, unreachable-server and too-many-attempts screens use the same layout with new wording, and on desktop the last two offer Switch server.
- Pair phones through a reverse proxy (#272). Set
PICHAMBER_PUBLIC_URL(orpichamber serve --public-url) to the address your proxy serves PiChamber at, such ashttps://pichamber.example.com. Pairing links and the Add a device QR code put it first, phones keep it when they refresh their saved addresses, and Settings → Remote access shows it as Public address. Before, a server in Docker advertised only its container address, which phones cannot reach, so pairing failed. Without the setting, a QR code made from a browser that opened PiChamber through the proxy now also leads with that address. Local network addresses stay after it as fallbacks. The value must be the site root.serve,startup enableandrestartrefuse one PiChamber cannot use, andrestartchecks it before stopping the server. The desktop app ignores a bad value with a warning (#271). - A public URL needs a UI password (#274). A
PICHAMBER_PUBLIC_URL(orserve --public-url) whose host is not loopback means a reverse proxy publishes the server, even one bound to loopback, soserve,startup enable,restartand the server itself now refuse it without a UI password, as they do for a LAN bind. SetPICHAMBER_ALLOW_UNAUTHENTICATED_LAN=trueonly if the proxy authenticates users itself. The desktop app ignores the setting with a warning instead. - Settings → About shows the address you actually use (#274). Instance URLs listed only
http://localhost:<port>/, which behind a reverse proxy or a Docker port mapping leads nowhere. It now lists the configured public URL, then the address this browser or phone reached the server at (#273). - Terminal and other WebSockets work behind a proxy that rewrites
Host(#274). PiChamber accepts pages and WebSockets from the configured public URL, so a proxy that sends the upstream address asHost(and noX-Forwarded-Host) no longer getsInvalid origin. Passkeys still need the public hostname inHostorX-Forwarded-Host, because they are tied to the host the request names. Requests to the public URL are not locked out while a managed tunnel is active either. - Docker no longer offers its container address to phones (#274). Inside a container the interface address (such as
172.17.0.2:3000) is the container's own, so pairing links, the address refresh andpichamber pairleave it out (unless a browser opened PiChamber at it), and Remote access says Local network is Not detected and points toPICHAMBER_PUBLIC_URL. Paired phones and desktop hosts also keep the address they connected through when they refresh their saved addresses, and learn an https public URL; the desktop app saves one only after it answers. - The reverse proxy guide's Nginx sample works (#274). It set headers inside each location, which made Nginx drop
HostandX-Forwarded-*there, so the terminal and dictation failed withInvalid origin; the server browser and previews had no WebSocket upgrade at all. The sample now sets every header once, with$http_hostso a non-default port survives, and the guide coversPICHAMBER_PUBLIC_URL.serveandstatusprint the public URL. - An Arch Linux package (#238). Releases now include a pacman package for x64 and arm64 (
PiChamber-<version>-linux-x64.pacmanand-linux-aarch64.pacman), installed withsudo pacman -U. pacman pulls the libraries it needs from the Arch repositories, and the in-app updater updates it withpacman -Ulike the.deband.rpmpackages. The package is namedpichamber. - GitHub works on Windows (#235). The GitHub panel reported the GitHub CLI as missing on Windows even with
ghinstalled and onPATH, because the lookup appended everyPATHEXTextension to the name it was given and so searched forgh.exe.com,gh.exe.exeand so on instead ofgh.exe. A command that already carries an extension is now looked up as written. Signing in was broken too:gh auth status --json hostsreturns each host as a list of accounts, and the parser spread that list into a single object, so a signed-in host read as signed out with no login and no scopes. It now reads the list, theloginfield currentghsends, and its comma-separatedscopesstring. A rejected token no longer reads as signed in either:ghstill exits successfully in JSON mode and still setsactive: true, sostatedecides. A host with several accounts reports only the active one, the account whose tokengh auth tokenreturns, instead of one row per account (executable-search,gh-cli). - Downloads and file previews work in the mobile app (#269, #270). Images and PDFs in the Files panel load in a QR-paired app:
/api/fs/rawaccepts the short-lived link token again, for GET only, and SVG files from that route run sandboxed so they cannot read it. In the Android app, Download, Save file and every export (Files panel, session Markdown, tables, diagrams, Visuals pages, Server browser downloads) go into the phone's Downloads folder with a short "Saved … to Downloads" message, as a browser download would; a second file with the same name is saved asname (1).ext. Android 9 and older have no Downloads folder for apps, so they use the share sheet, as iOS does. The Files panel also has Share beside Save file, for sending a file to another app. HTML previews in the Files panel still do not load in the app. - The mobile app stays signed in after a restart (#268). An app paired by QR code showed "Unable to reach server" after it was closed and reopened, until the server was picked again. The saved server came back without its token, so every request went out unauthenticated. The app now restores the token before it loads anything, and if that fails, the startup check applies it and loads again. Apps that signed in with a password were not affected, because their session cookie still worked.
- The mobile app reconnects to a server saved without a token (#285). A phone connected to a server with no UI password, or signed in with a password, showed "Can't reach" after the connection dropped and never got past it: Retry and the background retries gave up before trying the server, because the connection had no saved token. They now try it the way picking it from the server list does, so the app reconnects once the server answers. A server that answers but refuses the login now opens the login screen instead of retrying forever.
- Phone keyboards help in the chat composer (#277). Autocorrect and sentence capitals are on for a normal message. Shell mode keeps both off, so a command stays exactly as typed.
- Pi 1.7.0 (#283). PiChamber now runs Pi coding agent 1.7.0 (was 1.5.0), with GPT-6.2 Sol and Astra, more provider failures retried automatically,
!!commands kept out of the context estimate, and Pi's telemetry removed. The find tool's path patterns are now relative to the search folder, sosrc/*.tsno longer matchespkg/src/a.ts; use**/src/*.tsfor any depth. Extensions that change a component'srender()output in place must copy it first. Sandboxed projects keep working: Pi 1.7 locksauth.jsonto read it, which a sandbox cannot do, so their sessions now read it through Pi's read-only store. Other dependencies move to their latest patch and minor releases, including the terminal'sbun-pty0.4.11, which no longer treats a briefly interrupted read or write as the end of the terminal. - Links to files in chat open them (#281). A reply that links a file with a
file://URL, a Windows path, or a plain path now opens it in the Files panel, with images and PDFs previewed and other files offered to save. Before,file://links did nothing and path links opened a broken browser tab. The web server only reads files in the session's project, so a link to a file elsewhere shows a toast naming it; the desktop app on its own machine still opens those. A missing file says File not found, and on a phone a toast says chat can't open files there (#279). - Server browser downloads show progress and can be saved to the server (#255). A file downloaded in the Server browser was kept on the server under an id with no name or extension, with no progress, no cancel, and no way to put it in the host's
~/Downloads. Downloads now appear in a Downloads list under the page with live progress and a Cancel action, and wait in a temporary folder under their real names. A finished file offers Save to this device, Save to server (into~/Downloads), and Copy path. Save to this device now uses the share sheet on Android and iOS, where the old download did not work. - Copy the snippets file path (#256). The Snippets settings page has a button beside the search field that copies the server path of
snippets.json, so you can point an agent at it to copy custom snippets over. - The model selector shows the model a session is really on (#240). After a failed turn on one model, reverting to that message and picking the previous model again kept sending to the failed model: the selector showed the new choice while every message came back with the old model's error, until a third model was picked. A session's reported model and thinking level were taken from its last assistant message instead of the live session, so after a revert the app believed the session was already on the model it had just left and skipped the switch. Both now come from the live session, and the last assistant message is used only when the session reports none.
- Archiving keeps a session's date (#239). Archiving or unarchiving a session set its last-active time to now, so after auto-archive ran over old sessions, Timeline listed them all under Today, and any view that sorts by recency moved them to the top until the page reloaded. Archive and unarchive now change only the archived mark and its archive time, including Undo, auto-archive, a failed archive put back, and an unarchive when sending to an archived session. The Archive view and Archived shelf still sort by archive time (
pi-session-store,pi-session-catalog). - Saving a provider on a fresh install no longer breaks the Providers page (#253). On a fresh install, saving a custom provider before sending any message made Settings → Providers fail with an error that Retry never cleared. The daemon rebuilt its runtime and tried to reopen a session file that Pi had not written yet. It now starts a fresh session when that file does not exist.
- Back no longer strands the desktop app on its logo (#254). In the desktop app, the mouse Back button, Back in the menu, or Ctrl+[ could load the startup splash, which showed the PiChamber logo until the app was restarted. The window now clears its navigation history once the app has loaded. In the Server browser, the mouse back and forward buttons now move only the streamed page and no longer take PiChamber back as well.