codeam-cli 2.32.2 → 2.32.3

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -6
  2. package/package.json +1 -1
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.32.2",
501
+ version: "2.32.3",
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",
@@ -5869,7 +5869,7 @@ function readAnonId() {
5869
5869
  }
5870
5870
  function superProperties() {
5871
5871
  return {
5872
- cliVersion: true ? "2.32.2" : "0.0.0-dev",
5872
+ cliVersion: true ? "2.32.3" : "0.0.0-dev",
5873
5873
  nodeVersion: process.version,
5874
5874
  platform: process.platform,
5875
5875
  arch: process.arch,
@@ -17844,9 +17844,17 @@ var previewStartH = (ctx, _cmd, parsed) => {
17844
17844
  let readyMatched = false;
17845
17845
  let expoUrl = null;
17846
17846
  const readyRe = new RegExp(detection.ready_pattern);
17847
+ const READY_BUFFER_MAX = 32768;
17848
+ let readyBuffer = "";
17847
17849
  const onChunk = (chunk) => {
17848
17850
  const s = chunk.toString();
17849
- if (!readyMatched && readyRe.test(s)) readyMatched = true;
17851
+ if (!readyMatched) {
17852
+ readyBuffer += s;
17853
+ if (readyBuffer.length > READY_BUFFER_MAX) {
17854
+ readyBuffer = readyBuffer.slice(-READY_BUFFER_MAX);
17855
+ }
17856
+ if (readyRe.test(readyBuffer)) readyMatched = true;
17857
+ }
17850
17858
  if (!expoUrl && detection.framework === "Expo") expoUrl = parseExpoUrl(s);
17851
17859
  };
17852
17860
  devServer.stdout.on("data", onChunk);
@@ -24930,7 +24938,7 @@ function checkChokidar() {
24930
24938
  }
24931
24939
  async function doctor(args2 = []) {
24932
24940
  const json = args2.includes("--json");
24933
- const cliVersion = true ? "2.32.2" : "0.0.0-dev";
24941
+ const cliVersion = true ? "2.32.3" : "0.0.0-dev";
24934
24942
  const apiBase = resolveApiBaseUrl();
24935
24943
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
24936
24944
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -25129,7 +25137,7 @@ async function completion(args2) {
25129
25137
  // src/commands/version.ts
25130
25138
  var import_picocolors13 = __toESM(require("picocolors"));
25131
25139
  function version2() {
25132
- const v = true ? "2.32.2" : "unknown";
25140
+ const v = true ? "2.32.3" : "unknown";
25133
25141
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
25134
25142
  }
25135
25143
 
@@ -25415,7 +25423,7 @@ function checkForUpdates() {
25415
25423
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
25416
25424
  if (process.env.CI) return;
25417
25425
  if (!process.stdout.isTTY) return;
25418
- const current = true ? "2.32.2" : null;
25426
+ const current = true ? "2.32.3" : null;
25419
25427
  if (!current) return;
25420
25428
  const cache = readCache();
25421
25429
  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.32.2",
3
+ "version": "2.32.3",
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",