@wirecat/cli-template 0.5.0 → 0.6.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 +21 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/security.md +7 -4
- package/package.json +2 -2
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@ 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.6.0 — 26.10.2026
|
|
9
|
+
|
|
10
|
+
### Changed — may break callers
|
|
11
|
+
|
|
12
|
+
- **The skeleton runs on cli-core 0.444.0; cli-base stays at 0.59.0**, the only line cli-core 0.444 accepts. A run
|
|
13
|
+
record now hides more of what was typed: a full 40-character commit hash, and the value of a flag or argument named
|
|
14
|
+
like a secret (`--pin <chat>`). A test of a CLI that expects such a word back in `runs show` needs updating. The
|
|
15
|
+
commands and their help do not change.
|
|
16
|
+
|
|
17
|
+
### Security
|
|
18
|
+
|
|
19
|
+
- **A run record and a kept error message hide hex keys and a password written after its name with a space** (from
|
|
20
|
+
cli-core 0.444.0). A random-looking run of 20 or more lower-case hex characters is `[redacted]`; a short commit
|
|
21
|
+
hash, a UUID and upper-case hex stay. More secret names are known (`passwd`, `pwd`, `private_key`, `pass`, `pin`,
|
|
22
|
+
`otp`, `2fa`, `clave`, `пароль`, `код` and others), and the value after one is hidden after a space as well as after
|
|
23
|
+
`=` or `:` (`password hunter2`), unless it is letters only. `docs/security.md` says what is found and what is not.
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- **`pnpm kit:e2e` checks that a password typed after its name is `[redacted]`** in the failed run's record.
|
|
28
|
+
|
|
8
29
|
## 0.5.0 — 26.10.2026
|
|
9
30
|
|
|
10
31
|
### Changed — may break callers
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.6.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/docs/security.md
CHANGED
|
@@ -13,10 +13,13 @@ country code, or 11 to 15 digits in a row, so a long id of that length is hidden
|
|
|
13
13
|
you type, run `clidev personal config set record_input false`.
|
|
14
14
|
|
|
15
15
|
A secret is also found by what it looks like, in a run record and in a kept error message: a token in a known
|
|
16
|
-
format (GitHub, OpenAI, Slack, AWS, Stripe, npm and the like), a `Bearer` credential,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
format (GitHub, OpenAI, Slack, AWS, Stripe, npm and the like), a `Bearer` credential, a random-looking string of 20 or
|
|
17
|
+
more characters, and a random-looking run of 20 or more lower-case hex characters, such as a hex key or a full commit
|
|
18
|
+
hash. The value after a secret name is hidden too, whether it follows `=`, `:` or a space: `password=`, `API_TOKEN=`,
|
|
19
|
+
`password hunter2`, `pin 1234`. Some secrets look like ordinary words and stay: a value of letters only after a
|
|
20
|
+
secret name and a space (`pin this message` stays), a hex key in upper case, a short commit hash or a UUID, a short
|
|
21
|
+
password typed without a secret name before it, and a secret inside a link or a file path unless it is in a known
|
|
22
|
+
format or after a secret name.
|
|
20
23
|
|
|
21
24
|
`config.json` is saved readable by you only (`0600`), and its folder is created for you only (`0700`). A file or
|
|
22
25
|
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
|
+
"version": "0.6.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",
|
|
@@ -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.
|
|
88
|
+
"@wirecat/cli-core": "0.444.0",
|
|
89
89
|
"commander": "15.0.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.6.0"
|