@wirecat/cli-base 0.47.2 → 0.47.4

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
@@ -8,6 +8,24 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b
8
8
  Every entry says what changed as a caller sees it, why, and what to watch for — the rules are
9
9
  [`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog).
10
10
 
11
+ ## 0.47.4 — 20.10.2026
12
+
13
+ ### Added
14
+
15
+ - **Selected annotation workflows share the `annotations` resource and explicit `--target-store` and
16
+ `--bindings` flags.** A CLI can export, check and restore derived records without implying a full
17
+ archive backup or choosing destination identities by name. Each command states its included and
18
+ omitted facets; `check` keeps its existing read-only meaning.
19
+
20
+ ## 0.47.3 — 20.10.2026
21
+
22
+ ### Fixed
23
+
24
+ - **A messenger chat id parses unquoted in a query.** `chat:133…@lid`, `chat:120…@g.us` and `…@s.whatsapp.net` are
25
+ one term now; before, `@lid` was read as minimum-should-match and the query failed with
26
+ `query.unsupported-operator`. An `@` inside a word is part of the value when a letter follows it; `alpha@2` and
27
+ `(a b)@2` are still refused.
28
+
11
29
  ## 0.47.2 — 19.10.2026
12
30
 
13
31
  ### Added
@@ -107,7 +107,7 @@ const tokensOf = (text, fail = queryError) => {
107
107
  at += 2;
108
108
  continue;
109
109
  }
110
- if (next === "@" && /^@[\p{L}\p{N}][^\s@]*\.[\p{L}\p{N}]/u.test(text.slice(at))) {
110
+ if (next === "@" && /^@(?:\p{L}|[\p{L}\p{N}][^\s@]*\.[\p{L}\p{N}])/u.test(text.slice(at))) {
111
111
  at++;
112
112
  continue;
113
113
  }
@@ -1,4 +1,18 @@
1
1
  export const WHAT_FLAGS = [
2
+ {
3
+ name: "--target-store",
4
+ value: "<file>",
5
+ role: "target",
6
+ type: "path",
7
+ meaning: "explicit destination store file for checking or restoring selected annotations",
8
+ },
9
+ {
10
+ name: "--bindings",
11
+ value: "<file>",
12
+ role: "target",
13
+ type: "path",
14
+ meaning: "JSON file mapping source typed references to explicitly selected destination references",
15
+ },
2
16
  {
3
17
  name: "--context-source",
4
18
  value: "<id=cursor>",
@@ -214,6 +214,10 @@ const collections = [
214
214
  ["documents", "files imported from Google Drive or Docs, or linked in a chat"],
215
215
  ["notes", "text the owner writes, or files from a notes folder"],
216
216
  ["projects", "the owner's work units with a task key"],
217
+ [
218
+ "annotations",
219
+ "derived records attached to a selected entity, with explicit coverage of included and omitted facets",
220
+ ],
217
221
  ["organizations", "companies, teams, families or communities"],
218
222
  [
219
223
  "identities",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-base",
3
- "version": "0.47.2",
3
+ "version": "0.47.4",
4
4
  "description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",