codeam-cli 2.43.0 → 2.43.1
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 +19 -0
- package/dist/index.js +12 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ 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.43.0] — 2026-06-24
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **cli:** Classify the 1M-context usage-credits error
|
|
12
|
+
- **cli:** Persist per-session disable1mContext flag
|
|
13
|
+
- **cli:** AcpClient accepts extraEnv for the adapter spawn
|
|
14
|
+
- **cli:** OneMContextRecovery offer + decision helper
|
|
15
|
+
- **cli:** OneMContextRecovery offer + decision helper + DI recovery factory
|
|
16
|
+
- **cli:** On-demand 1M-context disable recovery — offer action, re-spawn ACP with the knob, auto-rerun
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **cli:** Move 1M-context classifier into oneMContextRecovery (break runner import cycle)
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
- **meta:** Record agent-failure-messaging + heartbeat + credential rules (AGENTS.md + CLAUDE.md)
|
|
25
|
+
|
|
7
26
|
## [2.42.0] — 2026-06-24
|
|
8
27
|
|
|
9
28
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -5397,7 +5397,7 @@ function readAnonId() {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
function superProperties() {
|
|
5399
5399
|
return {
|
|
5400
|
-
cliVersion: true ? "2.43.
|
|
5400
|
+
cliVersion: true ? "2.43.1" : "0.0.0-dev",
|
|
5401
5401
|
nodeVersion: process.version,
|
|
5402
5402
|
platform: process.platform,
|
|
5403
5403
|
arch: process.arch,
|
|
@@ -5578,7 +5578,7 @@ var os4 = __toESM(require("os"));
|
|
|
5578
5578
|
// package.json
|
|
5579
5579
|
var package_default = {
|
|
5580
5580
|
name: "codeam-cli",
|
|
5581
|
-
version: "2.43.
|
|
5581
|
+
version: "2.43.1",
|
|
5582
5582
|
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.",
|
|
5583
5583
|
type: "commonjs",
|
|
5584
5584
|
main: "dist/index.js",
|
|
@@ -17811,7 +17811,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
17811
17811
|
if (process.env.NODE_ENV === "test") return;
|
|
17812
17812
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17813
17813
|
if (process.env.CI) return;
|
|
17814
|
-
const current = true ? "2.43.
|
|
17814
|
+
const current = true ? "2.43.1" : null;
|
|
17815
17815
|
if (!current) return;
|
|
17816
17816
|
const cache = readCache();
|
|
17817
17817
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -17828,7 +17828,7 @@ function checkForUpdates() {
|
|
|
17828
17828
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17829
17829
|
if (process.env.CI) return;
|
|
17830
17830
|
if (!process.stdout.isTTY) return;
|
|
17831
|
-
const current = true ? "2.43.
|
|
17831
|
+
const current = true ? "2.43.1" : null;
|
|
17832
17832
|
if (!current) return;
|
|
17833
17833
|
const cache = readCache();
|
|
17834
17834
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -18266,7 +18266,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process14.s
|
|
|
18266
18266
|
detached: false
|
|
18267
18267
|
});
|
|
18268
18268
|
function currentCliVersion() {
|
|
18269
|
-
return true ? "2.43.
|
|
18269
|
+
return true ? "2.43.1" : null;
|
|
18270
18270
|
}
|
|
18271
18271
|
function runCmd(cmd, args2, timeoutMs) {
|
|
18272
18272
|
return new Promise((resolve7) => {
|
|
@@ -23464,6 +23464,7 @@ function createOneMRecovery(deps) {
|
|
|
23464
23464
|
pending = { blocks };
|
|
23465
23465
|
await deps.publishText(sp.question);
|
|
23466
23466
|
await deps.publishSelectPrompt(sp.question, sp.options);
|
|
23467
|
+
await deps.publishAwaitingAnswer(sp.question, sp.options);
|
|
23467
23468
|
deps.appendAgentReply(sp.question);
|
|
23468
23469
|
deps.flushHistory();
|
|
23469
23470
|
deps.log?.(`1M-context credits gate \u2014 recovery offered id=${commandId.slice(0, 8)}`);
|
|
@@ -24953,6 +24954,10 @@ async function runAcpSession(opts) {
|
|
|
24953
24954
|
currentIndex: 0,
|
|
24954
24955
|
done: true
|
|
24955
24956
|
}),
|
|
24957
|
+
// The button driver — mobile renders the tappable option from this
|
|
24958
|
+
// awaiting-answer event; the user's tap returns as a `select_option`
|
|
24959
|
+
// command, caught at the top of the select_option case by tryRecover.
|
|
24960
|
+
publishAwaitingAnswer: (prompt, options) => publisher.publishAwaitingAnswer({ questionId: (0, import_node_crypto7.randomUUID)(), prompt, options }),
|
|
24956
24961
|
sendResult: (commandId, status2, result) => relay.sendResult(commandId, status2, result),
|
|
24957
24962
|
appendAgentReply: (text) => history.appendAgentReply(text),
|
|
24958
24963
|
flushHistory: () => void history.flush(),
|
|
@@ -29324,7 +29329,7 @@ function checkChokidar() {
|
|
|
29324
29329
|
}
|
|
29325
29330
|
async function doctor(args2 = []) {
|
|
29326
29331
|
const json = args2.includes("--json");
|
|
29327
|
-
const cliVersion = true ? "2.43.
|
|
29332
|
+
const cliVersion = true ? "2.43.1" : "0.0.0-dev";
|
|
29328
29333
|
const apiBase2 = resolveApiBaseUrl();
|
|
29329
29334
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
29330
29335
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -29523,7 +29528,7 @@ async function completion(args2) {
|
|
|
29523
29528
|
// src/commands/version.ts
|
|
29524
29529
|
var import_picocolors14 = __toESM(require("picocolors"));
|
|
29525
29530
|
function version2() {
|
|
29526
|
-
const v = true ? "2.43.
|
|
29531
|
+
const v = true ? "2.43.1" : "unknown";
|
|
29527
29532
|
console.log(`${import_picocolors14.default.bold("codeam-cli")} ${import_picocolors14.default.cyan(v)}`);
|
|
29528
29533
|
}
|
|
29529
29534
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.43.
|
|
3
|
+
"version": "2.43.1",
|
|
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",
|