codeam-cli 2.46.5 → 2.46.6

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,13 @@ 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.46.5] — 2026-06-26
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Collapse thinking onto a per-turn buffer so the activity card doesn't double
12
+ - **cli:** Verify + self-heal the project Dolt DB after provisioning (codeagent-ckq)
13
+
7
14
  ## [2.46.4] — 2026-06-26
8
15
 
9
16
  ### 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.46.5" : "0.0.0-dev",
5400
+ cliVersion: true ? "2.46.6" : "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.46.5",
5581
+ version: "2.46.6",
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",
@@ -15252,13 +15252,35 @@ async function provisionBeads(opts = {}) {
15252
15252
  `bd bootstrap failed (code=${boot.code}): ${boot.stderr.slice(0, 200)} \u2014 prefix DB may be absent`
15253
15253
  );
15254
15254
  }
15255
+ if (!await projectDbReachable(bd)) {
15256
+ log.info(
15257
+ "beads",
15258
+ `prefix DB '${prefix}' still unreachable after bootstrap \u2014 minting a fresh local DB`
15259
+ );
15260
+ const mint = await bd.run([
15261
+ "init",
15262
+ "-p",
15263
+ prefix,
15264
+ "--shared-server",
15265
+ "--reinit-local",
15266
+ "--discard-remote",
15267
+ `--destroy-token=DESTROY-${prefix}`,
15268
+ "--non-interactive"
15269
+ ]);
15270
+ if (mint.code !== 0) {
15271
+ log.warn(
15272
+ "beads",
15273
+ `bd init --reinit-local for '${prefix}' failed (code=${mint.code}): ${mint.stderr.slice(0, 200)} \u2014 prefix DB may be absent`
15274
+ );
15275
+ }
15276
+ }
15255
15277
  const reachable = await projectDbReachable(bd);
15256
15278
  result.serverUp = reachable;
15257
15279
  result.initialized = reachable;
15258
15280
  if (!reachable) {
15259
15281
  log.warn(
15260
15282
  "beads",
15261
- `prefix DB '${prefix}' still unreachable after bootstrap \u2014 beads disabled this run`
15283
+ `prefix DB '${prefix}' still unreachable after bootstrap + mint \u2014 beads disabled this run`
15262
15284
  );
15263
15285
  return result;
15264
15286
  }
@@ -18000,7 +18022,7 @@ async function autoUpgradeBeforeCriticalCommand() {
18000
18022
  if (process.env.NODE_ENV === "test") return;
18001
18023
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18002
18024
  if (process.env.CI) return;
18003
- const current = true ? "2.46.5" : null;
18025
+ const current = true ? "2.46.6" : null;
18004
18026
  if (!current) return;
18005
18027
  const cache = readCache();
18006
18028
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18017,7 +18039,7 @@ function checkForUpdates() {
18017
18039
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18018
18040
  if (process.env.CI) return;
18019
18041
  if (!process.stdout.isTTY) return;
18020
- const current = true ? "2.46.5" : null;
18042
+ const current = true ? "2.46.6" : null;
18021
18043
  if (!current) return;
18022
18044
  const cache = readCache();
18023
18045
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18459,7 +18481,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process14.s
18459
18481
  detached: false
18460
18482
  });
18461
18483
  function currentCliVersion() {
18462
- return true ? "2.46.5" : null;
18484
+ return true ? "2.46.6" : null;
18463
18485
  }
18464
18486
  function runCmd(cmd, args2, timeoutMs) {
18465
18487
  return new Promise((resolve7) => {
@@ -29827,7 +29849,7 @@ function checkChokidar() {
29827
29849
  }
29828
29850
  async function doctor(args2 = []) {
29829
29851
  const json = args2.includes("--json");
29830
- const cliVersion = true ? "2.46.5" : "0.0.0-dev";
29852
+ const cliVersion = true ? "2.46.6" : "0.0.0-dev";
29831
29853
  const apiBase2 = resolveApiBaseUrl();
29832
29854
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
29833
29855
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -30026,7 +30048,7 @@ async function completion(args2) {
30026
30048
  // src/commands/version.ts
30027
30049
  var import_picocolors15 = __toESM(require("picocolors"));
30028
30050
  function version2() {
30029
- const v = true ? "2.46.5" : "unknown";
30051
+ const v = true ? "2.46.6" : "unknown";
30030
30052
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
30031
30053
  }
30032
30054
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.46.5",
3
+ "version": "2.46.6",
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",