codeam-cli 2.52.2 → 2.52.3

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.52.2] — 2026-06-30
8
+
9
+ ### Fixed
10
+
11
+ - **acp:** Stop synthesising input_suggestion from the reply (echoed agent msg)
12
+
7
13
  ## [2.52.1] — 2026-06-29
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -5397,7 +5397,7 @@ function readAnonId() {
5397
5397
  }
5398
5398
  function superProperties() {
5399
5399
  return {
5400
- cliVersion: true ? "2.52.2" : "0.0.0-dev",
5400
+ cliVersion: true ? "2.52.3" : "0.0.0-dev",
5401
5401
  nodeVersion: process.version,
5402
5402
  platform: process.platform,
5403
5403
  arch: process.arch,
@@ -5578,7 +5578,7 @@ var os4 = __toESM(require("os"));
5578
5578
  // package.json
5579
5579
  var package_default = {
5580
5580
  name: "codeam-cli",
5581
- version: "2.52.2",
5581
+ version: "2.52.3",
5582
5582
  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.",
5583
5583
  type: "commonjs",
5584
5584
  main: "dist/index.js",
@@ -14863,7 +14863,7 @@ async function autoUpgradeBeforeCriticalCommand() {
14863
14863
  if (process.env.NODE_ENV === "test") return;
14864
14864
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
14865
14865
  if (process.env.CI) return;
14866
- const current = true ? "2.52.2" : null;
14866
+ const current = true ? "2.52.3" : null;
14867
14867
  if (!current) return;
14868
14868
  const cache = readCache();
14869
14869
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -14880,7 +14880,7 @@ function checkForUpdates() {
14880
14880
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
14881
14881
  if (process.env.CI) return;
14882
14882
  if (!process.stdout.isTTY) return;
14883
- const current = true ? "2.52.2" : null;
14883
+ const current = true ? "2.52.3" : null;
14884
14884
  if (!current) return;
14885
14885
  const cache = readCache();
14886
14886
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -15582,7 +15582,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process15.s
15582
15582
  detached: false
15583
15583
  });
15584
15584
  function currentCliVersion() {
15585
- return true ? "2.52.2" : null;
15585
+ return true ? "2.52.3" : null;
15586
15586
  }
15587
15587
  function runCmd(cmd, args2, timeoutMs) {
15588
15588
  return new Promise((resolve7) => {
@@ -26331,6 +26331,7 @@ function replyIsCursorUpgradeRequired(finalText) {
26331
26331
  }
26332
26332
  var CURSOR_UPGRADE_MESSAGE = "\u26A1 **Cursor needs a paid plan to run the agent.**\n\nThe headless Cursor Agent requires Cursor **Pro** \u2014 your Free plan\u2019s included usage does NOT cover Agent runs, even with quota left. This is your Cursor account (not CodeAgent). Upgrade, then send your message again:\n\n[Upgrade to Cursor Pro \u2192](https://cursor.com/dashboard)";
26333
26333
  var TURN_FAILURE_MESSAGE = "\u26A0\uFE0F **The agent hit an error and couldn\u2019t finish this turn.** Please send your message again.";
26334
+ var ACP_QUICK_REPLIES = ["Continue", "Yes, go ahead", "Explain"];
26334
26335
  var PROVIDER_OUTAGE_RE = /overloaded_error|\boverloaded\b|service[ _]unavailable|temporarily[ _]unavailable|(?:api error|http|status)[:\s]+(?:529|503|502|504)\b|\b(?:529|503|502|504)\b[^\n]{0,40}(?:overload|unavailable|gateway|upstream|server error)|bad gateway|gateway time-?out|upstream (?:error|connect|timeout)/i;
26335
26336
  function looksLikeProviderOutage(text) {
26336
26337
  return PROVIDER_OUTAGE_RE.test(text);
@@ -26905,6 +26906,11 @@ async function handleCommand(cmd, client2, relay, acpSessionId, models, streamin
26905
26906
  }
26906
26907
  history.appendAgentReply(finalText);
26907
26908
  void history.flush();
26909
+ void publisher.publishOutput({
26910
+ type: "input_suggestion",
26911
+ content: ACP_QUICK_REPLIES,
26912
+ done: true
26913
+ });
26908
26914
  turnFiles.flushTurn().catch((err) => {
26909
26915
  log.warn("acpRunner", `turnFiles.flushTurn failed: ${describeError(err)}`);
26910
26916
  });
@@ -31181,7 +31187,7 @@ function checkChokidar() {
31181
31187
  }
31182
31188
  async function doctor(args2 = []) {
31183
31189
  const json = args2.includes("--json");
31184
- const cliVersion = true ? "2.52.2" : "0.0.0-dev";
31190
+ const cliVersion = true ? "2.52.3" : "0.0.0-dev";
31185
31191
  const apiBase2 = resolveApiBaseUrl();
31186
31192
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
31187
31193
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -31380,7 +31386,7 @@ async function completion(args2) {
31380
31386
  // src/commands/version.ts
31381
31387
  var import_picocolors15 = __toESM(require("picocolors"));
31382
31388
  function version2() {
31383
- const v = true ? "2.52.2" : "unknown";
31389
+ const v = true ? "2.52.3" : "unknown";
31384
31390
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
31385
31391
  }
31386
31392
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.52.2",
3
+ "version": "2.52.3",
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",