cli-setu 0.2.1 → 0.2.2

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": "cli-setu",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Bridge your terminal to your phone — run and approve Claude Code, Codex CLI and other AI coding agents from anywhere.",
5
5
  "type": "commonjs",
6
6
  "bin": {
package/src/supervisor.js CHANGED
@@ -256,6 +256,13 @@ async function connectToAzure() {
256
256
  const conn = await res.json();
257
257
  deviceId = conn.deviceId;
258
258
  log(`[supervisor] Connecting to Azure as device:${deviceId} (owner: ${conn.userId})...`);
259
+ // Diagnostic found by testing: a session not appearing in the phone's
260
+ // Terminal tab had no visible cause from the laptop's own side - this
261
+ // surfaces whether the backend's session.started broadcast (what
262
+ // actually makes a session show up before its first approval prompt)
263
+ // was even attempted and whether it succeeded, right here, instead of
264
+ // needing server log access to find out.
265
+ console.log(`[supervisor] session.started broadcast: ${conn.sessionBroadcast || '(not reported by this server version)'}`);
259
266
 
260
267
  ws = new WebSocket(conn.wssUrl);
261
268