@hmduc16031996/claude-mb-bridge 2.4.1 → 2.4.3
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/dist/index.js +1 -1
- package/dist/server.js +0 -2
- package/package.json +1 -1
- package/public/android-chrome-192x192.png +0 -0
- package/public/android-chrome-512x512.png +0 -0
- package/public/app.js +4 -4
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/ic_logo.png +0 -0
- package/public/index.html +5 -8
- package/public/manifest.json +14 -8
- package/public/styles.css +15 -15
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ program
|
|
|
33
33
|
// 1. Start local terminal server
|
|
34
34
|
console.log('📦 Starting terminal server...');
|
|
35
35
|
const localPort = parseInt(port, 10);
|
|
36
|
-
const { server: terminalServer, actualPort } = await startTerminalServer(localPort, path, token
|
|
36
|
+
const { server: terminalServer, actualPort } = await startTerminalServer(localPort, path, token);
|
|
37
37
|
console.log(`✅ Terminal server started on port ${actualPort}`);
|
|
38
38
|
// 2. Start Cloudflare Tunnel
|
|
39
39
|
console.log('🌐 Establishing secure tunnel...');
|
package/dist/server.js
CHANGED
|
@@ -296,8 +296,6 @@ export function startTerminalServer(port, workingDir, terminalToken, onDisconnec
|
|
|
296
296
|
session.term.removeListener('data', outputHandler);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
if (onDisconnect)
|
|
300
|
-
onDisconnect();
|
|
301
299
|
});
|
|
302
300
|
});
|
|
303
301
|
return new Promise((resolve, reject) => {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/public/app.js
CHANGED
|
@@ -507,12 +507,12 @@ class ClaudeRemote {
|
|
|
507
507
|
letterSpacing: 0,
|
|
508
508
|
lineHeight: 1.2,
|
|
509
509
|
theme: {
|
|
510
|
-
background: '#
|
|
511
|
-
foreground: '#
|
|
510
|
+
background: '#1a1a1a',
|
|
511
|
+
foreground: '#f5f5f5',
|
|
512
512
|
cursor: '#f0a500',
|
|
513
|
-
cursorAccent: '#
|
|
513
|
+
cursorAccent: '#1a1a1a',
|
|
514
514
|
selectionBackground: 'rgba(240, 165, 0, 0.25)',
|
|
515
|
-
selectionForeground: '#
|
|
515
|
+
selectionForeground: '#f5f5f5',
|
|
516
516
|
black: '#484f58',
|
|
517
517
|
red: '#ff7b72',
|
|
518
518
|
green: '#3fb950',
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/index.html
CHANGED
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
<meta name="mobile-web-app-capable" content="yes">
|
|
7
7
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
8
8
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
9
|
-
<meta name="theme-color" content="#
|
|
9
|
+
<meta name="theme-color" content="#1a1a1a">
|
|
10
10
|
<meta name="description" content="Remote access to Claude Code sessions from any device">
|
|
11
11
|
|
|
12
12
|
<!-- Favicon -->
|
|
13
|
-
<link rel="icon"
|
|
14
|
-
<link rel="
|
|
13
|
+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
14
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
15
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
15
16
|
|
|
16
17
|
<title>Claude Code Remote</title>
|
|
17
18
|
<link rel="manifest" href="/manifest.json">
|
|
@@ -32,11 +33,7 @@
|
|
|
32
33
|
<div class="auth-container">
|
|
33
34
|
<!-- Logo -->
|
|
34
35
|
<div class="auth-logo" aria-hidden="true">
|
|
35
|
-
<
|
|
36
|
-
<rect width="64" height="64" rx="12" fill="rgba(88, 166, 255, 0.1)"/>
|
|
37
|
-
<rect x="1" y="1" width="62" height="62" rx="11" stroke="rgba(88, 166, 255, 0.3)" stroke-width="1"/>
|
|
38
|
-
<text x="32" y="44" font-size="32" font-weight="600" text-anchor="middle" fill="#58a6ff" font-family="system-ui, sans-serif">C</text>
|
|
39
|
-
</svg>
|
|
36
|
+
<img src="/ic_logo.png" width="64" height="64" alt="Claude Code" style="border-radius:12px;">
|
|
40
37
|
</div>
|
|
41
38
|
|
|
42
39
|
<h1>Claude Code Remote</h1>
|
package/public/manifest.json
CHANGED
|
@@ -5,20 +5,26 @@
|
|
|
5
5
|
"start_url": "/",
|
|
6
6
|
"display": "standalone",
|
|
7
7
|
"orientation": "any",
|
|
8
|
-
"background_color": "#
|
|
9
|
-
"theme_color": "#
|
|
8
|
+
"background_color": "#1a1a1a",
|
|
9
|
+
"theme_color": "#1a1a1a",
|
|
10
10
|
"icons": [
|
|
11
11
|
{
|
|
12
|
-
"src": "
|
|
13
|
-
"sizes": "
|
|
14
|
-
"type": "image/
|
|
12
|
+
"src": "/android-chrome-192x192.png",
|
|
13
|
+
"sizes": "192x192",
|
|
14
|
+
"type": "image/png",
|
|
15
15
|
"purpose": "any"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
"src": "
|
|
18
|
+
"src": "/android-chrome-512x512.png",
|
|
19
19
|
"sizes": "512x512",
|
|
20
|
-
"type": "image/
|
|
21
|
-
"purpose": "maskable"
|
|
20
|
+
"type": "image/png",
|
|
21
|
+
"purpose": "any maskable"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"src": "/apple-touch-icon.png",
|
|
25
|
+
"sizes": "180x180",
|
|
26
|
+
"type": "image/png",
|
|
27
|
+
"purpose": "any"
|
|
22
28
|
}
|
|
23
29
|
],
|
|
24
30
|
"categories": ["developer", "productivity", "utilities"]
|
package/public/styles.css
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
/*
|
|
7
|
-
--bg-deep: #
|
|
8
|
-
--bg-primary: #
|
|
9
|
-
--bg-elevated: #
|
|
10
|
-
--bg-surface: #
|
|
11
|
-
--bg-hover: #
|
|
6
|
+
/* Claude Code Dark Theme */
|
|
7
|
+
--bg-deep: #1a1a1a;
|
|
8
|
+
--bg-primary: #222222;
|
|
9
|
+
--bg-elevated: #2a2a2a;
|
|
10
|
+
--bg-surface: #333333;
|
|
11
|
+
--bg-hover: #3d3d3d;
|
|
12
12
|
|
|
13
13
|
/* Text hierarchy */
|
|
14
|
-
--text-primary: #
|
|
15
|
-
--text-secondary: #
|
|
16
|
-
--text-muted: #
|
|
14
|
+
--text-primary: #f5f5f5;
|
|
15
|
+
--text-secondary: #a0a0a0;
|
|
16
|
+
--text-muted: #6b6b6b;
|
|
17
17
|
|
|
18
|
-
/* Accent -
|
|
19
|
-
--accent: #
|
|
20
|
-
--accent-hover: #
|
|
21
|
-
--accent-soft: rgba(
|
|
18
|
+
/* Accent - Claude orange */
|
|
19
|
+
--accent: #d97706;
|
|
20
|
+
--accent-hover: #f0a500;
|
|
21
|
+
--accent-soft: rgba(217, 119, 6, 0.15);
|
|
22
22
|
|
|
23
23
|
/* Semantic colors */
|
|
24
24
|
--success: #3fb950;
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
--warning: #d29922;
|
|
27
27
|
|
|
28
28
|
/* Borders & Shadows */
|
|
29
|
-
--border: rgba(
|
|
30
|
-
--shadow: 0 2px 8px rgba(0, 0, 0, 0.
|
|
29
|
+
--border: rgba(245, 245, 245, 0.1);
|
|
30
|
+
--shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
|
|
31
31
|
|
|
32
32
|
/* Typography */
|
|
33
33
|
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|