shell-mirror 1.5.13 → 1.5.15

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.13",
3
+ "version": "1.5.15",
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": {
@@ -50,6 +50,14 @@
50
50
  <div id="terminal-container">
51
51
  <div id="terminal"></div>
52
52
  </div>
53
+
54
+ <!-- Version Footer -->
55
+ <footer style="background: #ff6b35; color: white; text-align: center; padding: 10px 0; font-size: 0.8rem; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;">
56
+ <div style="max-width: 1200px; margin: 0 auto;">
57
+ <p id="terminal-version-info">Terminal Mirror v1.5.14 • Loading...</p>
58
+ </div>
59
+ </footer>
60
+
53
61
  <script src="/app/terminal.js"></script>
54
62
  </body>
55
63
  </html>
@@ -58,8 +58,25 @@ let CLIENT_ID;
58
58
  // Auto-discover agents on page load
59
59
  window.addEventListener('load', () => {
60
60
  discoverAgents();
61
+ loadVersionInfo();
61
62
  });
62
63
 
64
+ // Load version info for footer
65
+ async function loadVersionInfo() {
66
+ try {
67
+ const response = await fetch('/build-info.json');
68
+ const buildInfo = await response.json();
69
+ const versionElement = document.getElementById('terminal-version-info');
70
+ if (versionElement && buildInfo) {
71
+ const buildDate = new Date(buildInfo.buildTime).toLocaleDateString();
72
+ versionElement.textContent = `Terminal Mirror v${buildInfo.version} • Built ${buildDate}`;
73
+ }
74
+ } catch (error) {
75
+ console.log('Could not load build info for terminal:', error);
76
+ // Keep default version if build-info.json not available
77
+ }
78
+ }
79
+
63
80
  showManualBtn.onclick = () => {
64
81
  agentDiscovery.style.display = 'none';
65
82
  manualConnect.style.display = 'block';