@winding-labs/zest 2.2.0 → 2.2.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.
Files changed (2) hide show
  1. package/bin/zest.js +3 -3
  2. package/package.json +1 -1
package/bin/zest.js CHANGED
@@ -199,8 +199,8 @@ var addToUserPath = (dir, first = false) => editUserPath(dir, true, first);
199
199
 
200
200
  // src/bootstrap.ts
201
201
  var REPO = "Winding-Labs/zest-cli";
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"}}');
202
+ var VERSION = "2.2.1";
203
+ var ASSETS = JSON.parse('{"darwin-arm64":{"file":"zest-darwin-arm64.gz","sha256":"ec9d47c55860fcb15162e7f05ceb8e8221c0fc1f854809ca5e3cdf3e4df93bcc"},"darwin-x64":{"file":"zest-darwin-x64.gz","sha256":"2b73d6d5b5d63fb2427c8c8c714dcfd9802ce45970e31bbf2ed09496dace0671"},"linux-arm64":{"file":"zest-linux-arm64.gz","sha256":"e9de80996c6babec031b2e5634c9bdae1eca7b9e8b8bda0f6dd02d9127a30473"},"linux-x64":{"file":"zest-linux-x64.gz","sha256":"bc6a0876880f54eb57cdb4d00329f097e65066a9297df50c135156450a4ad3d2"},"win-x64":{"file":"zest-win-x64.exe.zip","sha256":"aac3168bacf1b291ab2186492375bf416ff840e90ffc68267c11bd1e1f2885e9"}}');
204
204
  function linkOnPath(target) {
205
205
  const dir = join3(homedir2(), ".local", "bin");
206
206
  const link = join3(dir, "zest");
@@ -298,7 +298,7 @@ async function main() {
298
298
  const hint = windows ? addOnWindowsPath(stable) : linkOnPath(stable);
299
299
  if (hint)
300
300
  console.log(`Zest CLI is at ${stable}; ${hint}`);
301
- return spawnSync3(stable, args, { stdio: "inherit" }).status ?? 1;
301
+ return spawnSync3(stable, args, { stdio: "inherit", env: { ...process.env, ZEST_INSTALL_VIA: "npx" } }).status ?? 1;
302
302
  }
303
303
  main().then((code) => process.exit(code), (error) => {
304
304
  console.error(`Zest CLI could not be installed: ${error instanceof Error ? error.message : error}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winding-labs/zest",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Measure your AI coding sessions with Zest",
5
5
  "type": "module",
6
6
  "bin": {