@holdyourvoice/hyv 2.8.3 → 2.8.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable CLI changes. Also mirrored to [holdyourvoice.com/changelog](https://holdyourvoice.com/changelog) for user-facing releases.
4
4
 
5
+ ## [2.8.4] — 2026-06-12
6
+
7
+ ### Fixed
8
+ - Postinstall only auto-runs welcome when npm shows script output; otherwise first bare `hyv` shows full onboarding (fixes silent global installs)
9
+
5
10
  ## [2.8.3] — 2026-06-12
6
11
 
7
12
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holdyourvoice/hyv",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
4
4
  "description": "Free local AI writing scan for cursor & claude. MCP server, 220+ pattern detection, voice profiles. npx @holdyourvoice/hyv welcome",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -123,8 +123,11 @@ if (configured.length > 0) {
123
123
  print('');
124
124
  }
125
125
 
126
- // First install → run onboarding immediately (no y/N prompt)
127
- if (!quiet && !hasCompletedOnboarding(hyvDir)) {
126
+ // First install → onboarding during install when npm shows script output; else first `hyv` runs it
127
+ const canShowOnboarding =
128
+ process.stdout.isTTY || process.env.npm_config_foreground_scripts === 'true';
129
+
130
+ if (!quiet && !hasCompletedOnboarding(hyvDir) && canShowOnboarding) {
128
131
  print('');
129
132
  print(' starting onboarding...');
130
133
  print('');