codeam-cli 2.27.12 → 2.27.13

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 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -498,7 +498,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
498
498
  // package.json
499
499
  var package_default = {
500
500
  name: "codeam-cli",
501
- version: "2.27.12",
501
+ version: "2.27.13",
502
502
  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.",
503
503
  type: "commonjs",
504
504
  main: "dist/index.js",
@@ -5873,7 +5873,7 @@ function readAnonId() {
5873
5873
  }
5874
5874
  function superProperties() {
5875
5875
  return {
5876
- cliVersion: true ? "2.27.12" : "0.0.0-dev",
5876
+ cliVersion: true ? "2.27.13" : "0.0.0-dev",
5877
5877
  nodeVersion: process.version,
5878
5878
  platform: process.platform,
5879
5879
  arch: process.arch,
@@ -21486,7 +21486,8 @@ async function start(requestedAgent) {
21486
21486
  requestedAgent: requestedAgent ?? null
21487
21487
  });
21488
21488
  const cwd = process.cwd();
21489
- if (process.env.CODEAM_ACP_ENABLED === "1" && session.pluginAuthToken) {
21489
+ const acpDisabled = process.env.CODEAM_ACP_DISABLED === "1";
21490
+ if (!acpDisabled && session.pluginAuthToken) {
21490
21491
  const adapter = getAcpAdapter(session.agent);
21491
21492
  if (adapter) {
21492
21493
  await runAcpSession({
@@ -21499,9 +21500,9 @@ async function start(requestedAgent) {
21499
21500
  });
21500
21501
  return;
21501
21502
  }
21502
- showInfo(
21503
- `CODEAM_ACP_ENABLED is set but no ACP adapter is registered for "${session.agent}" \u2014 falling back to PTY runtime.`
21504
- );
21503
+ }
21504
+ if (acpDisabled) {
21505
+ showInfo("CODEAM_ACP_DISABLED is set \u2014 running the legacy PTY pipeline.");
21505
21506
  }
21506
21507
  const runtime = createRuntimeStrategy(session.agent);
21507
21508
  const historySvc = new HistoryService(runtime, pluginId, cwd);
@@ -24401,7 +24402,7 @@ function checkChokidar() {
24401
24402
  }
24402
24403
  async function doctor(args2 = []) {
24403
24404
  const json = args2.includes("--json");
24404
- const cliVersion = true ? "2.27.12" : "0.0.0-dev";
24405
+ const cliVersion = true ? "2.27.13" : "0.0.0-dev";
24405
24406
  const apiBase = resolveApiBaseUrl();
24406
24407
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
24407
24408
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -24600,7 +24601,7 @@ async function completion(args2) {
24600
24601
  // src/commands/version.ts
24601
24602
  var import_picocolors13 = __toESM(require("picocolors"));
24602
24603
  function version2() {
24603
- const v = true ? "2.27.12" : "unknown";
24604
+ const v = true ? "2.27.13" : "unknown";
24604
24605
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
24605
24606
  }
24606
24607
 
@@ -24828,7 +24829,7 @@ function checkForUpdates() {
24828
24829
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
24829
24830
  if (process.env.CI) return;
24830
24831
  if (!process.stdout.isTTY) return;
24831
- const current = true ? "2.27.12" : null;
24832
+ const current = true ? "2.27.13" : null;
24832
24833
  if (!current) return;
24833
24834
  const cache = readCache();
24834
24835
  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.27.12",
3
+ "version": "2.27.13",
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",