@vibe-assurance/cli 1.7.6 → 1.7.7

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": "@vibe-assurance/cli",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "Vibe Assurance CLI - Connect AI coding agents to your governance platform via MCP",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -76,8 +76,16 @@ async function login() {
76
76
  if (error) {
77
77
  // Authentication failed - use description if available
78
78
  const errorMessage = errorDescription || error;
79
- res.writeHead(400, { 'Content-Type': 'text/html' });
80
- res.end(getErrorHtml(errorMessage));
79
+
80
+ // For license errors, redirect to pricing page instead of showing error HTML
81
+ if (error === 'cli_access_denied') {
82
+ res.writeHead(302, { 'Location': 'https://vibeassurance.app/pricing' });
83
+ res.end();
84
+ } else {
85
+ res.writeHead(400, { 'Content-Type': 'text/html' });
86
+ res.end(getErrorHtml(errorMessage));
87
+ }
88
+
81
89
  server.close();
82
90
  reject(new Error(errorMessage));
83
91
  return;
package/nul DELETED
@@ -1 +0,0 @@
1
- /usr/bin/bash: line 1: del: command not found