codeam-cli 2.26.9 → 2.26.10

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.26.9] — 2026-06-03
8
+
9
+ ### Added
10
+
11
+ - **cli:** Conversation push carries agentId for per-agent body cache (#242)
12
+
7
13
  ## [2.26.8] — 2026-06-03
8
14
 
9
15
  ### Added
package/dist/index.js CHANGED
@@ -472,7 +472,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
472
472
  // package.json
473
473
  var package_default = {
474
474
  name: "codeam-cli",
475
- version: "2.26.9",
475
+ version: "2.26.10",
476
476
  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.",
477
477
  type: "commonjs",
478
478
  main: "dist/index.js",
@@ -5829,7 +5829,7 @@ function readAnonId() {
5829
5829
  }
5830
5830
  function superProperties() {
5831
5831
  return {
5832
- cliVersion: true ? "2.26.9" : "0.0.0-dev",
5832
+ cliVersion: true ? "2.26.10" : "0.0.0-dev",
5833
5833
  nodeVersion: process.version,
5834
5834
  platform: process.platform,
5835
5835
  arch: process.arch,
@@ -17080,26 +17080,7 @@ var previewStartH = (ctx, _cmd, parsed) => {
17080
17080
  });
17081
17081
  return;
17082
17082
  }
17083
- try {
17084
- await waitForCloudflaredReady(parsedUrl, 3e4);
17085
- } catch (e) {
17086
- try {
17087
- tunnel.kill("SIGTERM");
17088
- } catch {
17089
- }
17090
- try {
17091
- devServer.kill("SIGTERM");
17092
- } catch {
17093
- }
17094
- void postPreviewEvent({
17095
- sessionId: ctx.sessionId,
17096
- pluginId: ctx.pluginId,
17097
- pluginAuthToken,
17098
- type: "preview_error",
17099
- payload: { stage: "tunnel", message: e.message }
17100
- });
17101
- return;
17102
- }
17083
+ void waitForCloudflaredReady(parsedUrl, 3e4).then(() => log.info("preview", `cloudflared probe: ${parsedUrl} reachable from CLI host`)).catch((e) => log.info("preview", `cloudflared probe: ${String(e.message)} (non-fatal)`));
17103
17084
  url = parsedUrl;
17104
17085
  }
17105
17086
  registerPreview(ctx.sessionId, {
@@ -20156,7 +20137,7 @@ function checkChokidar() {
20156
20137
  }
20157
20138
  async function doctor(args2 = []) {
20158
20139
  const json = args2.includes("--json");
20159
- const cliVersion = true ? "2.26.9" : "0.0.0-dev";
20140
+ const cliVersion = true ? "2.26.10" : "0.0.0-dev";
20160
20141
  const apiBase = resolveApiBaseUrl();
20161
20142
  const diagnosticId = (0, import_node_crypto6.randomUUID)();
20162
20143
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -20355,7 +20336,7 @@ async function completion(args2) {
20355
20336
  // src/commands/version.ts
20356
20337
  var import_picocolors13 = __toESM(require("picocolors"));
20357
20338
  function version2() {
20358
- const v = true ? "2.26.9" : "unknown";
20339
+ const v = true ? "2.26.10" : "unknown";
20359
20340
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
20360
20341
  }
20361
20342
 
@@ -20583,7 +20564,7 @@ function checkForUpdates() {
20583
20564
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
20584
20565
  if (process.env.CI) return;
20585
20566
  if (!process.stdout.isTTY) return;
20586
- const current = true ? "2.26.9" : null;
20567
+ const current = true ? "2.26.10" : null;
20587
20568
  if (!current) return;
20588
20569
  const cache = readCache();
20589
20570
  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.26.9",
3
+ "version": "2.26.10",
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",
@@ -1,33 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- // src/postinstall.ts
5
- var c = {
6
- reset: "\x1B[0m",
7
- bold: "\x1B[1m",
8
- dim: "\x1B[2m",
9
- green: "\x1B[32m",
10
- cyan: "\x1B[36m",
11
- violet: "\x1B[35m",
12
- white: "\x1B[97m"
13
- };
14
- var lines = [
15
- "",
16
- ` ${c.violet}${c.bold}codeam-cli${c.reset} ${c.dim}\u2014 Claude Code remote control${c.reset}`,
17
- "",
18
- ` ${c.dim}1.${c.reset} Pair your phone:`,
19
- ` ${c.cyan}codeam pair${c.reset}`,
20
- "",
21
- ` ${c.dim}2.${c.reset} Launch Claude Code with mobile control:`,
22
- ` ${c.cyan}codeam${c.reset}`,
23
- "",
24
- ` ${c.dim}Other commands:${c.reset}`,
25
- ` ${c.white}codeam sessions${c.reset} ${c.dim}list paired devices${c.reset}`,
26
- ` ${c.white}codeam status${c.reset} ${c.dim}show connection info${c.reset}`,
27
- ` ${c.white}codeam logout${c.reset} ${c.dim}remove all sessions${c.reset}`,
28
- "",
29
- ` ${c.dim}Requires Claude Code:${c.reset} ${c.green}npm install -g @anthropic-ai/claude-code${c.reset}`,
30
- ` ${c.dim}Mobile app:${c.reset} ${c.green}https://www.codeagent-mobile.com${c.reset}`,
31
- ""
32
- ];
33
- process.stdout.write(lines.join("\n") + "\n");