codeam-cli 2.32.3 → 2.32.5
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 +20 -14
- 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.3] — 2026-06-07
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Accumulate stdout for preview ready_pattern matching
|
|
12
|
+
|
|
13
|
+
## [2.32.2] — 2026-06-07
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- **cli:** Gemini ACP adapter passes --skip-trust
|
|
18
|
+
- **cli:** Rewrite `npx <bin>` → local binary before preview spawn
|
|
19
|
+
|
|
7
20
|
## [2.32.1] — 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.5",
|
|
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.5" : "0.0.0-dev",
|
|
5873
5873
|
nodeVersion: process.version,
|
|
5874
5874
|
platform: process.platform,
|
|
5875
5875
|
arch: process.arch,
|
|
@@ -16892,11 +16892,16 @@ async function waitForCloudflaredReady(url, timeoutMs = 6e4) {
|
|
|
16892
16892
|
resolver.setServers(["1.1.1.1", "1.0.0.1"]);
|
|
16893
16893
|
const start2 = Date.now();
|
|
16894
16894
|
while (Date.now() - start2 < timeoutMs) {
|
|
16895
|
-
|
|
16896
|
-
|
|
16897
|
-
|
|
16898
|
-
|
|
16899
|
-
|
|
16895
|
+
const v4 = resolver.resolve4(hostname3).then(
|
|
16896
|
+
(addrs) => addrs.length > 0,
|
|
16897
|
+
() => false
|
|
16898
|
+
);
|
|
16899
|
+
const v6 = resolver.resolve6(hostname3).then(
|
|
16900
|
+
(addrs) => addrs.length > 0,
|
|
16901
|
+
() => false
|
|
16902
|
+
);
|
|
16903
|
+
const [ok4, ok6] = await Promise.all([v4, v6]);
|
|
16904
|
+
if (ok4 || ok6) return;
|
|
16900
16905
|
await new Promise((r) => setTimeout(r, 500));
|
|
16901
16906
|
}
|
|
16902
16907
|
throw new Error(
|
|
@@ -17762,7 +17767,7 @@ var previewStartH = (ctx, _cmd, parsed) => {
|
|
|
17762
17767
|
log.info("preview", "start: no detection in payload");
|
|
17763
17768
|
return;
|
|
17764
17769
|
}
|
|
17765
|
-
const detection =
|
|
17770
|
+
const detection = rawDetection;
|
|
17766
17771
|
const pluginAuthToken = ctx.pluginAuthToken;
|
|
17767
17772
|
const emitProgress = (step, message) => {
|
|
17768
17773
|
void postPreviewEvent({
|
|
@@ -17830,13 +17835,14 @@ var previewStartH = (ctx, _cmd, parsed) => {
|
|
|
17830
17835
|
return;
|
|
17831
17836
|
}
|
|
17832
17837
|
}
|
|
17838
|
+
const spawnable = normalizeDetectionForSpawn(detection, process.cwd());
|
|
17833
17839
|
emitProgress(
|
|
17834
17840
|
"BOOT_SEQUENCE",
|
|
17835
|
-
`${
|
|
17841
|
+
`${spawnable.command} ${spawnable.args.join(" ")}`
|
|
17836
17842
|
);
|
|
17837
|
-
const devServer = (0, import_child_process12.spawn)(
|
|
17843
|
+
const devServer = (0, import_child_process12.spawn)(spawnable.command, spawnable.args, {
|
|
17838
17844
|
cwd: process.cwd(),
|
|
17839
|
-
env: { ...process.env, ...
|
|
17845
|
+
env: { ...process.env, ...spawnable.env ?? {} },
|
|
17840
17846
|
stdio: ["ignore", "pipe", "pipe"]
|
|
17841
17847
|
});
|
|
17842
17848
|
emitProgress("BIND_PORT", String(detection.port));
|
|
@@ -24938,7 +24944,7 @@ function checkChokidar() {
|
|
|
24938
24944
|
}
|
|
24939
24945
|
async function doctor(args2 = []) {
|
|
24940
24946
|
const json = args2.includes("--json");
|
|
24941
|
-
const cliVersion = true ? "2.32.
|
|
24947
|
+
const cliVersion = true ? "2.32.5" : "0.0.0-dev";
|
|
24942
24948
|
const apiBase = resolveApiBaseUrl();
|
|
24943
24949
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
24944
24950
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -25137,7 +25143,7 @@ async function completion(args2) {
|
|
|
25137
25143
|
// src/commands/version.ts
|
|
25138
25144
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
25139
25145
|
function version2() {
|
|
25140
|
-
const v = true ? "2.32.
|
|
25146
|
+
const v = true ? "2.32.5" : "unknown";
|
|
25141
25147
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
25142
25148
|
}
|
|
25143
25149
|
|
|
@@ -25423,7 +25429,7 @@ function checkForUpdates() {
|
|
|
25423
25429
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
25424
25430
|
if (process.env.CI) return;
|
|
25425
25431
|
if (!process.stdout.isTTY) return;
|
|
25426
|
-
const current = true ? "2.32.
|
|
25432
|
+
const current = true ? "2.32.5" : null;
|
|
25427
25433
|
if (!current) return;
|
|
25428
25434
|
const cache = readCache();
|
|
25429
25435
|
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.5",
|
|
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",
|