shell-mirror 1.5.70 → 1.5.71

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/package.json +1 -1
  2. package/public/index.html +7 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shell-mirror",
3
- "version": "1.5.70",
3
+ "version": "1.5.71",
4
4
  "description": "Access your Mac shell from any device securely. Perfect for mobile coding with Claude Code CLI, Gemini CLI, and any shell tool.",
5
5
  "main": "server.js",
6
6
  "bin": {
package/public/index.html CHANGED
@@ -199,12 +199,6 @@
199
199
  text-align: center;
200
200
  }
201
201
 
202
- /* Quick Start Section */
203
- .quick-start {
204
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
205
- padding: 60px 0;
206
- }
207
-
208
202
  /* Installation Code */
209
203
  .install-code {
210
204
  background: rgba(0, 0, 0, 0.3);
@@ -559,28 +553,9 @@
559
553
  <div class="container">
560
554
  <h1>Access your Mac terminal<br>from anywhere</h1>
561
555
  <p>Cloud-based terminal access for your Mac. Use Claude Code CLI, Gemini CLI, and other command-line tools from your phone or any device.</p>
562
-
563
- <div class="hero-buttons">
564
- <button class="btn-primary" onclick="handleGoogleLogin()">
565
- <svg width="20" height="20" viewBox="0 0 24 24" style="margin-right: 8px;">
566
- <path fill="white" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/>
567
- <path fill="white" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/>
568
- <path fill="white" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/>
569
- <path fill="white" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/>
570
- </svg>
571
- Start with Google
572
- </button>
573
- <a href="#how-it-works" class="btn-secondary">Learn More</a>
574
- </div>
575
- </div>
576
- </section>
577
556
 
578
- <!-- Quick Start Section -->
579
- <section class="quick-start" id="quick-start">
580
- <div class="container">
581
- <h2 class="section-title" style="color: white; margin-bottom: 30px;">Quick Start</h2>
582
- <p style="text-align: center; color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 40px;">
583
- Get started in 2 simple steps:
557
+ <p style="text-align: center; color: rgba(255, 255, 255, 0.95); font-size: 1.15rem; margin: 40px 0 30px; font-weight: 500;">
558
+ Get started in 3 simple steps:
584
559
  </p>
585
560
 
586
561
  <div class="setup-steps">
@@ -623,6 +598,10 @@
623
598
  </button>
624
599
  </div>
625
600
  </div>
601
+
602
+ <p style="text-align: center; margin-top: 30px;">
603
+ <a href="#how-it-works" class="btn-secondary">Learn More</a>
604
+ </p>
626
605
  </div>
627
606
  </section>
628
607
 
@@ -777,7 +756,7 @@
777
756
  const data = await response.json();
778
757
 
779
758
  if (data.success && data.data && data.data.authenticated) {
780
- return { isAuthenticated: true, user: data.data };
759
+ return { isAuthenticated: true, user: data.data.user };
781
760
  }
782
761
  } catch (error) {
783
762
  console.log('Auth check failed:', error);