tanuki-telemetry 1.3.1 → 1.3.2

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 +14 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -46,7 +46,20 @@ async function update() {
46
46
  if (typeof installAllTemplateCommands === "function") {
47
47
  await installAllTemplateCommands();
48
48
  }
49
- // 2. Stop existing container
49
+ // 2. Build MCP server + frontend from source
50
+ console.log(" Building MCP server...");
51
+ try {
52
+ execSync("cd ~/.claude/mcp-servers/telemetry && npm run build 2>&1", {
53
+ stdio: "inherit", timeout: 60000,
54
+ });
55
+ execSync("cd ~/.claude/mcp-servers/telemetry/frontend && npm run build 2>&1", {
56
+ stdio: "inherit", timeout: 120000,
57
+ });
58
+ }
59
+ catch {
60
+ console.log(" Source build failed — continuing with existing dist");
61
+ }
62
+ // 3. Stop existing container
50
63
  console.log(" Stopping existing dashboard...");
51
64
  try {
52
65
  execSync("docker compose -f ~/.claude/mcp-servers/telemetry/docker-compose.yml down 2>&1", { stdio: "inherit", timeout: 30000 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tanuki-telemetry",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
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": {