@mkterswingman/yt-mcp 0.3.4 → 0.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkterswingman/yt-mcp",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "YouTube MCP client — local subtitles + remote API proxy",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  /**
4
- * Post-install: show a prominent setup hint for first-time users.
5
- * Cannot auto-run setup because npm strips TTY from postinstall scripts.
4
+ * Post-install: show setup hint for first-time users.
5
+ * Uses stderr because npm suppresses stdout from dependency postinstall scripts.
6
6
  */
7
7
 
8
8
  import { existsSync } from "node:fs";
@@ -16,14 +16,16 @@ if (existsSync(authFile)) {
16
16
  process.exit(0);
17
17
  }
18
18
 
19
- console.log("");
20
- console.log(" ╔═══════════════════════════════════════════╗");
21
- console.log(" ║ ║");
22
- console.log(" yt-mcp installed successfully! 🎉 ");
23
- console.log(" ");
24
- console.log(" Run this to get started: ");
25
- console.log(" ");
26
- console.log(" yt-mcp setup ");
27
- console.log(" ");
28
- console.log(" ╚═══════════════════════════════════════════╝");
29
- console.log("");
19
+ // npm suppresses stdout from postinstall — use stderr to ensure visibility
20
+ const msg = `
21
+ ╔═══════════════════════════════════════════╗
22
+
23
+ yt-mcp installed successfully! 🎉
24
+
25
+ Run this to get started:
26
+
27
+ yt-mcp setup
28
+ ║ ║
29
+ ╚═══════════════════════════════════════════╝
30
+ `;
31
+ process.stderr.write(msg + "\n");