shell-mirror 1.5.118 → 1.5.119

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.118",
3
+ "version": "1.5.119",
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": {
@@ -1035,11 +1035,15 @@ body {
1035
1035
  .connection-status.disconnected { color: var(--warning); }
1036
1036
  .connection-status.error { color: var(--danger); }
1037
1037
 
1038
- /* Usage Instructions - muted helper section */
1038
+ /* Dashboard content wrapper */
1039
+ .dashboard-content-wrapper {
1040
+ display: contents;
1041
+ }
1042
+
1043
+ /* Usage Instructions - muted helper section (borderless, floating) */
1039
1044
  .usage-instructions {
1040
- margin-top: 16px;
1041
- padding-top: 16px;
1042
- border-top: 1px solid var(--border);
1045
+ margin-top: 24px;
1046
+ padding: 0 16px;
1043
1047
  color: var(--text-muted);
1044
1048
  font-size: 0.8rem;
1045
1049
  }
@@ -1093,9 +1097,7 @@ body {
1093
1097
  }
1094
1098
 
1095
1099
  .usage-troubleshooting {
1096
- margin-top: 12px;
1097
- padding-top: 12px;
1098
- border-top: 1px solid var(--border);
1100
+ margin-top: 16px;
1099
1101
  }
1100
1102
 
1101
1103
  .usage-trouble-title {
@@ -431,10 +431,16 @@ class ShellMirrorDashboard {
431
431
  }
432
432
 
433
433
  updateAgentsDisplay() {
434
- const agentsCard = document.querySelector('.dashboard-card');
435
- if (agentsCard) {
436
- // Use outerHTML to replace the entire card, not nest inside it
437
- agentsCard.outerHTML = this.renderActiveAgents();
434
+ const wrapper = document.querySelector('.dashboard-content-wrapper');
435
+ if (wrapper) {
436
+ // Replace the entire wrapper to avoid duplication
437
+ wrapper.outerHTML = this.renderActiveAgents();
438
+ } else {
439
+ // Fallback for initial render
440
+ const agentsCard = document.querySelector('.dashboard-card');
441
+ if (agentsCard) {
442
+ agentsCard.outerHTML = this.renderActiveAgents();
443
+ }
438
444
  }
439
445
  }
440
446
 
@@ -663,13 +669,15 @@ class ShellMirrorDashboard {
663
669
  }).join('');
664
670
 
665
671
  return `
666
- <div class="dashboard-card">
667
- <div class="card-header">
668
- <h2>Agents</h2>
669
- ${agentCount > 0 ? `<span class="agent-count">${agentCount}</span>` : ''}
670
- </div>
671
- <div class="card-content">
672
- ${agentCount > 0 ? agentsHtml : this.renderEmptyAgentState()}
672
+ <div class="dashboard-content-wrapper">
673
+ <div class="dashboard-card">
674
+ <div class="card-header">
675
+ <h2>Agents</h2>
676
+ ${agentCount > 0 ? `<span class="agent-count">${agentCount}</span>` : ''}
677
+ </div>
678
+ <div class="card-content">
679
+ ${agentCount > 0 ? agentsHtml : this.renderEmptyAgentState()}
680
+ </div>
673
681
  </div>
674
682
  <div class="usage-instructions">
675
683
  <div class="usage-step">