codeam-cli 2.61.84 → 2.61.85
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 +6 -0
- package/dist/index.js +25 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ 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.61.84] — 2026-08-05
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Internal-path guard no longer denies the self-hosted workspace (#587)
|
|
12
|
+
|
|
7
13
|
## [2.61.83] — 2026-08-05
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -7526,7 +7526,7 @@ function readAnonId() {
|
|
|
7526
7526
|
}
|
|
7527
7527
|
function superProperties() {
|
|
7528
7528
|
return {
|
|
7529
|
-
cliVersion: true ? "2.61.
|
|
7529
|
+
cliVersion: true ? "2.61.85" : "0.0.0-dev",
|
|
7530
7530
|
nodeVersion: process.version,
|
|
7531
7531
|
platform: process.platform,
|
|
7532
7532
|
arch: process.arch,
|
|
@@ -7707,7 +7707,7 @@ var os4 = __toESM(require("os"));
|
|
|
7707
7707
|
// package.json
|
|
7708
7708
|
var package_default = {
|
|
7709
7709
|
name: "codeam-cli",
|
|
7710
|
-
version: "2.61.
|
|
7710
|
+
version: "2.61.85",
|
|
7711
7711
|
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.",
|
|
7712
7712
|
type: "commonjs",
|
|
7713
7713
|
main: "dist/index.js",
|
|
@@ -8983,7 +8983,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
8983
8983
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
8984
8984
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
8985
8985
|
// pair/reconnect). Older backends ignore the extra field.
|
|
8986
|
-
..."2.61.
|
|
8986
|
+
..."2.61.85" ? { ideVersion: "2.61.85" } : {}
|
|
8987
8987
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
8988
8988
|
}
|
|
8989
8989
|
/**
|
|
@@ -20156,7 +20156,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
20156
20156
|
if (process.env.NODE_ENV === "test") return;
|
|
20157
20157
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
20158
20158
|
if (process.env.CI) return;
|
|
20159
|
-
const current = true ? "2.61.
|
|
20159
|
+
const current = true ? "2.61.85" : null;
|
|
20160
20160
|
if (!current) return;
|
|
20161
20161
|
const cache = readCache();
|
|
20162
20162
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -20173,7 +20173,7 @@ function checkForUpdates() {
|
|
|
20173
20173
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
20174
20174
|
if (process.env.CI) return;
|
|
20175
20175
|
if (!process.stdout.isTTY) return;
|
|
20176
|
-
const current = true ? "2.61.
|
|
20176
|
+
const current = true ? "2.61.85" : null;
|
|
20177
20177
|
if (!current) return;
|
|
20178
20178
|
const cache = readCache();
|
|
20179
20179
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -20193,7 +20193,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
20193
20193
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
20194
20194
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
20195
20195
|
function currentCliVersion() {
|
|
20196
|
-
return true ? "2.61.
|
|
20196
|
+
return true ? "2.61.85" : null;
|
|
20197
20197
|
}
|
|
20198
20198
|
function runCmd(cmd, args2, timeoutMs) {
|
|
20199
20199
|
return new Promise((resolve9) => {
|
|
@@ -21283,6 +21283,21 @@ var HostAgentSupervisor = class {
|
|
|
21283
21283
|
persistOrClearSkillsFromPayload(
|
|
21284
21284
|
payload.skills
|
|
21285
21285
|
);
|
|
21286
|
+
if (!payload.suppressOnboardingWelcome) {
|
|
21287
|
+
try {
|
|
21288
|
+
const cfgDir = childEnv.CLAUDE_CONFIG_DIR || path48.join(os39.homedir(), ".claude");
|
|
21289
|
+
const projectDir = path48.join(cfgDir, "projects", encodeCwd(cwd));
|
|
21290
|
+
const hasPriorConversation = fs45.existsSync(projectDir) && fs45.readdirSync(projectDir).some((f) => f.endsWith(".jsonl"));
|
|
21291
|
+
if (hasPriorConversation) {
|
|
21292
|
+
childEnv.CODEAM_RESUME_LATEST = "1";
|
|
21293
|
+
log.info(
|
|
21294
|
+
"host-agent",
|
|
21295
|
+
`deploy: prior conversation in ${projectDir} \u2014 resuming latest for continuity`
|
|
21296
|
+
);
|
|
21297
|
+
}
|
|
21298
|
+
} catch {
|
|
21299
|
+
}
|
|
21300
|
+
}
|
|
21286
21301
|
report("spawning", "starting agent");
|
|
21287
21302
|
const proc = this.spawnSessionChild(childEnv, cwd, extraArgs);
|
|
21288
21303
|
const child = {
|
|
@@ -25499,13 +25514,13 @@ function resolveGlobalNodeModulesDir(opts) {
|
|
|
25499
25514
|
var STALE_STAGING_AGE_MS = CLI_UPDATE_INSTALL_TIMEOUT_MS;
|
|
25500
25515
|
function sweepStaleCliStagingDirs(nodeModulesDir, now = Date.now(), deps) {
|
|
25501
25516
|
if (!nodeModulesDir) return 0;
|
|
25502
|
-
const
|
|
25517
|
+
const readdirSync13 = deps?.readdirSync ?? fs61.readdirSync;
|
|
25503
25518
|
const statSync17 = deps?.statSync ?? fs61.statSync;
|
|
25504
25519
|
const rmSync9 = deps?.rmSync ?? fs61.rmSync;
|
|
25505
25520
|
let removed = 0;
|
|
25506
25521
|
let entries;
|
|
25507
25522
|
try {
|
|
25508
|
-
entries =
|
|
25523
|
+
entries = readdirSync13(nodeModulesDir);
|
|
25509
25524
|
} catch {
|
|
25510
25525
|
return 0;
|
|
25511
25526
|
}
|
|
@@ -41198,7 +41213,7 @@ function checkChokidar() {
|
|
|
41198
41213
|
}
|
|
41199
41214
|
async function doctor(args2 = []) {
|
|
41200
41215
|
const json = args2.includes("--json");
|
|
41201
|
-
const cliVersion = true ? "2.61.
|
|
41216
|
+
const cliVersion = true ? "2.61.85" : "0.0.0-dev";
|
|
41202
41217
|
const apiBase2 = resolveApiBaseUrl();
|
|
41203
41218
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
41204
41219
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -41788,7 +41803,7 @@ async function mcpRun(args2) {
|
|
|
41788
41803
|
// src/commands/version.ts
|
|
41789
41804
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
41790
41805
|
function version2() {
|
|
41791
|
-
const v = true ? "2.61.
|
|
41806
|
+
const v = true ? "2.61.85" : "unknown";
|
|
41792
41807
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
41793
41808
|
}
|
|
41794
41809
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.61.
|
|
3
|
+
"version": "2.61.85",
|
|
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",
|