shell-mirror 1.5.113 → 1.5.114

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.113",
3
+ "version": "1.5.114",
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": {
@@ -239,7 +239,7 @@ body {
239
239
  .agent-name-row {
240
240
  display: flex;
241
241
  align-items: center;
242
- gap: 8px;
242
+ justify-content: space-between;
243
243
  margin-bottom: 4px;
244
244
  }
245
245
 
@@ -247,11 +247,15 @@ body {
247
247
  font-weight: 600;
248
248
  font-size: 1rem;
249
249
  color: var(--text-primary);
250
+ flex: 1;
251
+ min-width: 0;
250
252
  }
251
253
 
252
254
  /* Agent Menu Dropdown */
253
255
  .agent-menu {
254
256
  position: relative;
257
+ flex-shrink: 0;
258
+ margin-left: 8px;
255
259
  }
256
260
 
257
261
  .btn-agent-menu {
@@ -263,6 +267,7 @@ body {
263
267
  padding: 4px 8px;
264
268
  border-radius: 4px;
265
269
  transition: all 0.15s ease;
270
+ line-height: 1;
266
271
  }
267
272
 
268
273
  .btn-agent-menu:hover {
@@ -274,7 +279,7 @@ body {
274
279
  display: none;
275
280
  position: absolute;
276
281
  right: 0;
277
- top: calc(100% + 4px);
282
+ top: calc(100% + 2px);
278
283
  background: var(--bg-secondary);
279
284
  border: 1px solid var(--border);
280
285
  border-radius: 6px;
@@ -76,13 +76,13 @@ class ShellMirrorDashboard {
76
76
  if (this.refreshInterval) {
77
77
  clearInterval(this.refreshInterval);
78
78
  }
79
-
80
- // Refresh agent data every 30 seconds (HTTP polling only)
79
+
80
+ // Refresh agent data every 5 seconds for responsive session updates
81
81
  this.refreshInterval = setInterval(async () => {
82
82
  if (this.isAuthenticated && !this.isRefreshing) {
83
83
  await this.refreshDashboardData();
84
84
  }
85
- }, 30000);
85
+ }, 5000);
86
86
  }
87
87
 
88
88
  async refreshDashboardData() {
@@ -1108,7 +1108,7 @@ class ShellMirrorDashboard {
1108
1108
  </div>
1109
1109
  <div class="modal-body">
1110
1110
  <p style="margin-bottom: 12px; color: var(--text-secondary);">
1111
- Are you sure you want to shut down <strong style="color: var(--text-primary);">${agentName}</strong>?
1111
+ Are you sure you want to shut down<br><strong style="color: var(--text-primary); word-break: break-all;">${agentName}</strong>?
1112
1112
  </p>
1113
1113
  <p style="font-size: 0.85rem; color: var(--text-muted);">
1114
1114
  This will unregister the agent from the dashboard. If the agent is still running, it will re-register on next heartbeat.