@wirecat/cli-template 0.3.0 → 0.4.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,6 +5,28 @@ Notable changes to `@wirecat/cli-template`. One section per version, newest firs
5
5
 
6
6
  <!-- cspell:words katex smol whatsapp -->
7
7
 
8
+ ## 0.4.0 — 26.10.2026
9
+
10
+ ### Changed — may break callers
11
+
12
+ - **The skeleton runs on cli-core 0.440.0; cli-base stays at 0.59.0**, the only line cli-core 0.440 accepts. The
13
+ `--record` help now says what a run keeps: "keep this run, with the command as typed and secrets hidden;
14
+ record_input false leaves the typed words out", no longer "ids and timings, never content". `docs/commands.md`
15
+ changes with it, and a CLI that keeps help snapshots refreshes them once. A command a CLI records itself with
16
+ `recorded` or `startRecording` can keep its command line by passing `context: runContextOf(…)`; the skeleton's
17
+ commands record through cli-core and need nothing.
18
+
19
+ ### Security
20
+
21
+ - **A phone number no longer reaches a run record** (from cli-core 0.440.0). One written with its "+" and country
22
+ code, or 11 to 15 digits in a row, is `[redacted]` inside the word typed, so a long id of that length is hidden as
23
+ well. `docs/security.md` says so.
24
+
25
+ ### Fixed
26
+
27
+ - **`pnpm docs:spell` also checks `AGENTS.md`, `CLAUDE.md` and `skills/`.** `package.json` is copied once, so a CLI
28
+ adds them to its own `docs:spell` by hand.
29
+
8
30
  ## 0.3.0 — 26.10.2026
9
31
 
10
32
  ### Changed — may break callers
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.3.0";
1
+ export declare const VERSION = "0.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.3.0";
1
+ export const VERSION = "0.4.0";
2
2
  //# sourceMappingURL=version.js.map
package/docs/commands.md CHANGED
@@ -29,7 +29,7 @@ lists the profiles on this computer.
29
29
  | `--full` | found items with their whole text and every provider field. |
30
30
  | `--dry-run` | preview parsed arguments and permissions before running the action. |
31
31
  | `--yes` | go ahead without the question an ask level puts before a write. |
32
- | `--record` | keep this run — ids and timings, never content. |
32
+ | `--record` | keep this run, with the command as typed and secrets hidden; record_input false leaves the typed words out. |
33
33
  | `--no-record` | do not keep it, whatever the configuration says. |
34
34
 
35
35
  ## `clidev commands`
package/docs/security.md CHANGED
@@ -7,8 +7,10 @@ What WireCat CLIs share — the keyring, permissions, MCP and what never reaches
7
7
  to any service yet.
8
8
 
9
9
  A run record keeps the command line as you typed it, so `clidev runs show` tells you what was run. A secret is still
10
- stored as `[redacted]`: an option named like a token or password, a password in a link, a long opaque string. To
11
- keep none of the words you type, run `clidev personal config set record_input false`.
10
+ stored as `[redacted]`: an option named like a token or password, a password in a link, a long opaque string. A
11
+ phone number is replaced by `[redacted]` inside the word you typed, message text included: one written with its "+" and
12
+ country code, or 11 to 15 digits in a row, so a long id of that length is hidden as well. To keep none of the words
13
+ you type, run `clidev personal config set record_input false`.
12
14
 
13
15
  `config.json` is saved readable by you only (`0600`), and its folder is created for you only (`0700`). A file or
14
16
  folder made by an older version may be open to other users of the computer: `clidev doctor` lists each under
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-template",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Start a new WireCat CLI: a working skeleton on cli-base and cli-core, copied by new and kept current by upgrade",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",
@@ -76,7 +76,7 @@
76
76
  "release:check": "pnpm standards:check && pnpm lint && pnpm typecheck && pnpm test:coverage && pnpm lint:commands && pnpm audit:commands && pnpm contracts:check && pnpm test:matrix:check && pnpm docs:check && pnpm generate:check && pnpm version:check && pnpm security:no-leak && pnpm package:check",
77
77
  "prepare": "lefthook install || true",
78
78
  "prepack": "pnpm build",
79
- "docs:spell": "cspell lint --config cspell.json --no-progress --no-summary README.md SECURITY.md CHANGELOG.md 'docs/*.md'",
79
+ "docs:spell": "cspell lint --config cspell.json --no-progress --no-summary README.md SECURITY.md CHANGELOG.md AGENTS.md CLAUDE.md 'docs/*.md' 'skills/**/*.md'",
80
80
  "kit:build": "tsc -p kit && node -e \"require('node:fs').copyFileSync('.gitignore', 'gitignore')\"",
81
81
  "kit:typecheck": "tsc -p kit/tsconfig.test.json",
82
82
  "kit:e2e": "bash kit/e2e.sh",
@@ -85,7 +85,7 @@
85
85
  "dependencies": {
86
86
  "@modelcontextprotocol/server": "2.4.0",
87
87
  "@wirecat/cli-base": "0.59.0",
88
- "@wirecat/cli-core": "0.439.0",
88
+ "@wirecat/cli-core": "0.440.0",
89
89
  "commander": "15.0.0"
90
90
  },
91
91
  "devDependencies": {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.3.0"
1
+ export const VERSION = "0.4.0"