shell-mirror 1.5.49 → 1.5.51

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.49",
3
+ "version": "1.5.51",
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": {
@@ -0,0 +1,15 @@
1
+ # Disable directory browsing
2
+ Options -Indexes
3
+
4
+ # Require authentication for sensitive app files
5
+ <RequireAll>
6
+ Require valid-user
7
+ </RequireAll>
8
+
9
+ # Security headers
10
+ <IfModule mod_headers.c>
11
+ Header always set X-Content-Type-Options nosniff
12
+ Header always set X-Frame-Options SAMEORIGIN
13
+ Header always set X-XSS-Protection "1; mode=block"
14
+ Header always set Referrer-Policy "strict-origin-when-cross-origin"
15
+ </IfModule>
@@ -48,7 +48,7 @@
48
48
  c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
49
49
  t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
50
50
  y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
51
- })(window, document, "clarity", "script", "CLARITY_PROJECT_ID");
51
+ })(window, document, "clarity", "script", "sy1w2d7il7");
52
52
  </script>
53
53
 
54
54
  <link rel="stylesheet" href="dashboard.css">
@@ -46,7 +46,7 @@
46
46
  c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
47
47
  t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
48
48
  y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
49
- })(window, document, "clarity", "script", "CLARITY_PROJECT_ID");
49
+ })(window, document, "clarity", "script", "sy1w2d7il7");
50
50
  </script>
51
51
 
52
52
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/xterm@4.15.0/css/xterm.css" />
package/public/index.html CHANGED
@@ -49,7 +49,7 @@
49
49
  c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
50
50
  t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
51
51
  y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
52
- })(window, document, "clarity", "script", "CLARITY_PROJECT_ID");
52
+ })(window, document, "clarity", "script", "sy1w2d7il7");
53
53
  </script>
54
54
 
55
55
  <style>
@@ -0,0 +1,15 @@
1
+ # Disable directory browsing
2
+ Options -Indexes
3
+
4
+ # Prevent access to sensitive files
5
+ <FilesMatch "\.(log|txt|bak|sql|ini|conf)$">
6
+ Order deny,allow
7
+ Deny from all
8
+ </FilesMatch>
9
+
10
+ # Security headers
11
+ <IfModule mod_headers.c>
12
+ Header always set X-Content-Type-Options nosniff
13
+ Header always set X-Frame-Options DENY
14
+ Header always set X-XSS-Protection "1; mode=block"
15
+ </IfModule>