shell-mirror 1.5.28 → 1.5.30

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/lib/auto-start.js CHANGED
@@ -546,11 +546,11 @@ WS_URL=${wsConfig.wsUrl}` : ''}
546
546
  USER_EMAIL: authInfo.email,
547
547
  USER_NAME: authInfo.name,
548
548
  ACCESS_TOKEN: authInfo.accessToken,
549
- WEBSOCKET_URL: 'wss://shellmirror.app',
549
+ WEBSOCKET_URL: 'wss://shell-mirror-30aa5479ceaf.herokuapp.com',
550
550
  CONNECTION_TYPE: 'cloud-websocket'
551
551
  };
552
552
 
553
- console.log('🌐 Connecting to: wss://shellmirror.app');
553
+ console.log('🌐 Connecting to: wss://shell-mirror-30aa5479ceaf.herokuapp.com');
554
554
  console.log('📱 Access from browser: https://shellmirror.app/app/terminal.html');
555
555
  console.log('');
556
556
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shell-mirror",
3
- "version": "1.5.28",
3
+ "version": "1.5.30",
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": {
@@ -228,9 +228,9 @@ async function initialize() {
228
228
  console.log('[CLIENT] 🚀 Initializing WebRTC connection to agent:', AGENT_ID);
229
229
  console.log('[CLIENT] 📋 Selected agent data:', SELECTED_AGENT);
230
230
 
231
- // Use cloud WebSocket for all connections (solves HTTPS mixed content issue)
232
- const signalingUrl = (window.location.protocol === 'https:' ? 'wss://' : 'ws://') + window.location.host;
233
- console.log('[CLIENT] 🌐 Using cloud WebSocket server:', signalingUrl);
231
+ // Use Heroku WebSocket server for all connections
232
+ const signalingUrl = 'wss://shell-mirror-30aa5479ceaf.herokuapp.com';
233
+ console.log('[CLIENT] 🌐 Using Heroku WebSocket server:', signalingUrl);
234
234
 
235
235
  ws = new WebSocket(`${signalingUrl}?role=client`);
236
236