codeam-cli 2.32.4 → 2.32.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 +13 -0
- package/dist/index.js +15 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ 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.32.4] — 2026-06-07
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Accumulate stdout for preview ready_pattern matching
|
|
12
|
+
- **cli:** Run npx normalization AFTER preflight install, not before
|
|
13
|
+
|
|
14
|
+
## [2.32.3] — 2026-06-07
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **cli:** Accumulate stdout for preview ready_pattern matching
|
|
19
|
+
|
|
7
20
|
## [2.32.2] — 2026-06-07
|
|
8
21
|
|
|
9
22
|
### Fixed
|
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.
|
|
501
|
+
version: "2.32.6",
|
|
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.
|
|
5872
|
+
cliVersion: true ? "2.32.6" : "0.0.0-dev",
|
|
5873
5873
|
nodeVersion: process.version,
|
|
5874
5874
|
platform: process.platform,
|
|
5875
5875
|
arch: process.arch,
|
|
@@ -16878,7 +16878,7 @@ async function linkDryRunPreflight(ctx) {
|
|
|
16878
16878
|
}
|
|
16879
16879
|
|
|
16880
16880
|
// src/services/preview/cloudflared.ts
|
|
16881
|
-
var import_promises = require("dns/promises");
|
|
16881
|
+
var import_promises = __toESM(require("dns/promises"));
|
|
16882
16882
|
var import_fs = require("fs");
|
|
16883
16883
|
var import_promises2 = __toESM(require("fs/promises"));
|
|
16884
16884
|
var import_os6 = __toESM(require("os"));
|
|
@@ -16888,16 +16888,15 @@ var import_which = __toESM(require("which"));
|
|
|
16888
16888
|
var CACHED_BINARY = import_path4.default.join(import_os6.default.homedir(), ".codeam", "bin", "cloudflared");
|
|
16889
16889
|
async function waitForCloudflaredReady(url, timeoutMs = 6e4) {
|
|
16890
16890
|
const hostname3 = new URL(url).hostname;
|
|
16891
|
-
const
|
|
16892
|
-
resolver.setServers(["1.1.1.1", "1.0.0.1"]);
|
|
16891
|
+
const cares = new import_promises.Resolver();
|
|
16893
16892
|
const start2 = Date.now();
|
|
16894
16893
|
while (Date.now() - start2 < timeoutMs) {
|
|
16895
|
-
|
|
16896
|
-
|
|
16897
|
-
|
|
16898
|
-
|
|
16899
|
-
|
|
16900
|
-
await new Promise((r) => setTimeout(r,
|
|
16894
|
+
const lookup = import_promises.default.lookup(hostname3, { all: true }).then((addrs) => addrs.length > 0, () => false);
|
|
16895
|
+
const v4 = cares.resolve4(hostname3).then((addrs) => addrs.length > 0, () => false);
|
|
16896
|
+
const v6 = cares.resolve6(hostname3).then((addrs) => addrs.length > 0, () => false);
|
|
16897
|
+
const results = await Promise.all([lookup, v4, v6]);
|
|
16898
|
+
if (results.some((ok) => ok)) return;
|
|
16899
|
+
await new Promise((r) => setTimeout(r, 1e3));
|
|
16901
16900
|
}
|
|
16902
16901
|
throw new Error(
|
|
16903
16902
|
`DNS for ${hostname3} did not resolve within ${timeoutMs}ms (Cloudflare Quick Tunnel registration may have failed).`
|
|
@@ -24939,16 +24938,16 @@ function checkChokidar() {
|
|
|
24939
24938
|
}
|
|
24940
24939
|
async function doctor(args2 = []) {
|
|
24941
24940
|
const json = args2.includes("--json");
|
|
24942
|
-
const cliVersion = true ? "2.32.
|
|
24941
|
+
const cliVersion = true ? "2.32.6" : "0.0.0-dev";
|
|
24943
24942
|
const apiBase = resolveApiBaseUrl();
|
|
24944
24943
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
24945
24944
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
24946
|
-
const [
|
|
24945
|
+
const [dns2, health] = await Promise.all([
|
|
24947
24946
|
checkDns(apiBase),
|
|
24948
24947
|
checkHealth(apiBase)
|
|
24949
24948
|
]);
|
|
24950
24949
|
const checks = [
|
|
24951
|
-
|
|
24950
|
+
dns2,
|
|
24952
24951
|
health,
|
|
24953
24952
|
checkConfigDir(),
|
|
24954
24953
|
checkSessions(),
|
|
@@ -25138,7 +25137,7 @@ async function completion(args2) {
|
|
|
25138
25137
|
// src/commands/version.ts
|
|
25139
25138
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
25140
25139
|
function version2() {
|
|
25141
|
-
const v = true ? "2.32.
|
|
25140
|
+
const v = true ? "2.32.6" : "unknown";
|
|
25142
25141
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
25143
25142
|
}
|
|
25144
25143
|
|
|
@@ -25424,7 +25423,7 @@ function checkForUpdates() {
|
|
|
25424
25423
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
25425
25424
|
if (process.env.CI) return;
|
|
25426
25425
|
if (!process.stdout.isTTY) return;
|
|
25427
|
-
const current = true ? "2.32.
|
|
25426
|
+
const current = true ? "2.32.6" : null;
|
|
25428
25427
|
if (!current) return;
|
|
25429
25428
|
const cache = readCache();
|
|
25430
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.
|
|
3
|
+
"version": "2.32.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",
|