codeam-cli 2.5.3 → 2.5.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1477,7 +1477,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
1477
1477
  // package.json
1478
1478
  var package_default = {
1479
1479
  name: "codeam-cli",
1480
- version: "2.5.3",
1480
+ version: "2.5.4",
1481
1481
  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.",
1482
1482
  type: "commonjs",
1483
1483
  main: "dist/index.js",
@@ -4868,10 +4868,10 @@ function detectSelector(lines) {
4868
4868
  const clean = lines.map(
4869
4869
  (l) => l.replace(/^[│╭╰╮╯┌└┐┘├┤┬┴┼]\s?/, "").replace(/\s*[│╭╰╮╯┌└┐┘├┤┬┴┼─━═]+\s*$/, "")
4870
4870
  );
4871
- if (!clean.some((l) => /^❯\s*\d+\./.test(l.trim()))) return null;
4871
+ if (!clean.some((l) => /^[❯>]\s*\d+\./.test(l.trim()))) return null;
4872
4872
  let optionStartIdx = -1;
4873
4873
  for (let i = 0; i < clean.length; i++) {
4874
- if (/^(?:❯\s*)?\d+\.\s/.test(clean[i].trim())) {
4874
+ if (/^(?:[❯>]\s*)?\d+\.\s/.test(clean[i].trim())) {
4875
4875
  optionStartIdx = i;
4876
4876
  break;
4877
4877
  }
@@ -4894,7 +4894,7 @@ function detectSelector(lines) {
4894
4894
  for (let i = optionStartIdx; i < clean.length; i++) {
4895
4895
  const t2 = clean[i].trim();
4896
4896
  if (!t2) continue;
4897
- const m = t2.match(/^(?:❯\s*)?(\d+)\.\s+(.+)/);
4897
+ const m = t2.match(/^(?:[❯>]\s*)?(\d+)\.\s+(.+)/);
4898
4898
  if (m) {
4899
4899
  const num = parseInt(m[1], 10);
4900
4900
  if (!optionLabels.has(num)) {
@@ -9232,7 +9232,7 @@ async function stopWorkspaceFromLocal(target) {
9232
9232
  // src/commands/version.ts
9233
9233
  var import_picocolors11 = __toESM(require("picocolors"));
9234
9234
  function version() {
9235
- const v = true ? "2.5.3" : "unknown";
9235
+ const v = true ? "2.5.4" : "unknown";
9236
9236
  console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
9237
9237
  }
9238
9238
 
@@ -9367,7 +9367,7 @@ function checkForUpdates() {
9367
9367
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
9368
9368
  if (process.env.CI) return;
9369
9369
  if (!process.stdout.isTTY) return;
9370
- const current = true ? "2.5.3" : null;
9370
+ const current = true ? "2.5.4" : null;
9371
9371
  if (!current) return;
9372
9372
  const cache = readCache();
9373
9373
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
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
  "type": "commonjs",
6
6
  "main": "dist/index.js",