codeam-cli 2.37.3 → 2.38.0

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.37.3] — 2026-06-11
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Force full https:// URLs in onboarding welcome so both render as links
12
+
7
13
  ## [2.37.2] — 2026-06-11
8
14
 
9
15
  ### Added
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.37.3",
501
+ version: "2.38.0",
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",
@@ -5900,7 +5900,7 @@ function readAnonId() {
5900
5900
  }
5901
5901
  function superProperties() {
5902
5902
  return {
5903
- cliVersion: true ? "2.37.3" : "0.0.0-dev",
5903
+ cliVersion: true ? "2.38.0" : "0.0.0-dev",
5904
5904
  nodeVersion: process.version,
5905
5905
  platform: process.platform,
5906
5906
  arch: process.arch,
@@ -18508,6 +18508,45 @@ var BeadsWatcher = class {
18508
18508
  }
18509
18509
  };
18510
18510
 
18511
+ // src/beads/inherit-team-memories.ts
18512
+ async function inheritTeamMemories(opts) {
18513
+ const apiBase = opts.apiBaseUrl ?? resolveApiBaseUrl();
18514
+ let memories = [];
18515
+ try {
18516
+ const res = await _transport3.post(
18517
+ `${apiBase}/api/beads/team-memories`,
18518
+ {
18519
+ "Content-Type": "application/json",
18520
+ "X-Codeam-Protocol-Version": "2.0.0",
18521
+ "X-Plugin-Auth-Token": opts.pluginAuthToken
18522
+ },
18523
+ JSON.stringify({ sessionId: opts.sessionId, pluginId: opts.pluginId })
18524
+ );
18525
+ if (res.statusCode < 200 || res.statusCode >= 300) {
18526
+ log.trace("beads", `team-memories fetch status=${res.statusCode}`);
18527
+ return;
18528
+ }
18529
+ const parsed = JSON.parse(res.body);
18530
+ memories = Array.isArray(parsed.data?.memories) ? parsed.data.memories : [];
18531
+ } catch (err) {
18532
+ log.warn("beads", "team-memories fetch failed (non-fatal)", err);
18533
+ return;
18534
+ }
18535
+ if (memories.length === 0) return;
18536
+ let written = 0;
18537
+ for (const m of memories) {
18538
+ const body = (m?.body ?? "").trim();
18539
+ if (!m?.id || !body) continue;
18540
+ try {
18541
+ await opts.adapter.run(["remember", "--key", `team-${m.id}`, `Team convention (read-only): ${body}`]);
18542
+ written++;
18543
+ } catch (err) {
18544
+ log.trace("beads", `team memory write failed id=${m.id}: ${err.message}`);
18545
+ }
18546
+ }
18547
+ log.info("beads", `inherited ${written}/${memories.length} team memory(ies) into the active repo`);
18548
+ }
18549
+
18511
18550
  // src/beads/apply-actions.ts
18512
18551
  function buildBdArgs(action) {
18513
18552
  switch (action.kind) {
@@ -18577,6 +18616,12 @@ async function startBeads(opts) {
18577
18616
  });
18578
18617
  watcher.start();
18579
18618
  void watcher.syncNow();
18619
+ void inheritTeamMemories({
18620
+ sessionId: opts.sessionId,
18621
+ pluginId: opts.pluginId,
18622
+ pluginAuthToken: opts.pluginAuthToken,
18623
+ adapter
18624
+ });
18580
18625
  return { watcher, adapter };
18581
18626
  }
18582
18627
  async function handleBeadsActionCommand(action, started) {
@@ -26605,7 +26650,7 @@ function checkChokidar() {
26605
26650
  }
26606
26651
  async function doctor(args2 = []) {
26607
26652
  const json = args2.includes("--json");
26608
- const cliVersion = true ? "2.37.3" : "0.0.0-dev";
26653
+ const cliVersion = true ? "2.38.0" : "0.0.0-dev";
26609
26654
  const apiBase = resolveApiBaseUrl();
26610
26655
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
26611
26656
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -26804,7 +26849,7 @@ async function completion(args2) {
26804
26849
  // src/commands/version.ts
26805
26850
  var import_picocolors13 = __toESM(require("picocolors"));
26806
26851
  function version2() {
26807
- const v = true ? "2.37.3" : "unknown";
26852
+ const v = true ? "2.38.0" : "unknown";
26808
26853
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
26809
26854
  }
26810
26855
 
@@ -27090,7 +27135,7 @@ function checkForUpdates() {
27090
27135
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
27091
27136
  if (process.env.CI) return;
27092
27137
  if (!process.stdout.isTTY) return;
27093
- const current = true ? "2.37.3" : null;
27138
+ const current = true ? "2.38.0" : null;
27094
27139
  if (!current) return;
27095
27140
  const cache = readCache();
27096
27141
  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.37.3",
3
+ "version": "2.38.0",
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",