@wirecat/cli-base 0.83.1 → 0.84.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
@@ -8,6 +8,23 @@ 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.84.0 — 08.11.2026
12
+
13
+ ### Added
14
+
15
+ - **A reusable `release-start.yml` workflow starts a release from GitHub, replacing `bin/release` on a laptop.** A CLI
16
+ adds a small `workflow_dispatch` caller; one run restores and folds the changelog, raises a version npm already has
17
+ through one pull request, merges it once GitHub reports it mergeable (required checks only), and starts the
18
+ repository's own `release.yml` with the merged commit. It needs a GitHub App token, because a pull request opened
19
+ with `GITHUB_TOKEN` does not run its checks on its own. Nothing calls it yet; setup and the open points are in
20
+ [`docs/dev/release-workflow.md`](docs/dev/release-workflow.md).
21
+ - **Vocabulary for memories that follow their sources, and for sources added by hand** (cli-memo). The verb
22
+ `challenge`: say a record no longer holds, citing what contradicts it; it only proposes. The noun `sources`: what
23
+ the owner adds by hand to read from. Flags `--quote <ref=words...>` (the words of an `--evidence` reference a
24
+ record rests on), `--suggest <text>` (wording offered to the owner, deciding nothing), `--keep-copy` (keep the
25
+ original file as well as its text) and `--max-chars <n>` (a cap in characters; the `--max-*-bytes` budgets count
26
+ bytes, and text read for a person is cut by characters).
27
+
11
28
  ## 0.83.1 — 08.11.2026
12
29
 
13
30
  ### Fixed
@@ -0,0 +1,3 @@
1
+ import type { VocabularyFlag } from "./vocabulary.js";
2
+ /** Memories and facts that rest on cited sources, and sources the owner adds by hand. */
3
+ export declare const KNOWLEDGE_FLAGS: VocabularyFlag[];
@@ -0,0 +1,31 @@
1
+ /** Memories and facts that rest on cited sources, and sources the owner adds by hand. */
2
+ export const KNOWLEDGE_FLAGS = [
3
+ {
4
+ name: "--quote",
5
+ value: "<ref=words...>",
6
+ role: "value",
7
+ type: "list",
8
+ meaning: "the words an --evidence reference says that a record rests on, as <ref>=<words>, one per reference",
9
+ },
10
+ {
11
+ name: "--suggest",
12
+ value: "<text>",
13
+ role: "value",
14
+ type: "string",
15
+ meaning: "wording offered for the owner to take or leave; it decides nothing",
16
+ },
17
+ {
18
+ name: "--keep-copy",
19
+ role: "mode",
20
+ type: "switch",
21
+ meaning: "keep a copy of the original file as well as its text",
22
+ },
23
+ {
24
+ name: "--max-chars",
25
+ value: "<n>",
26
+ role: "budget",
27
+ type: "count",
28
+ meaning: "at most this many characters read",
29
+ unit: "characters",
30
+ },
31
+ ];
@@ -2,6 +2,7 @@ import * as v from "valibot";
2
2
  import { CALENDAR_FLAGS } from "./flags-calendar.js";
3
3
  import { CRM_FLAGS } from "./flags-crm.js";
4
4
  import { HOW_FLAGS } from "./flags-how.js";
5
+ import { KNOWLEDGE_FLAGS } from "./flags-knowledge.js";
5
6
  import { MAIL_FLAGS } from "./flags-mail.js";
6
7
  import { PRIVACY_FLAGS } from "./flags-privacy.js";
7
8
  import { SCHEDULE_FLAGS } from "./flags-schedule.js";
@@ -193,6 +194,7 @@ const verbs = [
193
194
  ["assign", "name the person responsible for work, with their task role"],
194
195
  ["reverse", "record that an accepted decision no longer holds, without replacing it"],
195
196
  ["invalidate", "mark a derived record whose supporting evidence no longer holds"],
197
+ ["challenge", "say a record no longer holds, citing what contradicts it; it only proposes, and the owner decides"],
196
198
  ["acknowledge", "record successful delivery using the exact receipt issued when the item was claimed"],
197
199
  ["confirm", "the owner accepts what an agent proposed"],
198
200
  ["reject", "the owner refuses what an agent proposed"],
@@ -252,6 +254,7 @@ const collections = [
252
254
  ["tracking", "the chats whose member lists are fetched daily"],
253
255
  ["documents", "files imported from Google Drive or Docs, or linked in a chat"],
254
256
  ["notes", "text the owner writes, or files from a notes folder"],
257
+ ["sources", "what the owner adds by hand to read from: a file, a web page or a pasted text, kept as its text"],
255
258
  ["projects", "the owner's work units with a task key"],
256
259
  [
257
260
  "annotations",
@@ -417,6 +420,7 @@ export const VOCABULARY = defineVocabulary({
417
420
  ...PRIVACY_FLAGS,
418
421
  ...CALENDAR_FLAGS,
419
422
  ...MAIL_FLAGS,
423
+ ...KNOWLEDGE_FLAGS,
420
424
  ...CRM_FLAGS,
421
425
  ...SCHEDULE_FLAGS,
422
426
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-base",
3
- "version": "0.83.1",
3
+ "version": "0.84.0",
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",