@wirecat/cli-template 0.4.0 → 0.5.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 +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/security.md +6 -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,26 @@ 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.5.0 — 26.10.2026
|
|
9
|
+
|
|
10
|
+
### Changed — may break callers
|
|
11
|
+
|
|
12
|
+
- **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
|
|
13
|
+
with its own program that calls `recordRuns` now keeps the command line in its run records without passing the
|
|
14
|
+
typed words through `run()`, secrets hidden; the skeleton's commands record through cli-core and need nothing.
|
|
15
|
+
|
|
16
|
+
### Security
|
|
17
|
+
|
|
18
|
+
- **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
|
|
19
|
+
a known format, a `Bearer` or `Basic` credential, the value after a secret name such as `password=`, and a
|
|
20
|
+
random-looking string of 20 or more characters. `docs/security.md` says what is found and what is not.
|
|
21
|
+
- **A config that will not load no longer lets a run record keep the typed words** (from cli-core 0.442.0). The words
|
|
22
|
+
are masked, as `record_input false` would.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **`pnpm kit:e2e` checks that a token typed as a word is `[redacted]`** in the failed run's record.
|
|
27
|
+
|
|
8
28
|
## 0.4.0 — 26.10.2026
|
|
9
29
|
|
|
10
30
|
### 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.5.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.5.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/docs/security.md
CHANGED
|
@@ -12,6 +12,12 @@ 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, the value after a secret name
|
|
17
|
+
such as `password=` or `API_TOKEN=`, and a random-looking string of 20 or more characters. Some secrets look like
|
|
18
|
+
ordinary words and stay: a hex key in one case shorter than 40 characters, a short password typed without a secret
|
|
19
|
+
name before it, and a secret inside a link or a file path unless it is in a known format or after a secret name.
|
|
20
|
+
|
|
15
21
|
`config.json` is saved readable by you only (`0600`), and its folder is created for you only (`0700`). A file or
|
|
16
22
|
folder made by an older version may be open to other users of the computer: `clidev doctor` lists each under
|
|
17
23
|
`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.5.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.442.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.5.0"
|