codeam-cli 2.15.6 → 2.15.7

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,15 @@ 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.15.6] — 2026-05-20
8
+
9
+ ### Added
10
+
11
+ - **cli:** Send current git branch on pair
12
+ - **vsc-plugin:** Emit file-change + review-hunk events from Path B (direct claude)
13
+ - **jetbrains-plugin:** Emit file-change + review-hunk events from Path B
14
+ - **cli:** Epic C — emit streaming chunks + subscribe to answer channel
15
+
7
16
  ## [2.15.5] — 2026-05-20
8
17
 
9
18
  ### Added
package/README.md CHANGED
@@ -111,7 +111,7 @@ Adding more cloud backends (Gitpod, Coder, your own SSH host, …) is a single n
111
111
 
112
112
  | Variable | Default | Effect |
113
113
  |---|---|---|
114
- | `CODEAM_API_URL` | `https://codeagent-mobile-api.vercel.app` | Override the backend relay URL. Useful for hitting a staging environment or self-hosted backend. |
114
+ | `CODEAM_API_URL` | `https://api.codeagent-mobile.com` | Override the backend relay URL. Useful for hitting a staging environment or self-hosted backend. |
115
115
  | `CODEAM_DISABLE_UPDATE_CHECK` | unset | Set to `1` to suppress the "update available" banner. The check also auto-skips on non-TTY stdout, when `CI=true`, and during tests. |
116
116
  | `CODEAM_AUTO_TOKEN` | unset | One-shot pairing token consumed by `codeam pair-auto`. Used by the `codeam deploy` bootstrap; see *Advanced / scripted pairing* below. |
117
117
 
package/dist/index.js CHANGED
@@ -284,6 +284,9 @@ function isKnownAgentId(id) {
284
284
  return id === "claude" || id === "codex" || id === "copilot";
285
285
  }
286
286
 
287
+ // ../../packages/shared/src/api-url.ts
288
+ var DEFAULT_API_BASE_URL = "https://api.codeagent-mobile.com";
289
+
287
290
  // src/config.ts
288
291
  var fs = __toESM(require("fs"));
289
292
  var os = __toESM(require("os"));
@@ -386,7 +389,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
386
389
  // package.json
387
390
  var package_default = {
388
391
  name: "codeam-cli",
389
- version: "2.15.6",
392
+ version: "2.15.7",
390
393
  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.",
391
394
  type: "commonjs",
392
395
  main: "dist/index.js",
@@ -558,7 +561,7 @@ function computePollDelay({ baseMs, failures }) {
558
561
  }
559
562
 
560
563
  // src/services/pairing.service.ts
561
- var API_BASE = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
564
+ var API_BASE = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
562
565
  async function requestCode(pluginId) {
563
566
  try {
564
567
  const runtime = process.env.CODESPACES === "true" ? "github-codespaces" : "local";
@@ -778,7 +781,7 @@ var log = {
778
781
  };
779
782
 
780
783
  // src/services/command-relay.service.ts
781
- var API_BASE2 = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
784
+ var API_BASE2 = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
782
785
  var CommandRelayService = class {
783
786
  constructor(pluginId, onCommand, agentMeta) {
784
787
  this.pluginId = pluginId;
@@ -5194,7 +5197,7 @@ var ChromeStepTracker = class {
5194
5197
  // src/services/output/chunk-emitter.ts
5195
5198
  var https3 = __toESM(require("https"));
5196
5199
  var http3 = __toESM(require("http"));
5197
- var API_BASE3 = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
5200
+ var API_BASE3 = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
5198
5201
  var ChunkEmitter = class {
5199
5202
  constructor(opts) {
5200
5203
  this.opts = opts;
@@ -5683,7 +5686,7 @@ var historyRecordSchema = import_zod.z.object({
5683
5686
  content: import_zod.z.union([import_zod.z.string(), import_zod.z.array(import_zod.z.unknown())]).optional()
5684
5687
  }).passthrough().optional()
5685
5688
  }).passthrough();
5686
- var API_BASE4 = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
5689
+ var API_BASE4 = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
5687
5690
  function extractText2(content) {
5688
5691
  if (typeof content === "string") return content;
5689
5692
  if (Array.isArray(content)) {
@@ -6289,7 +6292,7 @@ function _post2(url, headers, payload) {
6289
6292
  }
6290
6293
 
6291
6294
  // src/services/file-watcher.service.ts
6292
- var API_BASE5 = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
6295
+ var API_BASE5 = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
6293
6296
  var DEBOUNCE_MS = 250;
6294
6297
  var MAX_RETRIES = 2;
6295
6298
  var RETRY_BACKOFF_MS = 300;
@@ -6704,7 +6707,7 @@ function _get(url, headers) {
6704
6707
  }
6705
6708
 
6706
6709
  // src/services/streaming-emitter.service.ts
6707
- var API_BASE6 = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
6710
+ var API_BASE6 = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
6708
6711
  var TICK_MS = 50;
6709
6712
  var ANSWER_POLL_MS = 1500;
6710
6713
  var SELECTOR_STABLE_MS = 800;
@@ -8486,7 +8489,7 @@ async function pair(args2 = []) {
8486
8489
  var fs15 = __toESM(require("fs"));
8487
8490
  var os14 = __toESM(require("os"));
8488
8491
  var import_crypto5 = require("crypto");
8489
- var API_BASE7 = process.env.CODEAM_API_URL ?? "https://codeagent-mobile-api.vercel.app";
8492
+ var API_BASE7 = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
8490
8493
  function fail(msg) {
8491
8494
  console.error(`
8492
8495
  ${msg}
@@ -10621,7 +10624,7 @@ async function stopWorkspaceFromLocal(target) {
10621
10624
  // src/commands/version.ts
10622
10625
  var import_picocolors11 = __toESM(require("picocolors"));
10623
10626
  function version() {
10624
- const v = true ? "2.15.6" : "unknown";
10627
+ const v = true ? "2.15.7" : "unknown";
10625
10628
  console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
10626
10629
  }
10627
10630
 
@@ -10760,7 +10763,7 @@ function checkForUpdates() {
10760
10763
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
10761
10764
  if (process.env.CI) return;
10762
10765
  if (!process.stdout.isTTY) return;
10763
- const current = true ? "2.15.6" : null;
10766
+ const current = true ? "2.15.7" : null;
10764
10767
  if (!current) return;
10765
10768
  const cache = readCache();
10766
10769
  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.15.6",
3
+ "version": "2.15.7",
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",