codeam-cli 2.4.16 → 2.4.17

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -179,7 +179,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
179
179
  // package.json
180
180
  var package_default = {
181
181
  name: "codeam-cli",
182
- version: "2.4.16",
182
+ version: "2.4.17",
183
183
  description: "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands \u2014 from anywhere.",
184
184
  main: "dist/index.js",
185
185
  bin: {
@@ -5925,7 +5925,12 @@ async function deploy() {
5925
5925
  // pairing code" lines per second in the file — pure noise. Drop
5926
5926
  // them so the user sees just the QR + the pairing code + the
5927
5927
  // "Paired with" / "for shortcuts" markers.
5928
- 'tail -n 0 -F "$LOG" 2>/dev/null | grep --line-buffered -vE "Waiting for mobile app|Requesting pairing code" &',
5928
+ // `tail -n +1` shows everything in the file from the start
5929
+ // critical because pm2 has already written the QR + pairing
5930
+ // code by the time we get here (during the `sleep 2` above).
5931
+ // `-n 0` would miss all of that and only show the post-spawn
5932
+ // spinner spam, leaving the user staring at a blank screen.
5933
+ 'tail -n +1 -F "$LOG" 2>/dev/null | grep --line-buffered -vE "Waiting for mobile app|Requesting pairing code" &',
5929
5934
  "TAIL=$!",
5930
5935
  "trap 'kill $TAIL 2>/dev/null; exit 130' INT TERM",
5931
5936
  // Phase 1 — wait for "Paired with", or for codeam to print a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.4.16",
3
+ "version": "2.4.17",
4
4
  "description": "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands — from anywhere.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {