shell-mirror 1.5.79 → 1.5.80

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": "shell-mirror",
3
- "version": "1.5.79",
3
+ "version": "1.5.80",
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": {
@@ -46,6 +46,7 @@ class ShellMirrorDashboard {
46
46
  this.user = authStatus.user;
47
47
  await this.loadDashboardData();
48
48
  this.renderAuthenticatedDashboard();
49
+ this.updateLastRefreshTime();
49
50
  this.enableHttpOnlyMode(); // Use HTTP-only mode (no persistent WebSocket)
50
51
  this.startAutoRefresh(); // Start auto-refresh for authenticated users
51
52
  } else {
@@ -99,7 +100,7 @@ class ShellMirrorDashboard {
99
100
  this.lastRefresh = Date.now();
100
101
  const refreshStatus = document.getElementById('refresh-status');
101
102
  if (refreshStatus) {
102
- refreshStatus.textContent = `Last updated: ${new Date(this.lastRefresh).toLocaleTimeString()}`;
103
+ refreshStatus.textContent = `Agents updated: ${new Date(this.lastRefresh).toLocaleTimeString()}`;
103
104
  }
104
105
  }
105
106
 
@@ -400,7 +401,7 @@ class ShellMirrorDashboard {
400
401
  const data = await response.json();
401
402
 
402
403
  if (data.success && data.data && data.data.authenticated) {
403
- return { isAuthenticated: true, user: data.data };
404
+ return { isAuthenticated: true, user: data.data.user };
404
405
  }
405
406
  } catch (error) {
406
407
  console.log('Auth check failed:', error);