@usagefleet/cli 1.2.140 → 1.2.142

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/hook.js CHANGED
@@ -19,7 +19,9 @@ const GUARD_COMMAND = /usagefleet.*\bguard\b/;
19
19
  * shells can be tested; cmd.exe has no inline `VAR=value cmd` form, and the
20
20
  * POSIX prefix there would be read as a program name and never launch. */
21
21
  export function guardCommand(program, configPath, platform = process.platform) {
22
- const quote = (p) => (p.includes(' ') ? `"${p}"` : p);
22
+ // Claude Code on Windows runs hooks through Git Bash, which strips the backslashes
23
+ // from an unquoted `C:\Users\...\index.js`; node then exits 1 and the prompt passes.
24
+ const quote = (p) => (p.includes(' ') || p.includes('\\') ? `"${p}"` : p);
23
25
  const command = program.map(quote).join(' ');
24
26
  if (!configPath) {
25
27
  return command;
package/dist/release.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by .github/workflows/release.yml.
2
- export const RELEASE_VERSION = "1.2.140";
2
+ export const RELEASE_VERSION = "1.2.142";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usagefleet/cli",
3
- "version": "1.2.140",
3
+ "version": "1.2.142",
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",