It took months, but here we are: the whole Pimalaya CLI family is released at once, at the top of the first stable version of the pimdir standard. Here the list:.

Industry observers note that most of them are majors, and they all break something for somebody. This post explains why, how, and where it goes from here. It is long, feel free to jump to the tool you care about. (Related: Industry News: Fit More and Train Faster With ZeRO via ...)

Recent findings suggest that in Another year with NLnet I noted this year was about consolidation and about a standard for PIM on disk. This release is the result of both.

The thing is, every piece is now connected:.

Releasing them one by one meant releasing tools that disagree with each other: one version of the store here, another version of the output there. So I decided to bring every tool to release level first, then to release them all together. It took way longer than I wanted, but this way what you install today is one coherent family.

The other reason is the contract. The CLIs are not only used by humans anymore: they are used by scripts, by frontends (the Vim plugin, the TUI, the Android app), and by AI agents through MCP. All of them need a stable, versioned contract: the same JSON shapes, the same error codes, the same exit codes. Majors are the right moment to fix it, and from now on it should not move anymore without a latest major. (Related: Stop treating agents as one-off projects and start runn...)

Few things made this release possible.

Specs before code. Every repository has a cairn/ folder holding its living spec, its change proposals and a dated log. Every behaviour change goes through a proposal, then gets folded into the spec. This way the truth is written somewhere, and not only in my head.

One shared kit. The pimalaya-cli and pimalaya-config libs hold everything the CLIs have in common: the output contract, the error codes, the REPL, the MCP server, the configuration loading. In fact most of the work of this release was moving code from the CLIs into this kit, and deleting the copies.

One unified API, as a union. Before, the commands shared by every backend were the intersection of what the backends could do: if one backend could not do it, nobody could. Now it is the union: each backend registers the capabilities it really serves, with the same observable result as the others, and a command an account cannot serve fails before even connecting, with a clear capability-missing code.

Measured gates for pimdir. Audits always find something, so "no new finding" never ends. Instead, I built a test generator that produces stores, remote states and an oracle from a seed, and ran campaigns of 4,180 jobs against io-pimdir: crashes injected at every step, the search index checked against a full rebuild after each event, the sync engine replayed against scripted servers. The rule was simple: 2 campaigns in a row without any spec break, then freeze. Campaign 1 found one, campaigns 2 and 3 were clean, a late fix restarted the count, then campaigns 4 and 5 were clean. Freeze.

Live tests on real providers. Every CLI was tested against real accounts: Google, Microsoft, Fastmail and iCloud, plus few Chinese providers for Himalaya (QQ, 163, 139). A last "live night" just before the release found few bugs that went straight into the libs.

Recent findings suggest that libs first, apps after. The libs were released between the 13th and the 25th of November, the apps then moved to them without any patch or git pin. Everything you install comes from crates.io.

In a recent development, pimdir is a local-first standard for personal information: mails, contacts, calendars, tasks and files in one portable store, kept as a replica of every source, and searchable with one query language. A store is one SQLite file plus a content-addressed blob directory, the same on every OS and architecture. I already explained why such a standard is needed in Another year with NLnet, and how the Android app became its first full implementation in Pimalaya for Android enters closed alpha.

It comes in 3 parts, versioned separately:.

They are released together because a store holds sync state that follows the sync part, and the query language binds every program that offers search.

What v1 means: schema version 1 never changes, every schema change is a migration, and a minor version only adds test cases. You can implement it in any language that speaks SQLite, use the I/O-free core of io-pimdir (like the Android app does, on the platform SQLite), or use its std client.

Few days before the freeze, I compared it with notmuch, which is the reference in this area. They do not do the same job (notmuch indexes mail files it does not own, pimdir owns the bodies, syncs them and holds other domains), but the search can be compared. On a store of 1 million messages from the Enron corpus, pimdir was ahead of notmuch on 50 of the 51 query measures and tied the last one, imported the million faster, and used a third of the memory. Stemming, regex and per-thread queries are still missing, they are on the list.

One warning for the early adopters: a store written by a draft version is refused, never migrated. Sync it till nothing is pending with the last draft binary, move its directory aside, then let a release create and sync a new one.

This is the change many of you will not like, so let me explain it properly.

Recent findings suggest that every CLI had a configuration wizard: you typed your email address, it discovered the servers, asked for the password, stored it in your keyring, and wrote the TOML for you. It is gone, from every CLI.

Recent findings suggest that the direction. The CLIs are now low-level tools: plain text to glance at, JSON for scripts, frontends and agents. Comfort (tables, colours, relative dates, guided setups, rich composition) belongs to frontends. In fact this is not fresh: it is the same split that started the whole project, back when the logic left the Vim plugin. The CLI was always supposed to be the backend a frontend needs. This release just goes all the way.

According to recent reports, I know some of you used the wizard to get started, and that copying a sample feels like a step back. If the welcome or the samples are not clear enough, it is a bug: please open an problem, I would rather fix the docs than bring back a second setup system per CLI.

Himalaya is now a low-level CLI over a unified mail API: the same commands on every backend, the protocol-specific ones next to them, plain text for a glance and --json for the rest.

Industry observers note that backends: IMAP, SMTP, ManageSieve, JMAP, the Gmail API, Microsoft Graph, Maildir (with a new maildir++ layout for Dovecot and Courier stores), mbox, and pimdir. The README has recipes for Proton Mail (through Bridge), Fastmail, Gmail, Outlook, Posteo and iCloud.

What is gone: the wizard, the m2dir backend (superseded by pimdir), the table and colour options, HIMALAYA_CONFIG. Unknown configuration keys are now refused, JSON keys are camelCase, and the v2 search syntax needs to be rewritten. The migration guide lists everything, with a full table for the queries.

Neverest is rebuilt around the pimdir store: every account syncs into one shared store, which the other CLIs read, search and queue their writes into. It syncs mails, contacts and calendars over IMAP, Gmail, Microsoft Graph, Google Calendar, Google People, CalDAV and CardDAV.

JMAP sources are not supported yet (it is a draft), so Fastmail syncs over IMAP, CardDAV and CalDAV for now. Coming from v0.x? Your configuration and state are not carried over: start from the config.sample.toml, then run neverest sync --init.

The first stable release of Cardamum: a low-level CLI over a unified contacts API, with the same commands on CardDAV, JMAP, Microsoft Graph, Google People, vdir and pimdir.

It has been revealed that card search speaks the pimdir query language on every backend, account capability shows what an account serves without connecting, and you get the REPL and the MCP server like the others. Editing a card is left to a composer such as tcard. The wizard and the discover route are gone.

Same story for calendars: the same commands on CalDAV, JMAP (new), Google Calendar, Microsoft Graph, vdir and pimdir.

Industry observers note that latest: event search, recurrence expansion, attendees and alarms, online meetings (--online-meeting), invitation replies through pimdir, and an agenda that draws a month or a year like cal(1) does. Editing an event is left to a composer such as tcal. The wizard, the tables and colours, and the todo and journal commands are gone: tasks and journals will move to dedicated tools (Unfog and Journal), not released yet.

Sources indicate that carillon is a local watcher that fires hooks on what changes in your mailboxes, address books and calendars, over IMAP, JMAP, Maildir, CalDAV, CardDAV, Microsoft Graph, the Google APIs and the pimdir store. It uses push where the server offers it (IMAP IDLE, the JMAP event stream) and polls elsewhere. A hook runs a command, shows a desktop notification, or both.

Upcoming in v1: a pimdir backend, on-alarm-trigger for the alarms of events and tasks, on-birthday-trigger for birthdays and anniversaries, a per-hook timeout, and a report of what moved while an IMAP or Gmail session was lost. Hooks now take the same shape as Comodoro's.

In a recent development, ortie manages OAuth tokens for the other tools. v3 aligns it on the rest of the family: ready-made Google, Microsoft and Fastmail accounts to paste, token revocation, an auth listen to catch a redirection handed off from another machine, account checks, a REPL, and an MCP server that never hands the token to the agent. The wizard and the hooks are gone (the storage write command does what a hook did).

Sources indicate that comodoro manages timers: one server owns a timer, any number of clients drive it, over a local socket or TCP. v3 joins the same standard: comodoro watch feeds a status bar without polling, hooks get the cycle name and duration, plus the welcome, account checks, a REPL and an MCP server. Comodoro is now a binary only: the library is gone, and the open JSON-RPC protocol is the contract for third parties.

None of the above would exist without the libs below, all released in November on crates.io:.

They are all I/O-free, as usual: feel free to build your own tools at the top of them.

Each README lists the ways to install: prebuilt binaries from the GitHub releases (or the install.sh script), cargo install --locked, Nix, and the APT, DNF and Homebrew repositories at pkg.pimalaya.org. The packages are landing there over the coming days, and the nixpkgs and home-manager updates are on their way.

It has been revealed that special thanks to the NLnet foundation and the European Commission's NGI initiative, for the financial support through NGI Zero Core and now the NGI Zero Commons Fund. This kind of slow, deep work is only possible thanks to them.

In a recent development, and thank you to everyone who reported bugs, tested betas, or simply waited patiently while everything was being rebuilt. Any feedback is welcomed, on GitHub, on Matrix or on Mastodon. Let me know how it goes!

โ†’ Read original article