conductor-remote 1.28.1 → 1.30.0
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 +21 -0
- package/dist/assets/index-CyHf4503.js +43 -0
- package/dist/assets/index-aR0nnF-t.css +1 -0
- package/dist/index.html +2 -2
- package/dist/sw.js +1 -1
- package/dist-node/src/logbuf.js +146 -0
- package/dist-node/src/server.js +33 -0
- package/package.json +1 -1
- package/dist/assets/index-D2H9Ue0S.js +0 -42
- package/dist/assets/index-DnE5ulTu.css +0 -1
package/README.md
CHANGED
|
@@ -200,6 +200,7 @@ src/ the Node relay (no build step)
|
|
|
200
200
|
git.ts workspace diff vs target branch (incl. untracked)
|
|
201
201
|
sidecar.ts Conductor sidecar IPC client (precise write path)
|
|
202
202
|
writes.ts Actuator interface + AppleScript (default) + Sidecar (opt-in)
|
|
203
|
+
logbuf.ts console capture + log-file tail behind /api/logs (token redacted)
|
|
203
204
|
web/ the React PWA (Vite)
|
|
204
205
|
index.html, src/ app shell, components, hooks, api client
|
|
205
206
|
public/ icon.svg + PWA PNGs (repo-root so Conductor's icon lookup finds them)
|
|
@@ -222,6 +223,26 @@ dist/ built PWA (gitignored) — what the relay serves
|
|
|
222
223
|
|
|
223
224
|
## Troubleshooting
|
|
224
225
|
|
|
226
|
+
### Something failed and the Mac is somewhere else
|
|
227
|
+
|
|
228
|
+
The relay's own log is readable from the phone: **Connect sheet ▸ Relay logs**
|
|
229
|
+
(the QR button in the workspace header). It has three sources — `Live` is the
|
|
230
|
+
running relay's console, ordered and timestamped; `relay.log` / `relay.err.log`
|
|
231
|
+
tail the LaunchAgent's files on disk, which is where the output of a *previous*
|
|
232
|
+
process survives a crash-and-restart. **Problems only** filters to warnings and
|
|
233
|
+
errors, and **Copy** puts the visible lines on the clipboard for pasting into an
|
|
234
|
+
issue.
|
|
235
|
+
|
|
236
|
+
The same thing over HTTP (the access token is redacted from every response, so
|
|
237
|
+
what comes back is safe to share):
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
curl -s -H "authorization: Bearer $TOKEN" "$RELAY/api/logs?limit=100" # live
|
|
241
|
+
curl -s -H "authorization: Bearer $TOKEN" "$RELAY/api/logs?file=relay.err.log" # on disk
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
On the Mac itself, `conductor-remote service logs` still follows both files.
|
|
245
|
+
|
|
225
246
|
### The relay stops answering when the Mac is on battery
|
|
226
247
|
|
|
227
248
|
**Symptom.** On battery, the phone loses the relay after a few minutes — even
|