@wirecat/cli-template 0.4.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/.github/workflows/changelog-guard.yml +1 -1
- package/.github/workflows/ci.yml +1 -1
- package/.github/workflows/monthly.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/CHANGELOG.md +41 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/security.md +9 -0
- package/package.json +2 -2
- package/src/version.ts +1 -1
|
@@ -9,4 +9,4 @@ permissions:
|
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
11
11
|
changelog:
|
|
12
|
-
uses: WireCatLabs/cli-base/.github/workflows/changelog-guard.yml@
|
|
12
|
+
uses: WireCatLabs/cli-base/.github/workflows/changelog-guard.yml@a9aa6915309bd4ef415053df8f1af9b127f084cc # v0.61.0
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -19,7 +19,7 @@ permissions:
|
|
|
19
19
|
|
|
20
20
|
jobs:
|
|
21
21
|
ci:
|
|
22
|
-
uses: WireCatLabs/cli-base/.github/workflows/node-ci.yml@
|
|
22
|
+
uses: WireCatLabs/cli-base/.github/workflows/node-ci.yml@a9aa6915309bd4ef415053df8f1af9b127f084cc # v0.61.0
|
|
23
23
|
with:
|
|
24
24
|
pack: ${{ inputs.pack || false }}
|
|
25
25
|
bun-run: pnpm build && pnpm smoke:bun
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
contents: read
|
|
23
23
|
actions: read
|
|
24
24
|
security-events: write
|
|
25
|
-
uses: WireCatLabs/cli-base/.github/workflows/release-checks.yml@
|
|
25
|
+
uses: WireCatLabs/cli-base/.github/workflows/release-checks.yml@a9aa6915309bd4ef415053df8f1af9b127f084cc # v0.61.0
|
|
26
26
|
with:
|
|
27
27
|
dependencies: true
|
|
28
28
|
languages: '["actions","javascript-typescript"]'
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
contents: read
|
|
57
57
|
actions: read
|
|
58
58
|
security-events: write
|
|
59
|
-
uses: WireCatLabs/cli-base/.github/workflows/release-checks.yml@
|
|
59
|
+
uses: WireCatLabs/cli-base/.github/workflows/release-checks.yml@a9aa6915309bd4ef415053df8f1af9b127f084cc # v0.61.0
|
|
60
60
|
|
|
61
61
|
build:
|
|
62
62
|
needs: [checks, validation]
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,47 @@ 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
|
+
|
|
29
|
+
## 0.5.0 — 26.10.2026
|
|
30
|
+
|
|
31
|
+
### Changed — may break callers
|
|
32
|
+
|
|
33
|
+
- **The skeleton runs on cli-core 0.442.0; cli-base stays at 0.59.0**, the only line cli-core 0.442 accepts. A CLI
|
|
34
|
+
with its own program that calls `recordRuns` now keeps the command line in its run records without passing the
|
|
35
|
+
typed words through `run()`, secrets hidden; the skeleton's commands record through cli-core and need nothing.
|
|
36
|
+
|
|
37
|
+
### Security
|
|
38
|
+
|
|
39
|
+
- **A run record and a kept error message find a secret by what it looks like** (from cli-core 0.442.0): a token in
|
|
40
|
+
a known format, a `Bearer` or `Basic` credential, the value after a secret name such as `password=`, and a
|
|
41
|
+
random-looking string of 20 or more characters. `docs/security.md` says what is found and what is not.
|
|
42
|
+
- **A config that will not load no longer lets a run record keep the typed words** (from cli-core 0.442.0). The words
|
|
43
|
+
are masked, as `record_input false` would.
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
|
|
47
|
+
- **`pnpm kit:e2e` checks that a token typed as a word is `[redacted]`** in the failed run's record.
|
|
48
|
+
|
|
8
49
|
## 0.4.0 — 26.10.2026
|
|
9
50
|
|
|
10
51
|
### 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
|
@@ -12,6 +12,15 @@ phone number is replaced by `[redacted]` inside the word you typed, message text
|
|
|
12
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
13
|
you type, run `clidev personal config set record_input false`.
|
|
14
14
|
|
|
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, 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.
|
|
23
|
+
|
|
15
24
|
`config.json` is saved readable by you only (`0600`), and its folder is created for you only (`0700`). A file or
|
|
16
25
|
folder made by an older version may be open to other users of the computer: `clidev doctor` lists each under
|
|
17
26
|
`files.problems` and prints the `chmod` that fixes it. Windows is not checked. Report a vulnerability as [SECURITY.md](https://github.com/WireCatLabs/cli-template/blob/main/SECURITY.md)
|
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"
|