codeam-cli 2.23.27 → 2.23.29

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 +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -441,7 +441,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
441
441
  // package.json
442
442
  var package_default = {
443
443
  name: "codeam-cli",
444
- version: "2.23.27",
444
+ version: "2.23.29",
445
445
  description: "Workflow-continuity bridge for AI coding agents. Wrap Claude Code or Codex in a PTY and supervise, approve, and redirect the session from any device \u2014 async. The terminal companion for CodeAgent Mobile.",
446
446
  type: "commonjs",
447
447
  main: "dist/index.js",
@@ -5774,7 +5774,7 @@ function readAnonId() {
5774
5774
  }
5775
5775
  function superProperties() {
5776
5776
  return {
5777
- cliVersion: true ? "2.23.27" : "0.0.0-dev",
5777
+ cliVersion: true ? "2.23.29" : "0.0.0-dev",
5778
5778
  nodeVersion: process.version,
5779
5779
  platform: process.platform,
5780
5780
  arch: process.arch,
@@ -9697,10 +9697,11 @@ function detectInputSuggestion(lines) {
9697
9697
  }
9698
9698
  if (hintIdx === -1) return null;
9699
9699
  if (lines.some((l) => /^[❯>]\s*\d+\./.test(l.trim()))) return null;
9700
- const windowStart = Math.max(0, hintIdx - 3);
9700
+ const windowStart = Math.max(0, hintIdx - 5);
9701
9701
  for (let i = hintIdx - 1; i >= windowStart; i--) {
9702
9702
  const t2 = lines[i].trim();
9703
9703
  if (!t2) continue;
9704
+ if (/^[─━═│┌┐└┘├┤┬┴┼]+$/u.test(t2)) continue;
9704
9705
  const m = t2.match(/^[❯>]\s+(\S.*)$/);
9705
9706
  if (!m) return null;
9706
9707
  if (/^\d+\.\s/.test(m[1])) return null;
@@ -12153,7 +12154,9 @@ var OutputService = class _OutputService {
12153
12154
  }
12154
12155
  const selector = this.runtime.detectInteractivePrompt(lines);
12155
12156
  this.stopPoll();
12156
- this.idleBuffer = this.pty.content;
12157
+ if (this.runtime.detectInputSuggestion) {
12158
+ this.idleBuffer = this.pty.content;
12159
+ }
12157
12160
  this.pty.deactivate();
12158
12161
  if (selector) {
12159
12162
  this.send(
@@ -18914,7 +18917,7 @@ function checkChokidar() {
18914
18917
  }
18915
18918
  async function doctor(args2 = []) {
18916
18919
  const json = args2.includes("--json");
18917
- const cliVersion = true ? "2.23.27" : "0.0.0-dev";
18920
+ const cliVersion = true ? "2.23.29" : "0.0.0-dev";
18918
18921
  const apiBase = resolveApiBaseUrl();
18919
18922
  const diagnosticId = (0, import_node_crypto6.randomUUID)();
18920
18923
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -19113,7 +19116,7 @@ async function completion(args2) {
19113
19116
  // src/commands/version.ts
19114
19117
  var import_picocolors13 = __toESM(require("picocolors"));
19115
19118
  function version2() {
19116
- const v = true ? "2.23.27" : "unknown";
19119
+ const v = true ? "2.23.29" : "unknown";
19117
19120
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
19118
19121
  }
19119
19122
 
@@ -19341,7 +19344,7 @@ function checkForUpdates() {
19341
19344
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
19342
19345
  if (process.env.CI) return;
19343
19346
  if (!process.stdout.isTTY) return;
19344
- const current = true ? "2.23.27" : null;
19347
+ const current = true ? "2.23.29" : null;
19345
19348
  if (!current) return;
19346
19349
  const cache = readCache();
19347
19350
  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.23.27",
3
+ "version": "2.23.29",
4
4
  "description": "Workflow-continuity bridge for AI coding agents. Wrap Claude Code or Codex in a PTY and supervise, approve, and redirect the session from any device — async. The terminal companion for CodeAgent Mobile.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",