claude-code-remote-pilot 0.4.3 → 0.4.4
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/CHANGELOG.md +7 -0
- package/bin/claude-pilot.js +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.4 — 2026-05-06
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Press `w` in watch mode to open (or reuse) the web dashboard in the browser. Starts the server on `127.0.0.1:3742` if not already running. Shown in the watch footer: `w: web ui`.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
3
10
|
## 0.4.3 — 2026-05-06
|
|
4
11
|
|
|
5
12
|
### Added
|
package/bin/claude-pilot.js
CHANGED
|
@@ -170,7 +170,7 @@ function renderWatchTable(allSessions, selectedIdx) {
|
|
|
170
170
|
footer = ` [t] terminal [k] kill Esc: back`;
|
|
171
171
|
}
|
|
172
172
|
} else {
|
|
173
|
-
footer = ` [1-${Math.min(allSessions.length, 9)}]: select session q: exit watch`;
|
|
173
|
+
footer = ` [1-${Math.min(allSessions.length, 9)}]: select session w: web ui q: exit watch`;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
return ['\n', ' Claude Code Remote Pilot', bar, header, bar, ...rows, bar, footer, ''].join('\n');
|
|
@@ -222,6 +222,18 @@ function startWatch(manager, rl) {
|
|
|
222
222
|
|
|
223
223
|
if (selectedIdx < 0) {
|
|
224
224
|
if (str === 'q' || str === 'Q') { exitWatch(); return; }
|
|
225
|
+
if (str === 'w' || str === 'W') {
|
|
226
|
+
let webServer = manager._webServer;
|
|
227
|
+
if (!webServer) {
|
|
228
|
+
webServer = new WebServer(manager, 3742, '127.0.0.1');
|
|
229
|
+
manager._webServer = webServer;
|
|
230
|
+
webServer.start();
|
|
231
|
+
}
|
|
232
|
+
const url = `http://${webServer.host}:${webServer.port}`;
|
|
233
|
+
const opener = process.platform === 'darwin' ? 'open' : 'xdg-open';
|
|
234
|
+
spawn(opener, [url], { stdio: 'ignore', detached: true }).unref();
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
225
237
|
const n = parseInt(str);
|
|
226
238
|
if (!isNaN(n) && n >= 1 && n <= Math.min(allSessions.length, 9)) {
|
|
227
239
|
selectedIdx = n - 1;
|
package/package.json
CHANGED