codeam-cli 2.23.19 → 2.23.20

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `codeam-cli` are documented here.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.23.19] — 2026-05-30
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Serialise prompt submissions while agent is busy
12
+
7
13
  ## [2.23.18] — 2026-05-28
8
14
 
9
15
  ### CI
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.19",
444
+ version: "2.23.20",
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.19" : "0.0.0-dev",
5777
+ cliVersion: true ? "2.23.20" : "0.0.0-dev",
5778
5778
  nodeVersion: process.version,
5779
5779
  platform: process.platform,
5780
5780
  arch: process.arch,
@@ -9627,9 +9627,10 @@ function detectSelector(lines) {
9627
9627
  (l) => /\b(?:trust\s+the\s+files|trust\s+this\s+folder|safety\s+check)\b/i.test(l)
9628
9628
  );
9629
9629
  if (!hasCursor && !looksLikeTrust) return null;
9630
+ const OPTION_RE = /^(?:[❯>]\s*)?(\d+)\.(\s+|(?=\D))(.+)/;
9630
9631
  let optionStartIdx = -1;
9631
9632
  for (let i = 0; i < clean.length; i++) {
9632
- if (/^(?:[❯>]\s*)?\d+\.\s/.test(clean[i].trim())) {
9633
+ if (OPTION_RE.test(clean[i].trim())) {
9633
9634
  optionStartIdx = i;
9634
9635
  break;
9635
9636
  }
@@ -9652,11 +9653,11 @@ function detectSelector(lines) {
9652
9653
  for (let i = optionStartIdx; i < clean.length; i++) {
9653
9654
  const t2 = clean[i].trim();
9654
9655
  if (!t2) continue;
9655
- const m = t2.match(/^(?:[❯>]\s*)?(\d+)\.\s+(.+)/);
9656
+ const m = t2.match(OPTION_RE);
9656
9657
  if (m) {
9657
9658
  const num = parseInt(m[1], 10);
9658
9659
  if (!optionLabels.has(num)) {
9659
- optionLabels.set(num, m[2].trim());
9660
+ optionLabels.set(num, m[3].trim());
9660
9661
  optionDescs.set(num, []);
9661
9662
  }
9662
9663
  currentNum = num;
@@ -18803,7 +18804,7 @@ function checkChokidar() {
18803
18804
  }
18804
18805
  async function doctor(args2 = []) {
18805
18806
  const json = args2.includes("--json");
18806
- const cliVersion = true ? "2.23.19" : "0.0.0-dev";
18807
+ const cliVersion = true ? "2.23.20" : "0.0.0-dev";
18807
18808
  const apiBase = resolveApiBaseUrl();
18808
18809
  const diagnosticId = (0, import_node_crypto5.randomUUID)();
18809
18810
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -19002,7 +19003,7 @@ async function completion(args2) {
19002
19003
  // src/commands/version.ts
19003
19004
  var import_picocolors13 = __toESM(require("picocolors"));
19004
19005
  function version2() {
19005
- const v = true ? "2.23.19" : "unknown";
19006
+ const v = true ? "2.23.20" : "unknown";
19006
19007
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
19007
19008
  }
19008
19009
 
@@ -19230,7 +19231,7 @@ function checkForUpdates() {
19230
19231
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
19231
19232
  if (process.env.CI) return;
19232
19233
  if (!process.stdout.isTTY) return;
19233
- const current = true ? "2.23.19" : null;
19234
+ const current = true ? "2.23.20" : null;
19234
19235
  if (!current) return;
19235
19236
  const cache = readCache();
19236
19237
  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.19",
3
+ "version": "2.23.20",
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",