codeam-cli 2.23.0 → 2.23.1

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.23.0] — 2026-05-25
8
+
9
+ ### Added
10
+
11
+ - **cli:** AI insights — generateOneShot + handlers (PR 2 of 6) (#188)
12
+
7
13
  ## [2.22.1] — 2026-05-25
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -441,7 +441,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
441
441
  // package.json
442
442
  var package_default = {
443
443
  name: "codeam-cli",
444
- version: "2.23.0",
444
+ version: "2.23.1",
445
445
  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.",
446
446
  type: "commonjs",
447
447
  main: "dist/index.js",
@@ -5768,7 +5768,7 @@ function readAnonId() {
5768
5768
  }
5769
5769
  function superProperties() {
5770
5770
  return {
5771
- cliVersion: true ? "2.23.0" : "0.0.0-dev",
5771
+ cliVersion: true ? "2.23.1" : "0.0.0-dev",
5772
5772
  nodeVersion: process.version,
5773
5773
  platform: process.platform,
5774
5774
  arch: process.arch,
@@ -13922,7 +13922,14 @@ var startCommandSchema = import_zod2.z.object({
13922
13922
  // a narrow enum) because the web sends internal ids ('claude')
13923
13923
  // while the auto-link backend sends public ids ('claude_code'),
13924
13924
  // and the consuming handlers normalize themselves.
13925
- agentId: import_zod2.z.string().max(64).optional(),
13925
+ //
13926
+ // `.nullable()` — the web's session page passes the literal value
13927
+ // `null` when no agent has been selected yet for the session
13928
+ // (`currentAgentId` is null before sessionAgents populates).
13929
+ // Without nullable() zod rejects the whole payload, the dispatcher
13930
+ // logs "Ignoring malformed list_models payload" and the model
13931
+ // picker / context never load.
13932
+ agentId: import_zod2.z.string().max(64).nullable().optional(),
13926
13933
  // `request_ai_summary` / `request_ai_insight` — backend fires
13927
13934
  // these on turn-end (+ file selection) when LinkedAgent.
13928
13935
  // aiInsightsEnabled is true. The CLI spawns the agent in
@@ -18283,7 +18290,7 @@ function checkChokidar() {
18283
18290
  }
18284
18291
  async function doctor(args2 = []) {
18285
18292
  const json = args2.includes("--json");
18286
- const cliVersion = true ? "2.23.0" : "0.0.0-dev";
18293
+ const cliVersion = true ? "2.23.1" : "0.0.0-dev";
18287
18294
  const apiBase = resolveApiBaseUrl();
18288
18295
  const diagnosticId = (0, import_node_crypto5.randomUUID)();
18289
18296
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -18482,7 +18489,7 @@ async function completion(args2) {
18482
18489
  // src/commands/version.ts
18483
18490
  var import_picocolors13 = __toESM(require("picocolors"));
18484
18491
  function version2() {
18485
- const v = true ? "2.23.0" : "unknown";
18492
+ const v = true ? "2.23.1" : "unknown";
18486
18493
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
18487
18494
  }
18488
18495
 
@@ -18710,7 +18717,7 @@ function checkForUpdates() {
18710
18717
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18711
18718
  if (process.env.CI) return;
18712
18719
  if (!process.stdout.isTTY) return;
18713
- const current = true ? "2.23.0" : null;
18720
+ const current = true ? "2.23.1" : null;
18714
18721
  if (!current) return;
18715
18722
  const cache = readCache();
18716
18723
  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.23.0",
3
+ "version": "2.23.1",
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",