Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@ Notable changes to `@wirecat/cli-core` (`@wirecat/cli-messaging` up to 0.261.0,
minor version may break callers, and says how under "Changed — may break callers". `pnpm docs:check` checks the
shape of this file.

## 1.2.0 — 25.11.2026

### Added

- **Mail sorting rules (store version 77).** `store.mail.sorting` keeps the owner's and the program's rules over mail:
`add` (with `dryRun`), `rules`, `remove`, `undo`, `reset` and `scopes`, all experimental. A rule names its scope,
one mail, a List-Id, a subject pattern, an address or a registrable domain, and says whether it sorts past mail too
(`applyTo: "all"`) or only mail dated from now on (`"new"`). The first scope that has a rule wins, in that order, then
the header classifier; within a scope the owner's rule beats the program's and the newest wins, and a domain rule may
beat the address rules (`overAddresses`). A rule sets the mail type, makes the sender a bot or a person through
`moveToBot` and `moveToPerson`, or files the sender under an organization. An email a rule typed has `typeSignal`
`rule:<id>`. A domain rule on a free-mail or throwaway domain is the owner's only and is set only with the `confirm`
of a dry run that shows how many addresses and emails it touches. Removing or undoing a rule types its mail again and
moves its senders back. Not the storage `store.mail.rules`.
- **`tokenSessionCommand`, `oauthSessionCommand` and `fileMirrorsCommand` are marked as cli-core's own commands**,
as `appDoctorCommand` is. `commands --json` gives them `origin: "cli-core"`, so the `reserved-shared-command` lint
rule (WC-CMD-34) stops warning on the CLIs that mount them. A CLI changes them only through their options: an
option, a description or an annotation added to the returned command afterwards stops the run with
`contract.unacknowledged-override`. No CLI does that today.
- **`accountRemoveCommand` takes `effects`.** A CLI whose removal reaches no service passes `LOCAL_WRITE` here,
instead of annotating the returned command. asterisk, beeline, notion and yandex-disk annotate it today, so
`accountRemoveCommand` stays unmarked until they pass `effects`.

## 1.1.0 — 25.11.2026

### Added
Expand Down
12 changes: 0 additions & 12 deletions changes/feat-mail-rules.md

This file was deleted.

10 changes: 0 additions & 10 deletions changes/feat-mark-shared-session-commands.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecat/cli-core",
"version": "1.1.0",
"version": "1.2.0",
"description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store",
"license": "Apache-2.0",
"author": "Viacheslav Ptsarev",
Expand Down
Loading