claudetracer 1.0.3 → 1.0.6

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/dashboard.ts +8 -8
  2. package/package.json +1 -1
package/bin/dashboard.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { execSync } from "child_process";
3
- import * as path from "path";
4
3
 
5
- const dashboardPath = path.join(__dirname, "../tracer-dashboard");
4
+ const url = "https://tracer-dashboard-alpha.vercel.app";
6
5
 
7
- console.log("\n🚀 Starting Tracerit Dashboard...\n");
6
+ console.log("\n📊 Opening Tracer Dashboard...\n");
8
7
 
9
8
  try {
10
- execSync("npm run dev", {
11
- cwd: dashboardPath,
12
- stdio: "inherit",
13
- });
9
+ const platform = process.platform;
10
+ if (platform === "darwin") execSync(`open ${url}`);
11
+ else if (platform === "win32") execSync(`start ${url}`);
12
+ else execSync(`xdg-open ${url}`);
13
+ console.log(`✅ Dashboard opened at ${url}\n`);
14
14
  } catch (e) {
15
- console.error("Dashboard failed to start. Make sure tracer-dashboard is set up.");
15
+ console.log(`Open this URL in your browser: ${url}\n`);
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudetracer",
3
- "version": "1.0.3",
3
+ "version": "1.0.6",
4
4
  "description": "Agent replay and memory for Claude Code",
5
5
  "bin": {
6
6
  "claudetracer": "./bin/cli.js"