kiro-mobile-bridge 1.0.11 → 1.0.13
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/README.md +24 -15
- package/package.json +1 -1
- package/src/server.js +1 -3
package/README.md
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
# Kiro Mobile Bridge
|
|
2
2
|
|
|
3
|
-
A mobile
|
|
3
|
+
A lightweight mobile interface that lets you monitor and control Kiro IDE agent sessions from your phone over LAN, with a live preview of chat, tasks, and code via Chrome DevTools Protocol.
|
|
4
|
+
|
|
5
|
+
<img width="1829" height="1065" alt="Untitled design (2)" src="https://github.com/user-attachments/assets/6f55e527-7e66-46b6-b0fe-c2a5a527dec4" />
|
|
4
6
|
|
|
5
|
-
<img width="1829" height="1065" alt="Untitled design (1)" src="https://github.com/user-attachments/assets/0590c332-80e1-4874-b27d-e7babe6202c8" />
|
|
6
7
|
|
|
7
8
|
## Features
|
|
8
9
|
|
|
9
10
|
- 📱 Mobile-optimized web interface with tab navigation
|
|
10
|
-
- 💬 **Chat
|
|
11
|
-
- 📝 **Code
|
|
12
|
-
- 📋 **Tasks
|
|
11
|
+
- 💬 **Chat** - View and send messages to Kiro's agent
|
|
12
|
+
- 📝 **Code** - Browse file explorer and view files with syntax highlighting
|
|
13
|
+
- 📋 **Tasks** - View and navigate Kiro spec task files
|
|
13
14
|
- 🔄 Real-time updates via WebSocket with adaptive polling
|
|
14
|
-
- 🔍 Auto-discovers Kiro instances on ports 9000-9003, 9222, 9229
|
|
15
|
-
- 🎨 Preserves original Kiro styling
|
|
16
15
|
|
|
17
16
|
## Prerequisites
|
|
18
17
|
|
|
@@ -24,21 +23,20 @@ A mobile web interface for monitoring Kiro IDE agent sessions from your phone ov
|
|
|
24
23
|
### 1. Enable CDP in Kiro
|
|
25
24
|
|
|
26
25
|
Start Kiro with the remote debugging port enabled:
|
|
27
|
-
|
|
26
|
+
|
|
27
|
+
**Run Kiro with debugging port:**
|
|
28
28
|
```bash
|
|
29
29
|
# Windows (from default install location)
|
|
30
30
|
"%LOCALAPPDATA%\Programs\Kiro\Kiro.exe" --remote-debugging-port=9000
|
|
31
|
-
|
|
32
31
|
# macOS
|
|
33
32
|
/Applications/Kiro.app/Contents/MacOS/Kiro --remote-debugging-port=9000
|
|
34
|
-
|
|
35
33
|
# Linux (installed)
|
|
36
34
|
/opt/Kiro/kiro --remote-debugging-port=9000
|
|
37
35
|
```
|
|
38
36
|
|
|
39
37
|
### 2. Run with npx (Recommended)
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
Start Server
|
|
42
40
|
|
|
43
41
|
```bash
|
|
44
42
|
npx kiro-mobile-bridge
|
|
@@ -56,11 +54,10 @@ npm start
|
|
|
56
54
|
You'll see output like:
|
|
57
55
|
|
|
58
56
|
```
|
|
59
|
-
|
|
57
|
+
Kiro Mobile Bridge
|
|
60
58
|
─────────────────────
|
|
61
59
|
Local: http://localhost:3000
|
|
62
|
-
Network: http://192.168.
|
|
63
|
-
|
|
60
|
+
Network: http://192.168.16.106:3000
|
|
64
61
|
Open the Network URL on your phone to monitor Kiro.
|
|
65
62
|
```
|
|
66
63
|
|
|
@@ -107,15 +104,27 @@ Open the Network URL on your phone to monitor Kiro.
|
|
|
107
104
|
- Check your firewall allows connections on port 3000
|
|
108
105
|
- Try the IP address shown in the server output (not `localhost`)
|
|
109
106
|
|
|
107
|
+
#### Linux: Firewall blocking connections
|
|
108
|
+
|
|
109
|
+
If you're on Linux and can't connect from your phone, your firewall may be blocking port 3000. Allow it with:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
# UFW (Ubuntu, Arch, etc.)
|
|
113
|
+
sudo ufw allow 3000/tcp
|
|
114
|
+
|
|
115
|
+
# Or with iptables directly
|
|
116
|
+
sudo iptables -A INPUT -p tcp --dport 3000 -j ACCEPT
|
|
117
|
+
```
|
|
118
|
+
|
|
110
119
|
## Security Notes
|
|
111
120
|
|
|
121
|
+
#### Only run this on trusted networks.
|
|
112
122
|
**This is designed for local network use only:**
|
|
113
123
|
|
|
114
124
|
- No authentication
|
|
115
125
|
- No HTTPS
|
|
116
126
|
- Exposes Kiro's chat interface to anyone on your network
|
|
117
127
|
|
|
118
|
-
Only run this on trusted networks.
|
|
119
128
|
|
|
120
129
|
## License
|
|
121
130
|
|
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* Kiro Mobile Bridge Server
|
|
4
|
-
* @version 1.0.10
|
|
5
|
-
*
|
|
6
4
|
* A mobile web interface for monitoring Kiro IDE agent sessions from your phone over LAN.
|
|
7
5
|
* Captures snapshots of the chat interface via CDP and lets you send messages remotely.
|
|
8
6
|
*/
|
|
@@ -362,7 +360,7 @@ wss.on('connection', (ws, req) => {
|
|
|
362
360
|
ws.on('error', (err) => console.error(`[WebSocket] Error from ${clientIP}:`, err.message));
|
|
363
361
|
});
|
|
364
362
|
|
|
365
|
-
httpServer.listen(PORT, () => {
|
|
363
|
+
httpServer.listen(PORT, '0.0.0.0', () => {
|
|
366
364
|
const localIP = getLocalIP();
|
|
367
365
|
console.log('');
|
|
368
366
|
console.log('Kiro Mobile Bridge');
|