codeam-cli 2.32.0 → 2.32.2
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 +12 -0
- package/dist/index.js +31 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ 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.1] — 2026-06-07
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Gemini ACP adapter passes --skip-trust
|
|
12
|
+
|
|
13
|
+
## [2.32.0] — 2026-06-07
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **cli:** Surface HTTP errors from requestCode + PATH-augment agent spawns
|
|
18
|
+
|
|
7
19
|
## [2.31.0] — 2026-06-07
|
|
8
20
|
|
|
9
21
|
### Chore
|
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.2",
|
|
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.2" : "0.0.0-dev",
|
|
5873
5873
|
nodeVersion: process.version,
|
|
5874
5874
|
platform: process.platform,
|
|
5875
5875
|
arch: process.arch,
|
|
@@ -12061,7 +12061,15 @@ var REGISTRY = {
|
|
|
12061
12061
|
// resolved from PATH at spawn time instead of being absolute.
|
|
12062
12062
|
gemini: () => ({
|
|
12063
12063
|
command: "gemini",
|
|
12064
|
-
|
|
12064
|
+
// `--skip-trust` bypasses Gemini's headless-mode workspace-trust
|
|
12065
|
+
// gate. Without it the CLI refuses to start in `--acp` mode with
|
|
12066
|
+
// "Gemini CLI is not running in a trusted directory" and the
|
|
12067
|
+
// ACP newSession call never returns, leaving mobile chat stuck
|
|
12068
|
+
// on "thinking…" forever. The equivalent env var is
|
|
12069
|
+
// `GEMINI_CLI_TRUST_WORKSPACE=true`; passing the flag is
|
|
12070
|
+
// cleaner because it survives whatever shell env the parent
|
|
12071
|
+
// codeam was launched from.
|
|
12072
|
+
args: ["--skip-trust", "--acp"],
|
|
12065
12073
|
requiresAgentBinary: "gemini"
|
|
12066
12074
|
})
|
|
12067
12075
|
};
|
|
@@ -17730,16 +17738,31 @@ var requestPreviewDetectH = (ctx) => {
|
|
|
17730
17738
|
});
|
|
17731
17739
|
})();
|
|
17732
17740
|
};
|
|
17741
|
+
function normalizeDetectionForSpawn(detection, cwd) {
|
|
17742
|
+
if (detection.command !== "npx") return detection;
|
|
17743
|
+
const args2 = detection.args ?? [];
|
|
17744
|
+
if (args2.length === 0) return detection;
|
|
17745
|
+
const binName = args2[0];
|
|
17746
|
+
if (binName.startsWith("-")) return detection;
|
|
17747
|
+
const binPath = path35.join(cwd, "node_modules", ".bin", binName);
|
|
17748
|
+
if (!fs29.existsSync(binPath)) return detection;
|
|
17749
|
+
return {
|
|
17750
|
+
...detection,
|
|
17751
|
+
command: binPath,
|
|
17752
|
+
args: args2.slice(1)
|
|
17753
|
+
};
|
|
17754
|
+
}
|
|
17733
17755
|
var previewStartH = (ctx, _cmd, parsed) => {
|
|
17734
17756
|
if (!ctx.pluginAuthToken) {
|
|
17735
17757
|
log.info("preview", "no pluginAuthToken \u2014 skipping start");
|
|
17736
17758
|
return;
|
|
17737
17759
|
}
|
|
17738
|
-
const
|
|
17739
|
-
if (!
|
|
17760
|
+
const rawDetection = parsed.detection;
|
|
17761
|
+
if (!rawDetection) {
|
|
17740
17762
|
log.info("preview", "start: no detection in payload");
|
|
17741
17763
|
return;
|
|
17742
17764
|
}
|
|
17765
|
+
const detection = normalizeDetectionForSpawn(rawDetection, process.cwd());
|
|
17743
17766
|
const pluginAuthToken = ctx.pluginAuthToken;
|
|
17744
17767
|
const emitProgress = (step, message) => {
|
|
17745
17768
|
void postPreviewEvent({
|
|
@@ -24907,7 +24930,7 @@ function checkChokidar() {
|
|
|
24907
24930
|
}
|
|
24908
24931
|
async function doctor(args2 = []) {
|
|
24909
24932
|
const json = args2.includes("--json");
|
|
24910
|
-
const cliVersion = true ? "2.32.
|
|
24933
|
+
const cliVersion = true ? "2.32.2" : "0.0.0-dev";
|
|
24911
24934
|
const apiBase = resolveApiBaseUrl();
|
|
24912
24935
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
24913
24936
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -25106,7 +25129,7 @@ async function completion(args2) {
|
|
|
25106
25129
|
// src/commands/version.ts
|
|
25107
25130
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
25108
25131
|
function version2() {
|
|
25109
|
-
const v = true ? "2.32.
|
|
25132
|
+
const v = true ? "2.32.2" : "unknown";
|
|
25110
25133
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
25111
25134
|
}
|
|
25112
25135
|
|
|
@@ -25392,7 +25415,7 @@ function checkForUpdates() {
|
|
|
25392
25415
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
25393
25416
|
if (process.env.CI) return;
|
|
25394
25417
|
if (!process.stdout.isTTY) return;
|
|
25395
|
-
const current = true ? "2.32.
|
|
25418
|
+
const current = true ? "2.32.2" : null;
|
|
25396
25419
|
if (!current) return;
|
|
25397
25420
|
const cache = readCache();
|
|
25398
25421
|
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.2",
|
|
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",
|