@wirecat/cli-template 0.12.0 → 0.13.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/ci.yml +3 -0
- package/CHANGELOG.md +9 -0
- package/dist/bin/clidev.js +2 -2
- package/dist/bundle/{chunk-QQUFZLFP.js → chunk-KUMIGCEQ.js} +1 -1
- package/dist/bundle/clidev.js +2 -2
- package/dist/bundle/{mcp-TEMCENVV.js → mcp-TBANBEHH.js} +1 -1
- package/dist/bundle/{program-RNGI562F.js → program-BVYPNH7L.js} +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -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,15 @@ 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.0 — 01.11.2026
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`ci.yml` runs `pnpm peers check`.** A cli-core whose cli-base peer range misses the pinned cli-base passed every
|
|
13
|
+
local test, since pnpm let cli-core use the app's own cli-base, and crashed the packed CLI, which `npm install` gave
|
|
14
|
+
two cli-base copies. The check reads the lockfile, so `--frozen-lockfile` cannot hide it. It fails on any unmet
|
|
15
|
+
peer, not only cli-base; a CLI gets it from `upgrade`.
|
|
16
|
+
|
|
8
17
|
## 0.12.0 — 01.11.2026
|
|
9
18
|
|
|
10
19
|
### 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.0\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-OQBZXELQ.js","../bundle/mcp-RDZGYPSY.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-OQBZXELQ.js","../bundle/mcp-RDZGYPSY.js","../bundle/mcp-TBANBEHH.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-BVYPNH7L.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-KUMIGCEQ.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-BVYPNH7L.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-KUMIGCEQ.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-TBANBEHH.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.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.13.0";
|
|
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.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",
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.13.0"
|