@holdyourvoice/hyv 2.9.16 → 2.9.17

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/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5638,7 +5638,9 @@ async function authenticateWithBrowser() {
5638
5638
  const authData = await new Promise((resolve16, reject) => {
5639
5639
  const timeout = setTimeout(() => {
5640
5640
  server.close();
5641
- reject(new Error("Authentication timeout. Please try again."));
5641
+ reject(new Error(
5642
+ 'Authentication timeout \u2014 browser did not return to the local callback.\nThis usually means Windows Defender Firewall blocked the local server.\nFix: run in PowerShell as Admin:\n New-NetFirewallRule -DisplayName "hyv-cli" -Direction Inbound -LocalPort ' + port + " -Protocol TCP -Action Allow\nOr use the manual API key path: hyv init --api-key <key>"
5643
+ ));
5642
5644
  }, 12e4);
5643
5645
  server.on("request", async (req, res) => {
5644
5646
  const url = new URL(req.url || "/", `http://127.0.0.1:${port}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holdyourvoice/hyv",
3
- "version": "2.9.16",
3
+ "version": "2.9.17",
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": {