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
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,57 @@ 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.

## 0.750.0 — 24.11.2026

### Added

- **A digest's page file names what was left out.** `<run>.report.json` lists in `dropped` the parts the check
left out, so WireCat Desktop can say how many it does not show.
- **Trackers copy sprints.** `sprint` is a tracker kind, between `project` and `issue` in `TRACKER_KINDS`: a Linear
cycle or a Jira sprint, with its `name`, `number`, `team`, `startsAt`, `endsAt` and `completedAt`. An issue names
its `sprint`. `sprints list` lists them, and `issues list sprint:<id>` (or `sprint:none`) narrows the issues. An
unnamed sprint, as most Linear cycles are, is titled `Sprint <number>`. A manifest without a sprint kind syncs as
before ([docs](docs/dev/TRACKER.md#the-domain)).
- **An issue in the tracker's trash leaves the copy.** A map may read `deleted` (Linear's `trashed`). A row read as
deleted is marked deleted in the copy, and its `ids` call, which selects the same path, leaves it out, so the daily
id pass finds it: Linear's trash moves no `updatedAt`, so a plain read of changes never sees it. An issue marked
deleted takes its comments with it. A row the id pass lists again after it was marked deleted, as an issue restored
from the trash, is back with its comments. `trackerSourceContract` checks a
`trash` fault, which `trackerManifestFixture` offers when the map reads `deleted`
([docs](docs/dev/TRACKER.md#deleted-and-trashed-rows)).
- **The `duplicate` state type.** Linear's Duplicate state was dropped by the map, so its issues pointed at a state the
copy did not hold. It is now one of `STATE_TYPES`, closed as `canceled` is: a task from such an issue closes as
dismissed, `the issue was marked a duplicate in linear`, and `issues list type:duplicate` finds them.
- **A tracker sync says when it next looks for deletions and what it could not read.** Its answer has
`deletions: { checked, due }`, when the id pass last ran for every kind and when it is next due. A kind the sign-in
could not read is named in `meta.issues` (`tracker.kind-unread`) besides `gaps`.

### Changed — may break callers

- **`synced[].saved` and `progress.saved` count only rows that changed** in the copy: new, different, deleted or back
again. A row read again as stored is not counted, so a sync with nothing new answers 0 and Desktop shows it up to
date. `store.tracker.save` answers the same count.
- **`TrackerRecords` and `TRACKER_KINDS` have `sprint`, and `STATE_TYPES` has `duplicate`.** Code with a value for
each kind or state type, such as a `Record<TrackerKind, …>` or a `switch` over `StateType`, needs one for the new
member; `exampleTrackerRows()` has a sprint and a Duplicate state.
- **`TrackerSyncReport` has a required `deletions`**, so code that builds a report, such as a test's fake, sets it.
- **A tracker sync whose sign-in could not read a kind answers `meta.complete: false`** on every run, with the kind in
`meta.issues`; before, only `gaps` named it. The answer's own `complete`, which Desktop reads, stays as the sync made
it.

### Fixed

- **`crmFilesContract` passes on Windows.** It asserted mode 0600 on a downloaded file and 0700 on the files folder
there too, and Windows, which has no POSIX modes, reports 0666; bitrix24-cli's 0.27.0 release stopped on it. The
mode checks now run on Linux and macOS only.
- **Local OCR turns a page lying on its side.** `read_scans: local` now runs `tesseract` with `--psm 1`, its own page
orientation detection. On the [OCR benchmark](https://github.com/WireCatLabs/cli-testing/blob/main/performance/documents/ocr-ru-en/README.md)
a page on its side went from 85% wrong characters to 3%, every other page read the same, and a page took 0.3 s
longer. The reading's name becomes `ocr:v2:tesseract@…`, so scans read before are read once more. Without
tesseract's `osd` data (`apt install tesseract-ocr-osd`) it reads as before and the sync's `warnings` carry
`document.scan-unturned` with the hint; installing the data reads the scans again.
([docs](docs/dev/DOCUMENTS.md#scans-and-pictures))

## 0.749.0 — 24.11.2026

### Fixed
Expand Down
4 changes: 0 additions & 4 deletions changes/feat-report-dropped-in-document.md

This file was deleted.

33 changes: 0 additions & 33 deletions changes/feat-tracker-sprints.md

This file was deleted.

5 changes: 0 additions & 5 deletions changes/fix-crm-files-contract-windows.md

This file was deleted.

9 changes: 0 additions & 9 deletions changes/fix-tesseract-psm1.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": "0.749.0",
"version": "0.750.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