codeam-cli 2.26.8 → 2.26.9

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.8] — 2026-06-03
8
+
9
+ ### Added
10
+
11
+ - **cli:** Push resumable-session list per active agent (#241)
12
+
7
13
  ## [2.26.7] — 2026-06-03
8
14
 
9
15
  ### Fixed
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.8",
475
+ version: "2.26.9",
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.8" : "0.0.0-dev",
5832
+ cliVersion: true ? "2.26.9" : "0.0.0-dev",
5833
5833
  nodeVersion: process.version,
5834
5834
  platform: process.platform,
5835
5835
  arch: process.arch,
@@ -12902,7 +12902,18 @@ var HistoryService = class _HistoryService {
12902
12902
  const RETRY_DELAYS = [500, 1e3, 2e3, 4e3, 8e3];
12903
12903
  for (let i = 0; i < totalBatches; i++) {
12904
12904
  const batch = messages.slice(i * CONVERSATION_BATCH_SIZE, (i + 1) * CONVERSATION_BATCH_SIZE);
12905
- const body = { pluginId: this.pluginId, sessionId, messages: batch, batchIndex: i, totalBatches };
12905
+ const body = {
12906
+ pluginId: this.pluginId,
12907
+ // `agentId` keys the backend's per-agent conversation cache.
12908
+ // Older backends that don't recognise the field silently
12909
+ // ignore it and default to `claude-code` server-side — same
12910
+ // outcome as before the per-agent split.
12911
+ agentId: this.runtime.id,
12912
+ sessionId,
12913
+ messages: batch,
12914
+ batchIndex: i,
12915
+ totalBatches
12916
+ };
12906
12917
  let ok = await post("/api/sessions/conversation", body);
12907
12918
  for (let attempt = 0; !ok && attempt < RETRY_DELAYS.length; attempt++) {
12908
12919
  await new Promise((r) => setTimeout(r, RETRY_DELAYS[attempt]));
@@ -12952,6 +12963,7 @@ var HistoryService = class _HistoryService {
12952
12963
  if (newMessages.length === 0) return 0;
12953
12964
  const body = {
12954
12965
  pluginId: this.pluginId,
12966
+ agentId: this.runtime.id,
12955
12967
  sessionId,
12956
12968
  messages: newMessages,
12957
12969
  mode: "append"
@@ -20144,7 +20156,7 @@ function checkChokidar() {
20144
20156
  }
20145
20157
  async function doctor(args2 = []) {
20146
20158
  const json = args2.includes("--json");
20147
- const cliVersion = true ? "2.26.8" : "0.0.0-dev";
20159
+ const cliVersion = true ? "2.26.9" : "0.0.0-dev";
20148
20160
  const apiBase = resolveApiBaseUrl();
20149
20161
  const diagnosticId = (0, import_node_crypto6.randomUUID)();
20150
20162
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -20343,7 +20355,7 @@ async function completion(args2) {
20343
20355
  // src/commands/version.ts
20344
20356
  var import_picocolors13 = __toESM(require("picocolors"));
20345
20357
  function version2() {
20346
- const v = true ? "2.26.8" : "unknown";
20358
+ const v = true ? "2.26.9" : "unknown";
20347
20359
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
20348
20360
  }
20349
20361
 
@@ -20571,7 +20583,7 @@ function checkForUpdates() {
20571
20583
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
20572
20584
  if (process.env.CI) return;
20573
20585
  if (!process.stdout.isTTY) return;
20574
- const current = true ? "2.26.8" : null;
20586
+ const current = true ? "2.26.9" : null;
20575
20587
  if (!current) return;
20576
20588
  const cache = readCache();
20577
20589
  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.8",
3
+ "version": "2.26.9",
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",