@wirecat/cli-core 0.479.0 → 0.480.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,7 +5,17 @@ Notable changes to `@wirecat/cli-core` (`@wirecat/cli-messaging` up to 0.261.0,
5
5
  minor version may break callers, and says how under "Changed — may break callers". `pnpm docs:check` checks the
6
6
  shape of this file.
7
7
 
8
- ## Unreleased
8
+ ## 0.480.0 — 29.10.2026
9
+
10
+ ### Changed — may break callers
11
+
12
+ - **`StoredMessages.reactors` is required again.** 0.479.0 made it optional so a messenger that builds its own
13
+ `StoredMessages` kept compiling; whatsapp-cli now implements it, so every messenger must give it (`async () => []` for
14
+ one that stores no reactions). tg-cli and max-cli do not build a `StoredMessages` and are not affected.
15
+
16
+ ### Added
17
+
18
+ - **`reactions list` is in whatsapp-cli too** (`parity.json`: `tg` and `wa`; max-cli does not list who reacted).
9
19
 
10
20
  ## 0.479.0 — 29.10.2026
11
21
 
@@ -31,9 +31,8 @@ export interface StoredMessages {
31
31
  wroteTo(personId: Id): Promise<boolean>;
32
32
  /** Each voter's newest vote in the poll the message carries, newest first; a retracted vote has no answers. */
33
33
  pollVotes(chatId: Id, messageId: Id): Promise<PollVote[]>;
34
- /** Each person's newest reaction the store received for the message, newest first; a taken-back one is not listed.
35
- * Optional so an adapter that builds its own `StoredMessages` still compiles. */
36
- reactors?(chatId: Id, messageId: Id): Promise<Reactor[]>;
34
+ /** Each person's newest reaction the store received for the message, newest first; a taken-back one is not listed. */
35
+ reactors(chatId: Id, messageId: Id): Promise<Reactor[]>;
37
36
  }
38
37
  /** `listen` opens a connection that receives updates — only `watch` asks; the rest stay quiet. */
39
38
  export interface ConnectOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-core",
3
- "version": "0.479.0",
3
+ "version": "0.480.0",
4
4
  "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",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",
package/parity.json CHANGED
@@ -3671,16 +3671,16 @@
3671
3671
  "in": "all"
3672
3672
  },
3673
3673
  "reactions list": {
3674
- "in": ["tg"],
3675
- "reason": "max-cli and whatsapp-cli do not list who reacted to a message",
3674
+ "in": ["tg", "wa"],
3675
+ "reason": "max-cli does not list who reacted to a message",
3676
3676
  "options": {
3677
3677
  "--cursor": {
3678
- "in": ["tg"],
3679
- "reason": "max-cli and whatsapp-cli do not list who reacted to a message"
3678
+ "in": ["tg", "wa"],
3679
+ "reason": "max-cli does not list who reacted to a message"
3680
3680
  },
3681
3681
  "--limit": {
3682
- "in": ["tg"],
3683
- "reason": "max-cli and whatsapp-cli do not list who reacted to a message"
3682
+ "in": ["tg", "wa"],
3683
+ "reason": "max-cli does not list who reacted to a message"
3684
3684
  }
3685
3685
  }
3686
3686
  },