@wirecat/cli-template 0.12.0 → 0.13.1
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/ci.yml +3 -0
- package/CHANGELOG.md +18 -0
- package/dist/bin/clidev.js +2 -2
- package/dist/bundle/{chunk-QQUFZLFP.js → chunk-N5GXKDBC.js} +1 -1
- package/dist/bundle/clidev.js +2 -2
- package/dist/bundle/{mcp-TEMCENVV.js → mcp-7XPOACO4.js} +1 -1
- package/dist/bundle/{program-RNGI562F.js → program-ZNXLJ3D2.js} +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/scripts/audit.sh +4 -1
- package/src/version.ts +1 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -33,7 +33,10 @@ jobs:
|
|
|
33
33
|
# Once a CLI has both, it adds the script and removes this skip; see docs/dev/TESTING.md.
|
|
34
34
|
skip: |
|
|
35
35
|
contracts:upgrade
|
|
36
|
+
# Reads the lockfile, so a frozen install cannot hide a cli-core/cli-base peer mismatch: the packed CLI would
|
|
37
|
+
# get two cli-base copies and crash at start while every local test passes.
|
|
36
38
|
checks: |
|
|
39
|
+
pnpm peers check
|
|
37
40
|
bash scripts/audit.sh
|
|
38
41
|
pnpm smoke:node
|
|
39
42
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ Notable changes to `@wirecat/cli-template`. One section per version, newest firs
|
|
|
5
5
|
|
|
6
6
|
<!-- cspell:words clawhub gcal katex openclaw smol whatsapp -->
|
|
7
7
|
|
|
8
|
+
## 0.13.1 — 02.11.2026
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **`pnpm release:check` no longer downloads the other WireCat CLIs on every run.** Its command audit gave npm the
|
|
13
|
+
throwaway home folder, so npm's cache was empty each time and a slow network failed the release with `ECONNRESET`.
|
|
14
|
+
The install now uses your own npm cache and retries a failed download with longer waits; the CLIs it runs still get
|
|
15
|
+
the throwaway folder. A CLI gets it from `upgrade`.
|
|
16
|
+
|
|
17
|
+
## 0.13.0 — 01.11.2026
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **`ci.yml` runs `pnpm peers check`.** A cli-core whose cli-base peer range misses the pinned cli-base passed every
|
|
22
|
+
local test, since pnpm let cli-core use the app's own cli-base, and crashed the packed CLI, which `npm install` gave
|
|
23
|
+
two cli-base copies. The check reads the lockfile, so `--frozen-lockfile` cannot hide it. It fails on any unmet
|
|
24
|
+
peer, not only cli-base; a CLI gets it from `upgrade`.
|
|
25
|
+
|
|
8
26
|
## 0.12.0 — 01.11.2026
|
|
9
27
|
|
|
10
28
|
### Added
|
package/dist/bin/clidev.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.13.1\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -29,7 +29,7 @@ if (
|
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
31
|
const running = import("../bundle/clidev.js")
|
|
32
|
-
const chunks = ["../bundle/all-profiles-MJ6XSFOO.js","../bundle/anthropic-W5UKBZUB.js","../bundle/app-server-EZ46JAHB.js","../bundle/bun-HB6O2TTT.js","../bundle/bun-sqlite-KBXOW2ES.js","../bundle/decode-AMXUVKNY.js","../bundle/dist-ESHIQU4M.js","../bundle/echarts-GJDMQ2AQ.js","../bundle/embed-L4CRZ2XQ.js","../bundle/embedder-IBGV4M2K.js","../bundle/first-screen-X5IJKBSU.js","../bundle/instructions-YJECS4KN.js","../bundle/mcp-
|
|
32
|
+
const chunks = ["../bundle/all-profiles-MJ6XSFOO.js","../bundle/anthropic-W5UKBZUB.js","../bundle/app-server-EZ46JAHB.js","../bundle/bun-HB6O2TTT.js","../bundle/bun-sqlite-KBXOW2ES.js","../bundle/decode-AMXUVKNY.js","../bundle/dist-ESHIQU4M.js","../bundle/echarts-GJDMQ2AQ.js","../bundle/embed-L4CRZ2XQ.js","../bundle/embedder-IBGV4M2K.js","../bundle/first-screen-X5IJKBSU.js","../bundle/instructions-YJECS4KN.js","../bundle/mcp-7XPOACO4.js","../bundle/mcp-OQBZXELQ.js","../bundle/mcp-RDZGYPSY.js","../bundle/node-NQG4EVZR.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-BR7F3BLB.js","../bundle/oauth-J7UAWNIK.js","../bundle/open-BR47R5UE.js","../bundle/process-66I7RDPJ.js","../bundle/program-ZNXLJ3D2.js","../bundle/prompt-NE5JJ7UP.js","../bundle/recognize-GC3YFVIA.js","../bundle/remote-QELOMKQM.js","../bundle/rerank-BH6TZ2SP.js","../bundle/serve-WWLRNDT2.js","../bundle/server-DE6NLNUF.js","../bundle/server-ZPSQKOAH.js","../bundle/state-2BEGXAMO.js","../bundle/store-AH6WZMCF.js","../bundle/store-maintenance-command-PBXX3IEV.js"]
|
|
33
33
|
// After the server answers its first request, so it starts no later.
|
|
34
34
|
if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
|
|
35
35
|
await running
|
package/dist/bundle/clidev.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
IDENTITY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N5GXKDBC.js";
|
|
7
7
|
import {
|
|
8
8
|
catchCrashes
|
|
9
9
|
} from "./chunk-EFHLQXG6.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-ZVVMGPBJ.js";
|
|
|
14
14
|
import { enableCompileCache } from "node:module";
|
|
15
15
|
enableCompileCache();
|
|
16
16
|
var stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
17
|
-
var { run } = await import("./program-
|
|
17
|
+
var { run } = await import("./program-ZNXLJ3D2.js");
|
|
18
18
|
try {
|
|
19
19
|
process.exitCode = await run(process.argv.slice(2));
|
|
20
20
|
} finally {
|
|
@@ -593,7 +593,7 @@ import {
|
|
|
593
593
|
IDENTITY,
|
|
594
594
|
PACKAGE,
|
|
595
595
|
SKILL
|
|
596
|
-
} from "./chunk-
|
|
596
|
+
} from "./chunk-N5GXKDBC.js";
|
|
597
597
|
import {
|
|
598
598
|
isTextModelInstalled,
|
|
599
599
|
textModelsDirectory
|
|
@@ -17198,7 +17198,7 @@ var serveCommand3 = /* @__PURE__ */ __name(() => annotate(new Command("serve"),
|
|
|
17198
17198
|
run: run3,
|
|
17199
17199
|
...environment.signal ? { signal: environment.signal } : {}
|
|
17200
17200
|
};
|
|
17201
|
-
const { serveMcp, serveMcpOverHttp } = await import("./mcp-
|
|
17201
|
+
const { serveMcp, serveMcpOverHttp } = await import("./mcp-7XPOACO4.js");
|
|
17202
17202
|
if (!flags.http)
|
|
17203
17203
|
return serveMcp(options);
|
|
17204
17204
|
const { portOf: portOf2, publicUrlOf: publicUrlOf2 } = await import("./mcp-RDZGYPSY.js");
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.13.1";
|
|
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.13.1";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-template",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
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",
|
package/scripts/audit.sh
CHANGED
|
@@ -7,12 +7,15 @@ root=$(cd "$(dirname "$0")/.." && pwd)
|
|
|
7
7
|
command=$(node --input-type=module -e "import('$root/dist/identity.js').then((m) => console.log(m.IDENTITY.command))")
|
|
8
8
|
scratch=$(mktemp -d)
|
|
9
9
|
trap 'rm -rf "$scratch"' EXIT
|
|
10
|
+
# Read before HOME moves, so the install reuses the owner's npm cache instead of downloading every CLI again.
|
|
11
|
+
npm_cache=$(npm config get cache)
|
|
10
12
|
# A CLI that starts may move the store under HOME; every CLI run here gets a throwaway one.
|
|
11
13
|
# Moved folders do not hide the keyring: it is reached over D-Bus.
|
|
12
14
|
export HOME="$scratch/home" MESSAGING_STORE="$scratch/store" WIRECAT_STATE_DIR="$scratch/state"
|
|
13
15
|
export DBUS_SESSION_BUS_ADDRESS=disabled:
|
|
14
16
|
mkdir -p "$HOME"
|
|
15
|
-
npm install -g --prefix "$scratch/prefix" --
|
|
17
|
+
npm install -g --prefix "$scratch/prefix" --cache "$npm_cache" --fetch-retries 6 --fetch-retry-mintimeout 20000 \
|
|
18
|
+
--fetch-retry-maxtimeout 120000 --maxsockets 4 --ignore-scripts --no-audit --no-fund --loglevel error \
|
|
16
19
|
@wirecat/tg-cli @wirecat/max-cli @wirecat/whatsapp-cli @wirecat/cli-memo @wirecat/drive-cli @wirecat/zoom-cli \
|
|
17
20
|
@wirecat/gcal-cli
|
|
18
21
|
bin="$scratch/prefix/bin"
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.13.1"
|