codeam-cli 2.61.89 → 2.61.90
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 +17 -8
- 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.61.89] — 2026-08-08
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **cli:** Always-on Agent Standard injected into managed deployed sessions (#595)
|
|
12
|
+
- Native ACP guardrails — configurable, default-on safety (Phase 3) (#596)
|
|
13
|
+
|
|
7
14
|
## [2.61.88] — 2026-08-08
|
|
8
15
|
|
|
9
16
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -7874,7 +7874,7 @@ function readAnonId() {
|
|
|
7874
7874
|
}
|
|
7875
7875
|
function superProperties() {
|
|
7876
7876
|
return {
|
|
7877
|
-
cliVersion: true ? "2.61.
|
|
7877
|
+
cliVersion: true ? "2.61.90" : "0.0.0-dev",
|
|
7878
7878
|
nodeVersion: process.version,
|
|
7879
7879
|
platform: process.platform,
|
|
7880
7880
|
arch: process.arch,
|
|
@@ -8055,7 +8055,7 @@ var os4 = __toESM(require("os"));
|
|
|
8055
8055
|
// package.json
|
|
8056
8056
|
var package_default = {
|
|
8057
8057
|
name: "codeam-cli",
|
|
8058
|
-
version: "2.61.
|
|
8058
|
+
version: "2.61.90",
|
|
8059
8059
|
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.",
|
|
8060
8060
|
type: "commonjs",
|
|
8061
8061
|
main: "dist/index.js",
|
|
@@ -9331,7 +9331,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
9331
9331
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
9332
9332
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
9333
9333
|
// pair/reconnect). Older backends ignore the extra field.
|
|
9334
|
-
..."2.61.
|
|
9334
|
+
..."2.61.90" ? { ideVersion: "2.61.90" } : {}
|
|
9335
9335
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
9336
9336
|
}
|
|
9337
9337
|
/**
|
|
@@ -20504,7 +20504,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
20504
20504
|
if (process.env.NODE_ENV === "test") return;
|
|
20505
20505
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
20506
20506
|
if (process.env.CI) return;
|
|
20507
|
-
const current2 = true ? "2.61.
|
|
20507
|
+
const current2 = true ? "2.61.90" : null;
|
|
20508
20508
|
if (!current2) return;
|
|
20509
20509
|
const cache = readCache();
|
|
20510
20510
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -20521,7 +20521,7 @@ function checkForUpdates() {
|
|
|
20521
20521
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
20522
20522
|
if (process.env.CI) return;
|
|
20523
20523
|
if (!process.stdout.isTTY) return;
|
|
20524
|
-
const current2 = true ? "2.61.
|
|
20524
|
+
const current2 = true ? "2.61.90" : null;
|
|
20525
20525
|
if (!current2) return;
|
|
20526
20526
|
const cache = readCache();
|
|
20527
20527
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -20541,7 +20541,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
20541
20541
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
20542
20542
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
20543
20543
|
function currentCliVersion() {
|
|
20544
|
-
return true ? "2.61.
|
|
20544
|
+
return true ? "2.61.90" : null;
|
|
20545
20545
|
}
|
|
20546
20546
|
function runCmd(cmd, args2, timeoutMs) {
|
|
20547
20547
|
return new Promise((resolve9) => {
|
|
@@ -35723,6 +35723,10 @@ async function listModesH(ctx) {
|
|
|
35723
35723
|
});
|
|
35724
35724
|
return;
|
|
35725
35725
|
}
|
|
35726
|
+
var FULL_AUTO_MODE_RE = /bypass|yolo|danger|full.?access|skip.?perm|auto.?approve/i;
|
|
35727
|
+
function modeIsFullAutoApprove(modeId) {
|
|
35728
|
+
return FULL_AUTO_MODE_RE.test(modeId);
|
|
35729
|
+
}
|
|
35726
35730
|
async function setModeH(ctx) {
|
|
35727
35731
|
const { cmd, client: client3, relay, opts } = ctx;
|
|
35728
35732
|
const payload = cmd.payload;
|
|
@@ -35733,6 +35737,11 @@ async function setModeH(ctx) {
|
|
|
35733
35737
|
}
|
|
35734
35738
|
try {
|
|
35735
35739
|
await client3.setMode(modeId);
|
|
35740
|
+
opts.autoApprovePermissions = modeIsFullAutoApprove(modeId);
|
|
35741
|
+
log.info(
|
|
35742
|
+
"acpRunner",
|
|
35743
|
+
`set_mode \u2192 ${modeId} (autoApprovePermissions=${opts.autoApprovePermissions})`
|
|
35744
|
+
);
|
|
35736
35745
|
await relay.sendResult(cmd.id, "completed", { modeId });
|
|
35737
35746
|
} catch (err) {
|
|
35738
35747
|
log.warn("acpRunner", `set_mode failed: ${describeError(err)}`);
|
|
@@ -41755,7 +41764,7 @@ function checkChokidar() {
|
|
|
41755
41764
|
}
|
|
41756
41765
|
async function doctor(args2 = []) {
|
|
41757
41766
|
const json = args2.includes("--json");
|
|
41758
|
-
const cliVersion = true ? "2.61.
|
|
41767
|
+
const cliVersion = true ? "2.61.90" : "0.0.0-dev";
|
|
41759
41768
|
const apiBase2 = resolveApiBaseUrl();
|
|
41760
41769
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
41761
41770
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -42146,7 +42155,7 @@ async function mcpRun(args2) {
|
|
|
42146
42155
|
// src/commands/version.ts
|
|
42147
42156
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
42148
42157
|
function version2() {
|
|
42149
|
-
const v = true ? "2.61.
|
|
42158
|
+
const v = true ? "2.61.90" : "unknown";
|
|
42150
42159
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
42151
42160
|
}
|
|
42152
42161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.61.
|
|
3
|
+
"version": "2.61.90",
|
|
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",
|