@winding-labs/zest 2.0.0 → 2.1.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/README.md +1 -1
- package/bin/zest.js +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Zest CLI
|
|
2
2
|
|
|
3
|
-
Measure your AI coding sessions with [Zest](https://meetzest.com). One command installs the Zest plugin of each AI coding tool you pick (Claude Code, Codex, Grok Build, Hermes, opencode, Freebuff):
|
|
3
|
+
Measure your AI coding sessions with [Zest](https://meetzest.com/?utm_source=npmjs.com&utm_medium=referral&utm_campaign=npm-readme), a usage tracker and dashboard for Claude Code, Codex and the other coding agents your team runs. One command installs the Zest plugin of each AI coding tool you pick (Claude Code, Codex, Grok Build, Hermes, opencode, Freebuff):
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
npx @winding-labs/zest
|
package/bin/zest.js
CHANGED
|
@@ -154,7 +154,7 @@ function gc(cacheBase, pinnedVersion, prefetchedVersion, currentVersion, logFn)
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
// ../../packages/plugin-common/src/utils/
|
|
157
|
+
// ../../packages/plugin-common/src/utils/hidden-launcher.ts
|
|
158
158
|
var HIDDEN_LAUNCHER_FILENAME = "launch-hidden.vbs";
|
|
159
159
|
var HIDDEN_LAUNCHER_VBS = [
|
|
160
160
|
"' Launch a program hidden and detached (no console flash). Args: <exe> [args...]",
|
|
@@ -169,7 +169,6 @@ var HIDDEN_LAUNCHER_VBS = [
|
|
|
169
169
|
""
|
|
170
170
|
].join(`\r
|
|
171
171
|
`);
|
|
172
|
-
|
|
173
172
|
// src/platform/windows-path.ts
|
|
174
173
|
import { spawnSync as spawnSync2 } from "node:child_process";
|
|
175
174
|
function userPathScript(add, first = false) {
|
|
@@ -200,8 +199,8 @@ var addToUserPath = (dir, first = false) => editUserPath(dir, true, first);
|
|
|
200
199
|
|
|
201
200
|
// src/bootstrap.ts
|
|
202
201
|
var REPO = "Winding-Labs/zest-cli";
|
|
203
|
-
var VERSION = "2.
|
|
204
|
-
var ASSETS = JSON.parse('{"darwin-arm64":{"file":"zest-darwin-arm64.gz","sha256":"
|
|
202
|
+
var VERSION = "2.1.0";
|
|
203
|
+
var ASSETS = JSON.parse('{"darwin-arm64":{"file":"zest-darwin-arm64.gz","sha256":"d0b7c3b50e72f10911c421141e4bf9af58df9760fcff57227af1bb008a9cebb1"},"darwin-x64":{"file":"zest-darwin-x64.gz","sha256":"6a2a26f8742b3e5469fed0009edc412112bd8724163710d43084a919f9bc68d9"},"linux-arm64":{"file":"zest-linux-arm64.gz","sha256":"d87a5ce5f612247e8cd15a03eb2ea5a94ba2c6b03cd0fc340a8e77e0d0d1a73d"},"linux-x64":{"file":"zest-linux-x64.gz","sha256":"b547e54f7e76d7c6850af42b48a27c07cc47d4d600dda64ca21d69df452328e0"},"win-x64":{"file":"zest-win-x64.exe.zip","sha256":"15214b5f982fbca7a6a652546e6984de47caab33cf7e8206ab0240beac979ca1"}}');
|
|
205
204
|
function linkOnPath(target) {
|
|
206
205
|
const dir = join3(homedir2(), ".local", "bin");
|
|
207
206
|
const link = join3(dir, "zest");
|
|
@@ -259,6 +258,10 @@ function removeOldExecutables(dir) {
|
|
|
259
258
|
async function main() {
|
|
260
259
|
const stable = join3(homedir2(), ".zest", "bin", windows ? "zest.exe" : "zest");
|
|
261
260
|
const given = process.argv.slice(2);
|
|
261
|
+
if (given.length === 1 && given[0] === "--version") {
|
|
262
|
+
console.log(VERSION);
|
|
263
|
+
return 0;
|
|
264
|
+
}
|
|
262
265
|
const args = ["install", ...given[0] === "install" ? given.slice(1) : given];
|
|
263
266
|
if (args.includes("--uninstall")) {
|
|
264
267
|
if (existsSync2(stable))
|