tanuki-telemetry 1.3.0 → 1.3.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/dist/cli.js +12 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -46,7 +46,15 @@ async function update() {
46
46
  if (typeof installAllTemplateCommands === "function") {
47
47
  await installAllTemplateCommands();
48
48
  }
49
- // 2. Rebuild Docker image
49
+ // 2. Stop existing container
50
+ console.log(" Stopping existing dashboard...");
51
+ try {
52
+ execSync("docker compose -f ~/.claude/mcp-servers/telemetry/docker-compose.yml down 2>&1", { stdio: "inherit", timeout: 30000 });
53
+ }
54
+ catch {
55
+ // May not be running, that's fine
56
+ }
57
+ // 3. Rebuild Docker image
50
58
  console.log(" Rebuilding Docker image...");
51
59
  try {
52
60
  execSync("docker compose -f ~/.claude/mcp-servers/telemetry/docker-compose.yml build --no-cache 2>&1", { stdio: "inherit", timeout: 300000 });
@@ -55,13 +63,13 @@ async function update() {
55
63
  console.log(" Docker rebuild failed — is Docker running?");
56
64
  return;
57
65
  }
58
- // 3. Restart container
59
- console.log(" Restarting dashboard...");
66
+ // 4. Start fresh container
67
+ console.log(" Starting dashboard...");
60
68
  try {
61
69
  execSync("docker compose -f ~/.claude/mcp-servers/telemetry/docker-compose.yml up dashboard -d 2>&1", { stdio: "inherit", timeout: 60000 });
62
70
  }
63
71
  catch {
64
- console.log(" Restart failed — try manually: docker compose up dashboard -d");
72
+ console.log(" Start failed — try manually: docker compose up dashboard -d");
65
73
  return;
66
74
  }
67
75
  console.log("\n Update complete! Dashboard at http://localhost:3333\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tanuki-telemetry",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Local installer for Telemetry MCP server — setup, start, stop, and status for Claude Code autonomous workflows",
5
5
  "type": "module",
6
6
  "bin": {