@winding-labs/zest 2.0.0 → 2.2.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 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/spawn-hidden.ts
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.0.0";
204
- var ASSETS = JSON.parse('{"darwin-arm64":{"file":"zest-darwin-arm64.gz","sha256":"bcd4624180a179be0bcf3d430914045d9373c5168f7d4d252a37bf33d58bfe85"},"darwin-x64":{"file":"zest-darwin-x64.gz","sha256":"78b794050e19ab02edb441d1b9ba8df7c94cef52aacd6fc499fc88574a91b972"},"linux-arm64":{"file":"zest-linux-arm64.gz","sha256":"323746cf595fcee652c294a2ade2a1cf620090fd24b3757c8ecd787926d2b9e7"},"linux-x64":{"file":"zest-linux-x64.gz","sha256":"f323d11854f6f7b2b3dd49a60ede50b353a0f30916a28da0c2a117315da5e1d1"},"win-x64":{"file":"zest-win-x64.exe.zip","sha256":"a40757910d26b849f1b8c5247b3831258f7989f6fa47a9810b7bb65cec8fc78d"}}');
202
+ var VERSION = "2.2.0";
203
+ var ASSETS = JSON.parse('{"darwin-arm64":{"file":"zest-darwin-arm64.gz","sha256":"1dc42973505840c4b39ad5e7eb316e6bdd58b13c147a5b7d9b4988ab53e2edc5"},"darwin-x64":{"file":"zest-darwin-x64.gz","sha256":"eacb642c6cc1e478907916a5f9b01bc53e55873575d3dbd49ab8223e69ee3c00"},"linux-arm64":{"file":"zest-linux-arm64.gz","sha256":"84c10138a87ea053ac0975666e21019a8a2bb87150add53c9bdcad05a8ff01c4"},"linux-x64":{"file":"zest-linux-x64.gz","sha256":"6af8df08d2479162331f69fec3e220a1c6bee456e2033302b9f5b414d2415a05"},"win-x64":{"file":"zest-win-x64.exe.zip","sha256":"ef5b2dfc9b902af92cd07c27df297c7327773c6d6690510a38cf8e823cb066b4"}}');
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))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winding-labs/zest",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "Measure your AI coding sessions with Zest",
5
5
  "type": "module",
6
6
  "bin": {