shell-mirror 1.5.61 → 1.5.62

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.
@@ -17,7 +17,7 @@ require('dotenv').config();
17
17
  class TerminalMirrorHttpAgent {
18
18
  constructor() {
19
19
  this.config = {
20
- webServerHttp: process.env.WEB_SERVER_HTTP || 'https://shellmirror.app',
20
+ webServerHttp: process.env.WEB_SERVER_HTTP || 'https://www.igori.eu',
21
21
  agentSecret: process.env.AGENT_SECRET || 'mac-agent-secret-2024',
22
22
  agentId: process.env.AGENT_ID || this.generateAgentId(),
23
23
  pollInterval: parseInt(process.env.POLL_INTERVAL) || 500,
@@ -627,8 +627,8 @@ class TerminalMirrorHttpAgent {
627
627
  let lastHeartbeat = 0;
628
628
 
629
629
  while (this.isRunning) {
630
- // Send heartbeat every 30 seconds (reduced from 60s to align with server-side online threshold)
631
- if (Date.now() - lastHeartbeat > 30000) {
630
+ // Send heartbeat every 60 seconds
631
+ if (Date.now() - lastHeartbeat > 60000) {
632
632
  await this.sendHeartbeat();
633
633
  lastHeartbeat = Date.now();
634
634
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shell-mirror",
3
- "version": "1.5.61",
3
+ "version": "1.5.62",
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": {