codeam-cli 2.43.2 → 2.43.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +25 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ 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.43.2] — 2026-06-25
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Self-hosted credential cleanup on authType change (claude + codex)
|
|
12
|
+
- **cli:** Welcome CTA shows the repo name, not the session UUID
|
|
13
|
+
|
|
7
14
|
## [2.43.1] — 2026-06-24
|
|
8
15
|
|
|
9
16
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -5397,7 +5397,7 @@ function readAnonId() {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
function superProperties() {
|
|
5399
5399
|
return {
|
|
5400
|
-
cliVersion: true ? "2.43.
|
|
5400
|
+
cliVersion: true ? "2.43.3" : "0.0.0-dev",
|
|
5401
5401
|
nodeVersion: process.version,
|
|
5402
5402
|
platform: process.platform,
|
|
5403
5403
|
arch: process.arch,
|
|
@@ -5578,7 +5578,7 @@ var os4 = __toESM(require("os"));
|
|
|
5578
5578
|
// package.json
|
|
5579
5579
|
var package_default = {
|
|
5580
5580
|
name: "codeam-cli",
|
|
5581
|
-
version: "2.43.
|
|
5581
|
+
version: "2.43.3",
|
|
5582
5582
|
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.",
|
|
5583
5583
|
type: "commonjs",
|
|
5584
5584
|
main: "dist/index.js",
|
|
@@ -17823,7 +17823,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
17823
17823
|
if (process.env.NODE_ENV === "test") return;
|
|
17824
17824
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17825
17825
|
if (process.env.CI) return;
|
|
17826
|
-
const current = true ? "2.43.
|
|
17826
|
+
const current = true ? "2.43.3" : null;
|
|
17827
17827
|
if (!current) return;
|
|
17828
17828
|
const cache = readCache();
|
|
17829
17829
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -17840,7 +17840,7 @@ function checkForUpdates() {
|
|
|
17840
17840
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17841
17841
|
if (process.env.CI) return;
|
|
17842
17842
|
if (!process.stdout.isTTY) return;
|
|
17843
|
-
const current = true ? "2.43.
|
|
17843
|
+
const current = true ? "2.43.3" : null;
|
|
17844
17844
|
if (!current) return;
|
|
17845
17845
|
const cache = readCache();
|
|
17846
17846
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -18278,7 +18278,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process14.s
|
|
|
18278
18278
|
detached: false
|
|
18279
18279
|
});
|
|
18280
18280
|
function currentCliVersion() {
|
|
18281
|
-
return true ? "2.43.
|
|
18281
|
+
return true ? "2.43.3" : null;
|
|
18282
18282
|
}
|
|
18283
18283
|
function runCmd(cmd, args2, timeoutMs) {
|
|
18284
18284
|
return new Promise((resolve7) => {
|
|
@@ -24883,6 +24883,14 @@ async function handleGetConversation(args2) {
|
|
|
24883
24883
|
}
|
|
24884
24884
|
await relay.sendResult(commandId, "completed", { conversationId: acpSessionId });
|
|
24885
24885
|
}
|
|
24886
|
+
function computeAdapterExtraEnv(params) {
|
|
24887
|
+
const env = {};
|
|
24888
|
+
if (params.disable1mContext) env.CLAUDE_CODE_DISABLE_1M_CONTEXT = "1";
|
|
24889
|
+
if (params.agent === "codex" && params.autoApprovePermissions) {
|
|
24890
|
+
env.INITIAL_AGENT_MODE = "agent-full-access";
|
|
24891
|
+
}
|
|
24892
|
+
return env;
|
|
24893
|
+
}
|
|
24886
24894
|
async function runAcpSession(opts) {
|
|
24887
24895
|
const publisher = new AcpPublisher({
|
|
24888
24896
|
sessionId: opts.sessionId,
|
|
@@ -24912,10 +24920,15 @@ async function runAcpSession(opts) {
|
|
|
24912
24920
|
});
|
|
24913
24921
|
let updateCount = 0;
|
|
24914
24922
|
const disable1mContext = loadCliConfig().sessions.find((s) => s.pluginId === opts.pluginId)?.disable1mContext === true;
|
|
24923
|
+
const extraEnv = computeAdapterExtraEnv({
|
|
24924
|
+
agent: opts.agent,
|
|
24925
|
+
autoApprovePermissions: opts.autoApprovePermissions,
|
|
24926
|
+
disable1mContext
|
|
24927
|
+
});
|
|
24915
24928
|
const clientOptions = {
|
|
24916
24929
|
adapter: opts.adapter,
|
|
24917
24930
|
cwd: opts.cwd,
|
|
24918
|
-
extraEnv
|
|
24931
|
+
extraEnv,
|
|
24919
24932
|
onSessionUpdate: (notification) => {
|
|
24920
24933
|
updateCount += 1;
|
|
24921
24934
|
const variant = notification.update?.sessionUpdate ?? "unknown";
|
|
@@ -24988,7 +25001,10 @@ async function runAcpSession(opts) {
|
|
|
24988
25001
|
await client2.stop();
|
|
24989
25002
|
} catch {
|
|
24990
25003
|
}
|
|
24991
|
-
client2 = new AcpClient({
|
|
25004
|
+
client2 = new AcpClient({
|
|
25005
|
+
...clientOptions,
|
|
25006
|
+
extraEnv: { ...extraEnv, CLAUDE_CODE_DISABLE_1M_CONTEXT: "1" }
|
|
25007
|
+
});
|
|
24992
25008
|
await client2.start();
|
|
24993
25009
|
};
|
|
24994
25010
|
const oneMRecovery = createOneMRecovery({
|
|
@@ -29376,7 +29392,7 @@ function checkChokidar() {
|
|
|
29376
29392
|
}
|
|
29377
29393
|
async function doctor(args2 = []) {
|
|
29378
29394
|
const json = args2.includes("--json");
|
|
29379
|
-
const cliVersion = true ? "2.43.
|
|
29395
|
+
const cliVersion = true ? "2.43.3" : "0.0.0-dev";
|
|
29380
29396
|
const apiBase2 = resolveApiBaseUrl();
|
|
29381
29397
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
29382
29398
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -29575,7 +29591,7 @@ async function completion(args2) {
|
|
|
29575
29591
|
// src/commands/version.ts
|
|
29576
29592
|
var import_picocolors14 = __toESM(require("picocolors"));
|
|
29577
29593
|
function version2() {
|
|
29578
|
-
const v = true ? "2.43.
|
|
29594
|
+
const v = true ? "2.43.3" : "unknown";
|
|
29579
29595
|
console.log(`${import_picocolors14.default.bold("codeam-cli")} ${import_picocolors14.default.cyan(v)}`);
|
|
29580
29596
|
}
|
|
29581
29597
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.43.
|
|
3
|
+
"version": "2.43.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",
|