shell-mirror 1.5.63 → 1.5.64

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.63",
3
+ "version": "1.5.64",
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": {
@@ -530,22 +530,12 @@ class ShellMirrorDashboard {
530
530
  }
531
531
 
532
532
  renderActiveAgents() {
533
- // Filter for agents that should be displayed (online, recent, or offline with sessions)
533
+ // Filter for agents that should be displayed (only online/recent - offline agents can't be recovered)
534
534
  const displayAgents = this.agents.filter(agent => {
535
- // Always show online agents
536
- if (agent.status === 'online') return true;
537
-
538
- // Show recent agents (last 2 minutes)
539
- if (agent.status === 'recent') return true;
540
-
541
- // Show offline agents only if they have active sessions
542
- const sessions = this.agentSessions[agent.agentId] || [];
543
- const activeSessions = sessions.filter(s => s.status === 'active');
544
- return activeSessions.length > 0;
535
+ return agent.status === 'online' || agent.status === 'recent';
545
536
  });
546
537
 
547
- // Separate truly active vs inactive agents
548
- const activeAgents = displayAgents.filter(agent => agent.status === 'online' || agent.status === 'recent');
538
+ // All displayed agents are now connectable (online/recent only)
549
539
 
550
540
  const agentCount = displayAgents.length;
551
541
  const agentsHtml = displayAgents.map(agent => {