codeam-cli 2.76.5 → 2.76.6
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 +17 -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.76.5] — 2026-09-29
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Resume the conversation the runner was driving, not the newest transcript
|
|
12
|
+
|
|
7
13
|
## [2.76.4] — 2026-09-29
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -10579,7 +10579,7 @@ function readAnonId() {
|
|
|
10579
10579
|
}
|
|
10580
10580
|
function superProperties() {
|
|
10581
10581
|
return {
|
|
10582
|
-
cliVersion: true ? "2.76.
|
|
10582
|
+
cliVersion: true ? "2.76.6" : "0.0.0-dev",
|
|
10583
10583
|
nodeVersion: process.version,
|
|
10584
10584
|
platform: process.platform,
|
|
10585
10585
|
arch: process.arch,
|
|
@@ -10824,7 +10824,7 @@ var http = __toESM(require("http"));
|
|
|
10824
10824
|
// package.json
|
|
10825
10825
|
var package_default = {
|
|
10826
10826
|
name: "codeam-cli",
|
|
10827
|
-
version: "2.76.
|
|
10827
|
+
version: "2.76.6",
|
|
10828
10828
|
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.",
|
|
10829
10829
|
type: "commonjs",
|
|
10830
10830
|
main: "dist/index.js",
|
|
@@ -12160,7 +12160,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
12160
12160
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
12161
12161
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
12162
12162
|
// pair/reconnect). Older backends ignore the extra field.
|
|
12163
|
-
..."2.76.
|
|
12163
|
+
..."2.76.6" ? { ideVersion: "2.76.6" } : {}
|
|
12164
12164
|
};
|
|
12165
12165
|
try {
|
|
12166
12166
|
const res = await _postJson(`${API_BASE2}/api/plugin/heartbeat`, body);
|
|
@@ -43635,6 +43635,9 @@ function computeAdapterExtraEnv(params) {
|
|
|
43635
43635
|
);
|
|
43636
43636
|
return env;
|
|
43637
43637
|
}
|
|
43638
|
+
function shouldRecordConversationAfterBoot(params) {
|
|
43639
|
+
return !(params.resumedPriorConversation && !params.marked);
|
|
43640
|
+
}
|
|
43638
43641
|
function pickLatestResumableConversation(sessions3, currentId, marked) {
|
|
43639
43642
|
const listed = (sessions3 ?? []).filter((s) => s.id !== currentId);
|
|
43640
43643
|
if (marked) return listed.some((s) => s.id === marked) ? marked : null;
|
|
@@ -43786,9 +43789,10 @@ async function runAcpSession(opts) {
|
|
|
43786
43789
|
`adapter handshake ok protocolVersion=${initialize.protocolVersion} sessionId=${acpSessionId.slice(0, 8)}`
|
|
43787
43790
|
);
|
|
43788
43791
|
let resumedPriorConversation = false;
|
|
43792
|
+
let marked = null;
|
|
43789
43793
|
if (process.env.CODEAM_RESUME_LATEST === "1") {
|
|
43790
43794
|
try {
|
|
43791
|
-
|
|
43795
|
+
marked = await readActiveConversationMarker(opts.cwd);
|
|
43792
43796
|
const priorId = pickLatestResumableConversation(
|
|
43793
43797
|
await client3.listSessions(),
|
|
43794
43798
|
acpSessionId,
|
|
@@ -43812,7 +43816,9 @@ async function runAcpSession(opts) {
|
|
|
43812
43816
|
log.trace("acpRunner", "auto-resume-latest failed (best-effort)", err);
|
|
43813
43817
|
}
|
|
43814
43818
|
}
|
|
43815
|
-
|
|
43819
|
+
if (shouldRecordConversationAfterBoot({ resumedPriorConversation, marked })) {
|
|
43820
|
+
void writeActiveConversationMarker(opts.cwd, acpSessionId);
|
|
43821
|
+
}
|
|
43816
43822
|
showSuccess(`${opts.agent} online (ACP) \u2014 awaiting prompts from mobile.`);
|
|
43817
43823
|
showRelayNotice();
|
|
43818
43824
|
void publisher.publishOutput({
|
|
@@ -43906,6 +43912,7 @@ async function runAcpSession(opts) {
|
|
|
43906
43912
|
const relay = new CommandRelayService(
|
|
43907
43913
|
opts.pluginId,
|
|
43908
43914
|
async (cmd) => {
|
|
43915
|
+
if (cmd.type === "start_task") void writeActiveConversationMarker(opts.cwd, acpSessionId);
|
|
43909
43916
|
await handleCommand(
|
|
43910
43917
|
cmd,
|
|
43911
43918
|
client3,
|
|
@@ -50029,7 +50036,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
50029
50036
|
if (process.env.NODE_ENV === "test") return;
|
|
50030
50037
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
50031
50038
|
if (process.env.CI) return;
|
|
50032
|
-
const current2 = true ? "2.76.
|
|
50039
|
+
const current2 = true ? "2.76.6" : null;
|
|
50033
50040
|
if (!current2) return;
|
|
50034
50041
|
const cache = readCache();
|
|
50035
50042
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -50046,7 +50053,7 @@ function checkForUpdates() {
|
|
|
50046
50053
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
50047
50054
|
if (process.env.CI) return;
|
|
50048
50055
|
if (!process.stdout.isTTY) return;
|
|
50049
|
-
const current2 = true ? "2.76.
|
|
50056
|
+
const current2 = true ? "2.76.6" : null;
|
|
50050
50057
|
if (!current2) return;
|
|
50051
50058
|
const cache = readCache();
|
|
50052
50059
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -50069,7 +50076,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
|
50069
50076
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
50070
50077
|
var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
|
|
50071
50078
|
function currentCliVersion() {
|
|
50072
|
-
return true ? "2.76.
|
|
50079
|
+
return true ? "2.76.6" : null;
|
|
50073
50080
|
}
|
|
50074
50081
|
async function installedVersion(deps) {
|
|
50075
50082
|
const ls = await deps.run(
|
|
@@ -52159,7 +52166,7 @@ function checkChokidar() {
|
|
|
52159
52166
|
}
|
|
52160
52167
|
async function doctor(args2 = []) {
|
|
52161
52168
|
const json = args2.includes("--json");
|
|
52162
|
-
const cliVersion = true ? "2.76.
|
|
52169
|
+
const cliVersion = true ? "2.76.6" : "0.0.0-dev";
|
|
52163
52170
|
const apiBase2 = resolveApiBaseUrl();
|
|
52164
52171
|
const diagnosticId = (0, import_node_crypto16.randomUUID)();
|
|
52165
52172
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -52683,7 +52690,7 @@ async function mcpWarm(argv = [], opts = {}) {
|
|
|
52683
52690
|
// src/commands/version.ts
|
|
52684
52691
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
52685
52692
|
function version2() {
|
|
52686
|
-
const v = true ? "2.76.
|
|
52693
|
+
const v = true ? "2.76.6" : "unknown";
|
|
52687
52694
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
52688
52695
|
}
|
|
52689
52696
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.76.
|
|
3
|
+
"version": "2.76.6",
|
|
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",
|