claude-usage-dashboard 1.3.7 → 1.3.8

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/bin/cli.sh ADDED
@@ -0,0 +1,11 @@
1
+ #!/bin/sh
2
+ # Resolve symlinks to find the real script location
3
+ SCRIPT="$0"
4
+ while [ -L "$SCRIPT" ]; do
5
+ DIR="$(cd -P "$(dirname "$SCRIPT")" && pwd)"
6
+ SCRIPT="$(readlink "$SCRIPT")"
7
+ case "$SCRIPT" in /*) ;; *) SCRIPT="$DIR/$SCRIPT" ;; esac
8
+ done
9
+ DIR="$(cd -P "$(dirname "$SCRIPT")" && pwd)"
10
+
11
+ exec node "$DIR/../server/index.js" "$@"
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "claude-usage-dashboard",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Dashboard that visualizes Claude Code usage from local session logs",
5
5
  "main": "server/index.js",
6
6
  "bin": {
7
- "claude-usage-dashboard": "server/index.js"
7
+ "claude-usage-dashboard": "bin/cli.sh"
8
8
  },
9
9
  "files": [
10
10
  "bin/",
package/server/index.js CHANGED
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  import express from 'express';
3
2
  import path from 'path';
4
3
  import os from 'os';