codeam-cli 2.76.27 → 2.76.28
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/dist/index.js +14 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10627,7 +10627,7 @@ function readAnonId() {
|
|
|
10627
10627
|
}
|
|
10628
10628
|
function superProperties() {
|
|
10629
10629
|
return {
|
|
10630
|
-
cliVersion: true ? "2.76.
|
|
10630
|
+
cliVersion: true ? "2.76.28" : "0.0.0-dev",
|
|
10631
10631
|
nodeVersion: process.version,
|
|
10632
10632
|
platform: process.platform,
|
|
10633
10633
|
arch: process.arch,
|
|
@@ -10876,7 +10876,7 @@ var http = __toESM(require("http"));
|
|
|
10876
10876
|
// package.json
|
|
10877
10877
|
var package_default = {
|
|
10878
10878
|
name: "codeam-cli",
|
|
10879
|
-
version: "2.76.
|
|
10879
|
+
version: "2.76.28",
|
|
10880
10880
|
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.",
|
|
10881
10881
|
type: "commonjs",
|
|
10882
10882
|
main: "dist/index.js",
|
|
@@ -12239,7 +12239,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
12239
12239
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
12240
12240
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
12241
12241
|
// pair/reconnect). Older backends ignore the extra field.
|
|
12242
|
-
..."2.76.
|
|
12242
|
+
..."2.76.28" ? { ideVersion: "2.76.28" } : {}
|
|
12243
12243
|
};
|
|
12244
12244
|
try {
|
|
12245
12245
|
const res = await _postJson(`${API_BASE2}/api/plugin/heartbeat`, body, this.pollSecretHeader());
|
|
@@ -51344,7 +51344,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
51344
51344
|
if (process.env.NODE_ENV === "test") return;
|
|
51345
51345
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
51346
51346
|
if (process.env.CI) return;
|
|
51347
|
-
const current2 = true ? "2.76.
|
|
51347
|
+
const current2 = true ? "2.76.28" : null;
|
|
51348
51348
|
if (!current2) return;
|
|
51349
51349
|
const cache = readCache();
|
|
51350
51350
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -51361,7 +51361,7 @@ function checkForUpdates() {
|
|
|
51361
51361
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
51362
51362
|
if (process.env.CI) return;
|
|
51363
51363
|
if (!process.stdout.isTTY) return;
|
|
51364
|
-
const current2 = true ? "2.76.
|
|
51364
|
+
const current2 = true ? "2.76.28" : null;
|
|
51365
51365
|
if (!current2) return;
|
|
51366
51366
|
const cache = readCache();
|
|
51367
51367
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -51644,7 +51644,7 @@ var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
|
51644
51644
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
51645
51645
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
51646
51646
|
function currentCliVersion() {
|
|
51647
|
-
return true ? "2.76.
|
|
51647
|
+
return true ? "2.76.28" : null;
|
|
51648
51648
|
}
|
|
51649
51649
|
async function installedVersion(deps) {
|
|
51650
51650
|
const ls = await deps.run(
|
|
@@ -51855,7 +51855,7 @@ function signalHostReady(send = process.send?.bind(process)) {
|
|
|
51855
51855
|
}
|
|
51856
51856
|
function defaultDeps() {
|
|
51857
51857
|
return {
|
|
51858
|
-
ownVersion: true ? "2.76.
|
|
51858
|
+
ownVersion: true ? "2.76.28" : null,
|
|
51859
51859
|
root: cliVersionsRoot(),
|
|
51860
51860
|
args: process.argv.slice(3),
|
|
51861
51861
|
execPath: process.execPath,
|
|
@@ -52149,8 +52149,12 @@ function isFleetPruneHostPayload(v) {
|
|
|
52149
52149
|
function isMissingVolumeError(stderr) {
|
|
52150
52150
|
return /no such volume/i.test(stderr);
|
|
52151
52151
|
}
|
|
52152
|
+
var FLEET_BOX_REPO = "ghcr.io/edgar-durand/codeam-box";
|
|
52153
|
+
var DOCKER_TAG_RE = /^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;
|
|
52152
52154
|
function resolveFleetBoxImage() {
|
|
52153
|
-
|
|
52155
|
+
if (process.env.CODEAM_FLEET_BOX_IMAGE) return process.env.CODEAM_FLEET_BOX_IMAGE;
|
|
52156
|
+
const tag = process.env.CODEAM_FLEET_BOX_TAG?.trim();
|
|
52157
|
+
return `${FLEET_BOX_REPO}:${tag && DOCKER_TAG_RE.test(tag) ? tag : "latest"}`;
|
|
52154
52158
|
}
|
|
52155
52159
|
function buildFleetBoxMigrateArgs(p2) {
|
|
52156
52160
|
return buildFleetBoxRunArgs(p2).map((a) => a === "run" ? "create" : a).filter((a) => a !== "--pull=always" && a !== "-d");
|
|
@@ -54389,7 +54393,7 @@ function checkChokidar() {
|
|
|
54389
54393
|
}
|
|
54390
54394
|
async function doctor(args2 = []) {
|
|
54391
54395
|
const json = args2.includes("--json");
|
|
54392
|
-
const cliVersion = true ? "2.76.
|
|
54396
|
+
const cliVersion = true ? "2.76.28" : "0.0.0-dev";
|
|
54393
54397
|
const apiBase2 = resolveApiBaseUrl();
|
|
54394
54398
|
const diagnosticId = (0, import_node_crypto17.randomUUID)();
|
|
54395
54399
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -54925,7 +54929,7 @@ async function mcpWarm(argv = [], opts = {}) {
|
|
|
54925
54929
|
// src/commands/version.ts
|
|
54926
54930
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
54927
54931
|
function version2() {
|
|
54928
|
-
const v = true ? "2.76.
|
|
54932
|
+
const v = true ? "2.76.28" : "unknown";
|
|
54929
54933
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
54930
54934
|
}
|
|
54931
54935
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.76.
|
|
3
|
+
"version": "2.76.28",
|
|
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",
|