@boostyourleads/antigravity-sdk 1.0.0 → 1.0.1

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/cli.js +11 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -69,8 +69,18 @@ const handleLogin = async () => {
69
69
  <div style="font-family: Outfit, sans-serif; background-color: #09090b; color: white; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;">
70
70
  <h2 style="color: #10b981; margin-bottom: 8px;">Authentication Successful!</h2>
71
71
  <p style="color: #a1a1aa; font-size: 14px; margin-bottom: 24px;">The Antigravity SDK has been configured on your local machine.</p>
72
- <p style="color: #71717a; font-size: 11px;">You can now close this tab and return to your terminal.</p>
72
+ <p style="color: #71717a; font-size: 11px;">Redirecting back to BoostYourLeads...</p>
73
73
  </div>
74
+ <script>
75
+ setTimeout(() => {
76
+ // Try closing the tab/window
77
+ window.close();
78
+ // Fallback to portal redirection if close is blocked by the browser
79
+ setTimeout(() => {
80
+ window.location.href = "${PORTAL_URL}";
81
+ }, 500);
82
+ }, 1500);
83
+ </script>
74
84
  `);
75
85
  console.log("✅ Successfully authenticated! Config saved to ~/.boostyourleads/config.json");
76
86
  // Graceful shut down
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostyourleads/antigravity-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "BoostYourLeads SDK integration for custom AI agents and Antigravity.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",