Repository navigation
ZenNotes 2.96.0 adds Connectors: one page in Settings that installs agent skills for seven AI agents beside the MCP server, and zn-cloud, a command line that syncs a ZenNotes Cloud vault where there is no app. The Tasks filter also reads where: queries, so a filter saved in zn tui picks the same tasks in the app.
Released from 43683ee9 through #1135 on December 2, 2026.
Features
- Connectors: agent skills for seven agents, one click each (#1133). Until now the way to put an AI agent in a vault was the MCP server, installed for four clients. An agent that only had the files guessed at the formats: a task token that was nearly right, a database folder written by hand, a workflow with steps that do not exist. Now:
- Settings has a Connectors page (it was called MCP).
:connectorsand Open Connectors Settings in the palette open it, and the MCP server is still on it. - Agent skills are six short manuals an agent loads when it needs them: where things live in a vault, ZenNotes Markdown, tasks, databases, workflows, and the
zncommand line. The parts that restate a format are generated from the code that defines it, and every example in them is run through the app's own parser, so they cannot drift from what the app reads. - Install beside Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Hermes Agent or OpenCode copies the skills into that agent's own skills folder, shown on the row. Save a copy… writes the same folders anywhere, for an agent that is not listed.
- ZenNotes only ever changes its own copy. An app update refreshes it, Uninstall removes it, a file you edited is kept (the row says Changed), and skills that got there another way say Already there and are left alone.
- Skills need no running app, and a skill sends nothing anywhere by itself. A workflow an agent writes is always a draft that you switch on.
- Settings has a Connectors page (it was called MCP).
zn-cloud: sync a Cloud vault where there is no app (#1133, #1134). An agent on a server, or a cloud machine, had no way to reach a ZenNotes Cloud vault: only the apps could sync one.zn-cloudis a command line that keeps a Cloud vault in a folder, on macOS, Linux and Windows, with Node.js 22 or newer:npm install -g zn-cloud, thenzn-cloud loginshows a short code and an address. You open the address in any browser, on any device, and approve. No password and no token is typed on the machine.- On the approval page you choose which vaults that machine may sync, and whether it may change notes or only read them. Both can be changed later under Connected apps, and removing the device there ends its access.
zn-cloud link <folder> --vault <name>, thenzn-cloud sync <folder>, once or with--watch. A file changed on both sides is never decided for you: the run ends with exit 3,zn-cloud conflictsshows both versions, andzn-cloud resolvekeeps one, both, or a merged file.- It is built for a machine nobody watches. A read-only machine only pulls and says what stays local. Files deleted on it are held, not sent, if it is later allowed to write. A folder that turns up empty because its disk is not mounted is refused, since syncing it would delete the vault everywhere. Every command prints JSON with
--jsonand ends with an exit code that says what kind of ending it was. - It does not open end-to-end encrypted vaults: that would put the account's key on a machine you may not own. It lists them and says why.
- The desktop app refuses a folder that
zn-cloudsyncs on the same computer, and says how to hand it over, because two sync clients on one folder would undo each other's work.
- The Tasks filter reads
where:queries (reported on Discord). The filter was one piece of text: the whole query had to appear in a task's text, its note title, a tag, a priority or a field.zn tuialso has terms behind awhere:prefix, and saved filters travel between the two apps in config.toml, so a filter saved in the terminal aswhere: #proj/test is:opencame over as a chip that searched for its own text and matched nothing: "0 of 117" in the app, beside a terminal showing the two tasks it was saved for. Now:- A query that starts with
where:is split into terms, and a task has to satisfy every one of them:where: #proj/test is:openis the open tasks of one project,where: due:overdue priority:high -#somedayis what is late, important and not parked. - The terms: a plain word (the task text or its note title),
#tagortag:x,note:xorin:x,due:today,due:overdue,due:none,due:anyor the start of a date such asdue:2026-12,priority:high,med,lowornone(p:for short),status:x,folder:inbox,quickorarchive,is:open,done,waiting,progressorcancelled, andkey:valuefor any other@key:valuefield. A-in front of a term turns it around. - It works wherever the filter does: the list, the calendar and the board, the Timeline's filter,
:filter where: is:open, and saved filters. A query without the prefix is the piece of text it always was. - The terms mean exactly what they mean in the terminal, so one saved filter picks the same tasks in both.
due:reads the deadline, not the planned day. - Rest the pointer on either filter box to see what it takes.
- A query that starts with
Fixes
- Restore puts a note back where it was trashed from. Moving a note to the trash keeps its subfolder and drops the folder it sat in, so Restore had nothing to go on and sent every note to your notes: a note trashed from the Archive or Quick Notes came back somewhere it never was. The vault now keeps a small record,
.zennotes/trash-origins.json, of where each trashed note came from, and Restore puts it back there, subfolder and all. Renaming a note or a folder in the trash keeps it; a note moved out of the trash any other way leaves the record. The desktop app,zn, its MCP server, the web app, the phones and the self-hosted server all read and write the same record. It stays on the device: a note restored on another device goes to your notes, as before. Found testing the Android app. - The Tasks header counts what the view shows. The calendar counted tasks it does not draw (finished ones, and forwarded ones with no day), and the board counted tasks rather than its cards, so a filter could read "1 of 23" over a board with nothing on it. Each view now counts its own: the list its tasks, the calendar its open tasks (those without a date too, which it lists apart), the board its cards.
- A calendar day with nothing under a filter says so. It said "Nothing scheduled", though the day could have tasks the filter hid.
- The Tasks filter opens folded groups that hold a match, up to 200 tasks, so "2 of 12" no longer shows one row because the Done group was folded. A group you folded yourself stays folded. A filter also drops the empty Today header.
- The Tasks filter box is as wide as what it holds, so a long
where:query no longer scrolls its own start out of view. On the phones it still spans the screen. - A phone keyboard no longer capitalizes or corrects the Tasks and Timeline filters, which turned
where:intoWhere:. - Move to… never offers a database folder. A note moved into one would have been read as one of its records.
- An assistant limited to some folders can restore a note only into a folder it may use. With Restore going back to the Archive or Quick Notes, an assistant allowed
Projectsandtrashcould otherwise have put a note into the Archive. On a self-hosted server, whose record the assistant cannot read, a note that lands outside its folders goes back to the trash.
Command line
- The desktop bundles zn 0.20.1 (ZenNotes/tui#69), released today: Restore puts a note back where it was trashed from, as the app now does, reading and writing the same record, and an assistant limited to some folders restores only into folders it may use. Its help also stops naming
:deleteas a way to trash a note (that is Vim's line delete);:trashnoteis. zn-cloudis its own package on npm, not part of the desktop app or ofzn.
Phones
For contributors
packages/cloud-nodeis new: the Node host of Cloud sync (sign-in, the sync service, the filesystem repository, publishing), moved out ofapps/desktop/src/mainwith no change in behavior, so a second host could use it.apps/headlessis that host, and bundles to one file with onlynode:imports.- The sync coordinator in shared-domain takes
pullOnly: a run that pulls, plans no upload at all, and reports what changed locally aslocal_only. The phones' hosts do not set it. apps/desktop/src/agent-skills/generate.tsrenders the generated regions of the skills (npm run skills:build), andagent-skills.test.tsfails when a region is stale or an example no longer parses.packaging/agent-skills/repomirrors the public repository the plugin will live in;LISTINGS.mdbeside it is the order and the answers for each agent directory.packages/bridge-contract/fixtures/mcp-instructions.mdpins the MCP server's instructions, and ZenNotes/tui holds its own copy to it.packages/shared-domain/src/task-where.tsholds thewhere:grammar (parseTaskWhere,taskMatchesWhere). It is a mirror of the TUI'staskMatchesTerm(ZenNotes/tui,internal/tui/views_tasks.go), odd corners included:@project:alphais not a field term (the key isproject), andpriority:mediummatches nothing (the value ismed). One more synced copy: change one, change both.task-where.cases.jsonbeside it is the table of 44 cases both sides run.packages/shared-domain/src/trash-origins.tsis the trash origins record (recordTrashed,restoreTarget,forgetTrashed,forgetTrashedUnder, andfollowMovefor every other move).packages/bridge-contract/fixtures/trash-origins.cases.jsonis its table: the desktop app, its command line and MCP copy and the shared vault code run it, and the sync script copies it to the server and ZenNotes/tui, which run it too. Five implementations: change one, change all.filterTasksin app-core takestodayas a fourth argument (cardsMatchingFilteras a fifth) fordue:todayanddue:overdue. A tag term also reads the tags in a task note's body (#1008), which the TUI does not, so addingis:opento#clientdoes not drop the task notes#clienthad found.
Demos
- zn-cloud-demo.mp4: a server signs in with a code, the approval page chooses its vaults, a folder syncs, a conflict waits and is settled.
- connectors.mp4: Settings → Connectors installs the agent skills for one agent, and the row shows where they went.
- where-filter.mp4: a
where:query in the Tasks filter, and a filter saved in zn tui picking the same tasks in the app.
Verification
How to test locally:
- Open Settings → Connectors (or type
:connectors). Click Install beside an agent you have. The row shows the folder and says Installed; the sixzennotes-*folders are in that agent's skills folder. Edit oneSKILL.mdand look again: the row says Changed. Click Uninstall: the folders you did not edit are gone. - In an agent with the skills installed, open a vault folder and ask for "a weekly repeating task due Friday in today's note". Before: a guessed token. After: a task line the Tasks view reads, with its due date and repeat rule.
- On another machine with Node.js 22:
npm install -g zn-cloud,zn-cloud login, approve the code in your browser with one vault and "Can change notes", thenzn-cloud link ~/notes --vault <name>andzn-cloud sync ~/notes. The vault's files are in the folder. Change a note there, sync again, and it reaches your other devices. - Under Connected apps on zennotes.org, set that device to Read only.
zn-cloud syncthen says "This device is read only" and lists what stays local. - Give two open tasks and one finished task the tag
#proj/test, and add this under[saved_filters]in config.toml:"Open test" = "where: #proj/test is:open". Open Tasks and click the Open test chip. Before: "0 of N" and an empty list. After: "2 of N" and the two open tasks, in the list and on the board. - Type
where: due:overduein the filter, thenwhere: -is:open, then plain#proj/test: the late tasks, the closed ones, and all three tagged tasks as before. - Archive a note that sits in a subfolder, then move it to the trash and Restore it. Before: it came back in your notes. After: it is in the Archive, in the same subfolder. Do the same from Quick Notes, and once more after renaming the note while it is in the trash.
- Open Tasks, switch to the calendar, then the board, and type a filter that matches nothing on the board: the header reads "0 of N", where N is the board's cards.
Distribution channels
- GitHub: this release, latest, with all five update feeds. Every file they name was checked, and the app in both macOS DMGs is Notarized Developer ID and stapled.
- AUR:
zennotes-bin 2.96.0-1, pinned to the Linux tarball's SHA-256d3300709…34d6f8f28. - Homebrew: the
zennotescask in ZenNotes/homebrew-tap (211e3fc). The tap'sznformula is at 0.20.1. - Nix:
packaging/nix/release-data.json(4b2f08df), built onmain(run 46894357027). - nixpkgs: NixOS/nixpkgs#590905, now
zennotes-desktop: 2.88.0 -> 2.96.0, waiting for nixpkgs review. - npm:
zn-cloud2.96.0, its first release. Command line sign-in is open to every ZenNotes Cloud account. - zn: 0.20.1, released the day before and bundled here.
- Self-hosted server: 2.96.0, latest, with the 2.96.0 web client and the server's own trash origins record. Docker
adibhanna/zennotes2.96.0,2.96andlatestpoint atsha256:5e42ccd1….
- Website: the 2.96.0 entry with its three clips, the Connectors page, the zn-cloud docs, the zn 0.20.1 entry, and the docs renamed to Settings → Connectors (ZenNotes/website#155).
Release validation
- Release commit
909dd52c(bumped to43683ee9) passed every gate before the tag: typecheck, every test suite with nothing cached (app-core 5077, shared-domain 2866, desktop 1934, portable-vault 408, cloud-node 198, headless 178, web 76, quicklook 18), a freshbuild:prod, the packed app's launch check (it carries zn 0.20.1), the three smoke suites, and the Cloud UI tests on the iPhone candidate (7 passed, 1 iPad-only skipped). The release PR's checks andmain's jobs passed on the same commit; two macOS jobs that GitHub never gave a runner passed on a re-run. - Walking the candidate core on both phones found 16 things before the cut. 14 were fixed (restore to the folder a note came from, the per-view Tasks counts, the calendar's filter message, folded groups, the filter's width and keyboard, Move to… and databases, two Android shell fixes, the saved filter long-press on iPhone, and zn's
:deletehelp); you struck two (a forwarded task counting as open, as in zn; and an Android toolbar seen only through test tooling). Fixing restore turned up a gap in the scoped MCP check, fixed in the desktop and in zn. - The agent skills were run end to end, installed where the Install button puts them, in Claude Code, Codex, OpenCode and Hermes: 8 of 8 tasks each, graded by the app's own parsers, with each agent shown to load the skills. Gemini CLI could not be run: Google ended free personal sign-in for it.
zn-cloudwas run against production end to end before the release (sign-in, link, sync both ways, conflicts, watch, read only, held deletions, chosen vaults, a vault removed, sign-out). The published package matches the packed file and installs and runs from npm.- The trash origins record is one table,
trash-origins.cases.json, run by all five programs that keep it: the desktop app, its command line and MCP copy, the shared vault code, the server and zn.