codeam-cli 2.70.0 → 2.71.0
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 +26 -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.70.0] — 2026-08-29
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Distinguir una navegacion de un fetch, no solo mirar el Accept (#667)
|
|
12
|
+
|
|
7
13
|
## [2.69.0] — 2026-08-29
|
|
8
14
|
|
|
9
15
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -8081,7 +8081,7 @@ function readAnonId() {
|
|
|
8081
8081
|
}
|
|
8082
8082
|
function superProperties() {
|
|
8083
8083
|
return {
|
|
8084
|
-
cliVersion: true ? "2.
|
|
8084
|
+
cliVersion: true ? "2.71.0" : "0.0.0-dev",
|
|
8085
8085
|
nodeVersion: process.version,
|
|
8086
8086
|
platform: process.platform,
|
|
8087
8087
|
arch: process.arch,
|
|
@@ -8323,7 +8323,7 @@ var http = __toESM(require("http"));
|
|
|
8323
8323
|
// package.json
|
|
8324
8324
|
var package_default = {
|
|
8325
8325
|
name: "codeam-cli",
|
|
8326
|
-
version: "2.
|
|
8326
|
+
version: "2.71.0",
|
|
8327
8327
|
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.",
|
|
8328
8328
|
type: "commonjs",
|
|
8329
8329
|
main: "dist/index.js",
|
|
@@ -9859,7 +9859,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
9859
9859
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
9860
9860
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
9861
9861
|
// pair/reconnect). Older backends ignore the extra field.
|
|
9862
|
-
..."2.
|
|
9862
|
+
..."2.71.0" ? { ideVersion: "2.71.0" } : {}
|
|
9863
9863
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
9864
9864
|
}
|
|
9865
9865
|
/**
|
|
@@ -22118,7 +22118,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
22118
22118
|
if (process.env.NODE_ENV === "test") return;
|
|
22119
22119
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
22120
22120
|
if (process.env.CI) return;
|
|
22121
|
-
const current2 = true ? "2.
|
|
22121
|
+
const current2 = true ? "2.71.0" : null;
|
|
22122
22122
|
if (!current2) return;
|
|
22123
22123
|
const cache = readCache();
|
|
22124
22124
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -22135,7 +22135,7 @@ function checkForUpdates() {
|
|
|
22135
22135
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
22136
22136
|
if (process.env.CI) return;
|
|
22137
22137
|
if (!process.stdout.isTTY) return;
|
|
22138
|
-
const current2 = true ? "2.
|
|
22138
|
+
const current2 = true ? "2.71.0" : null;
|
|
22139
22139
|
if (!current2) return;
|
|
22140
22140
|
const cache = readCache();
|
|
22141
22141
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -22158,7 +22158,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
|
22158
22158
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
22159
22159
|
var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
|
|
22160
22160
|
function currentCliVersion() {
|
|
22161
|
-
return true ? "2.
|
|
22161
|
+
return true ? "2.71.0" : null;
|
|
22162
22162
|
}
|
|
22163
22163
|
async function installedVersion(deps) {
|
|
22164
22164
|
const ls = await deps.run(
|
|
@@ -25106,6 +25106,13 @@ function registerEmbeddedPostgres(pg) {
|
|
|
25106
25106
|
embeddedPg?.stop();
|
|
25107
25107
|
embeddedPg = pg;
|
|
25108
25108
|
}
|
|
25109
|
+
var lastOutcome = null;
|
|
25110
|
+
function noteProvisionOutcome(outcome) {
|
|
25111
|
+
lastOutcome = outcome;
|
|
25112
|
+
}
|
|
25113
|
+
function getLastProvisionOutcome() {
|
|
25114
|
+
return lastOutcome;
|
|
25115
|
+
}
|
|
25109
25116
|
function envVarFor(service) {
|
|
25110
25117
|
const first = service.envLines[0] ?? "";
|
|
25111
25118
|
return first.split("=")[0] || "DATABASE_URL";
|
|
@@ -29039,9 +29046,18 @@ function parseInsightText(text) {
|
|
|
29039
29046
|
securityNote: securityMatch?.[1]?.trim() || void 0
|
|
29040
29047
|
};
|
|
29041
29048
|
}
|
|
29042
|
-
var
|
|
29049
|
+
var emitPreviewEventRaw = makeSerializedEmitter(
|
|
29043
29050
|
(args2) => postPreviewEvent(args2)
|
|
29044
29051
|
);
|
|
29052
|
+
var emitPreviewEvent = (args2) => {
|
|
29053
|
+
if (args2.type !== USER_EVENTS.PREVIEW_ERROR) return emitPreviewEventRaw(args2);
|
|
29054
|
+
const missing = getLastProvisionOutcome()?.missing ?? [];
|
|
29055
|
+
if (missing.length === 0) return emitPreviewEventRaw(args2);
|
|
29056
|
+
return emitPreviewEventRaw({
|
|
29057
|
+
...args2,
|
|
29058
|
+
payload: { ...args2.payload ?? {}, missingServices: missing }
|
|
29059
|
+
});
|
|
29060
|
+
};
|
|
29045
29061
|
var requestPreviewDetectH = (ctx) => {
|
|
29046
29062
|
if (!ctx.pluginAuthToken) {
|
|
29047
29063
|
log.info("preview", "no pluginAuthToken \u2014 skipping detect");
|
|
@@ -43872,7 +43888,7 @@ async function start(requestedAgent, presetSession) {
|
|
|
43872
43888
|
);
|
|
43873
43889
|
provisionSkillsForStart();
|
|
43874
43890
|
const managedBox = !isLocalSession();
|
|
43875
|
-
const depsReady = managedBox ? provisionProjectDependencies(cwd).catch(() => void 0) : Promise.resolve();
|
|
43891
|
+
const depsReady = managedBox ? provisionProjectDependencies(cwd).then((outcome) => noteProvisionOutcome(outcome)).catch(() => void 0) : Promise.resolve();
|
|
43876
43892
|
if (managedBox) {
|
|
43877
43893
|
const GATE_TIMEOUT_MS = 24e4;
|
|
43878
43894
|
const acpAdapterForGate = requiresAcp(session.agent) ? await resolveAcpAdapterWithRetry(session.agent) : null;
|
|
@@ -46710,7 +46726,7 @@ function checkChokidar() {
|
|
|
46710
46726
|
}
|
|
46711
46727
|
async function doctor(args2 = []) {
|
|
46712
46728
|
const json = args2.includes("--json");
|
|
46713
|
-
const cliVersion = true ? "2.
|
|
46729
|
+
const cliVersion = true ? "2.71.0" : "0.0.0-dev";
|
|
46714
46730
|
const apiBase2 = resolveApiBaseUrl();
|
|
46715
46731
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
46716
46732
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -47101,7 +47117,7 @@ async function mcpRun(args2) {
|
|
|
47101
47117
|
// src/commands/version.ts
|
|
47102
47118
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
47103
47119
|
function version2() {
|
|
47104
|
-
const v = true ? "2.
|
|
47120
|
+
const v = true ? "2.71.0" : "unknown";
|
|
47105
47121
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
47106
47122
|
}
|
|
47107
47123
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.71.0",
|
|
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",
|