@usagefleet/cli 1.2.173 → 1.2.174

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/dist/release.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by .github/workflows/release.yml.
2
- export const RELEASE_VERSION = "1.2.173";
2
+ export const RELEASE_VERSION = "1.2.174";
package/dist/update.js CHANGED
@@ -115,7 +115,9 @@ function run(cmd, args) {
115
115
  return new Promise(resolve => {
116
116
  // shell on Windows: node refuses to spawn a .cmd directly since the 2024
117
117
  // argument-injection fix. Every argument here is a literal or VERSION-checked.
118
- const child = spawn(cmd, args, { shell: process.platform === 'win32', stdio: 'ignore', env: pathWithNode() });
118
+ // cmd.exe splits an unquoted `C:\Program Files\nodejs\npm.cmd` at the space.
119
+ const shell = process.platform === 'win32';
120
+ const child = spawn(shell ? `"${cmd}"` : cmd, args, { shell, stdio: 'ignore', env: pathWithNode() });
119
121
  const timer = setTimeout(() => child.kill(), RUN_TIMEOUT_MS);
120
122
  // Node emits 'close' after 'error' for a failed spawn, so both handlers can
121
123
  // run; `settled` makes the first one win. oxlint's promise rule sees the two
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usagefleet/cli",
3
- "version": "1.2.173",
3
+ "version": "1.2.174",
4
4
  "description": "Tails Claude Code, Claude Desktop, and pi agent JSONL logs and reports token usage to a UsageFleet server.",
5
5
  "keywords": [
6
6
  "claude",