@holdyourvoice/hyv 2.9.2 → 2.9.3

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.9.3] — 2026-06-12
6
+
7
+ ### Fixed
8
+ - Browser signup OAuth — clearer error when Google denies; server fix for `redirect_uri_mismatch` (requires API deploy)
9
+
5
10
  ## [2.9.2] — 2026-06-12
6
11
 
7
12
  ### Changed
package/dist/index.js CHANGED
@@ -5479,6 +5479,15 @@ async function authenticateWithBrowser() {
5479
5479
  if (url.pathname === "/callback") {
5480
5480
  const code = url.searchParams.get("code");
5481
5481
  const state = url.searchParams.get("state");
5482
+ const oauthError = url.searchParams.get("error");
5483
+ if (oauthError) {
5484
+ res.writeHead(400, { "Content-Type": "text/html" });
5485
+ res.end(`<h1>Authentication failed</h1><p>${escapeHtml(oauthError)}</p>`);
5486
+ clearTimeout(timeout);
5487
+ server.close();
5488
+ reject(new Error(`Google sign-in failed: ${oauthError}`));
5489
+ return;
5490
+ }
5482
5491
  if (!code || !state) {
5483
5492
  res.writeHead(400, { "Content-Type": "text/html" });
5484
5493
  res.end("<h1>Authentication failed</h1><p>Missing code or state.</p>");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holdyourvoice/hyv",
3
- "version": "2.9.2",
3
+ "version": "2.9.3",
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": {