codeam-cli 2.39.21 → 2.39.22
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 +10 -8
- 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.39.21] — 2026-06-16
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Serialize onboarding welcome before the command relay starts (#343)
|
|
12
|
+
|
|
7
13
|
## [2.39.20] — 2026-06-15
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -498,7 +498,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
498
498
|
// package.json
|
|
499
499
|
var package_default = {
|
|
500
500
|
name: "codeam-cli",
|
|
501
|
-
version: "2.39.
|
|
501
|
+
version: "2.39.22",
|
|
502
502
|
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.",
|
|
503
503
|
type: "commonjs",
|
|
504
504
|
main: "dist/index.js",
|
|
@@ -5908,7 +5908,7 @@ function readAnonId() {
|
|
|
5908
5908
|
}
|
|
5909
5909
|
function superProperties() {
|
|
5910
5910
|
return {
|
|
5911
|
-
cliVersion: true ? "2.39.
|
|
5911
|
+
cliVersion: true ? "2.39.22" : "0.0.0-dev",
|
|
5912
5912
|
nodeVersion: process.version,
|
|
5913
5913
|
platform: process.platform,
|
|
5914
5914
|
arch: process.arch,
|
|
@@ -15474,7 +15474,7 @@ async function maybeSendOnboardingWelcome(opts) {
|
|
|
15474
15474
|
async function runOnboardingTurn(opts) {
|
|
15475
15475
|
const { streaming, history, cwd } = opts;
|
|
15476
15476
|
const welcome = buildOnboardingWelcome(cwd);
|
|
15477
|
-
await streaming.beginTurn();
|
|
15477
|
+
await streaming.beginTurn({ clear: false });
|
|
15478
15478
|
try {
|
|
15479
15479
|
streaming.append({ chunkId: "onboarding-welcome", kind: "text", delta: welcome });
|
|
15480
15480
|
await streaming.closeAll();
|
|
@@ -21436,14 +21436,16 @@ var StreamingState = class {
|
|
|
21436
21436
|
getCurrentText() {
|
|
21437
21437
|
return this.text;
|
|
21438
21438
|
}
|
|
21439
|
-
async beginTurn() {
|
|
21439
|
+
async beginTurn(opts) {
|
|
21440
21440
|
this.text = "";
|
|
21441
21441
|
this.streamingChunks.clear();
|
|
21442
21442
|
if (this.pending?.kind === "permission") {
|
|
21443
21443
|
clearTimeout(this.pending.timeoutTimer);
|
|
21444
21444
|
}
|
|
21445
21445
|
this.pending = null;
|
|
21446
|
-
|
|
21446
|
+
if (opts?.clear !== false) {
|
|
21447
|
+
await this.publisher.publishOutput({ type: "clear" });
|
|
21448
|
+
}
|
|
21447
21449
|
await this.publisher.publishOutput({ type: "new_turn", done: false });
|
|
21448
21450
|
}
|
|
21449
21451
|
append(delta) {
|
|
@@ -27067,7 +27069,7 @@ function checkChokidar() {
|
|
|
27067
27069
|
}
|
|
27068
27070
|
async function doctor(args2 = []) {
|
|
27069
27071
|
const json = args2.includes("--json");
|
|
27070
|
-
const cliVersion = true ? "2.39.
|
|
27072
|
+
const cliVersion = true ? "2.39.22" : "0.0.0-dev";
|
|
27071
27073
|
const apiBase = resolveApiBaseUrl();
|
|
27072
27074
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
27073
27075
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -27266,7 +27268,7 @@ async function completion(args2) {
|
|
|
27266
27268
|
// src/commands/version.ts
|
|
27267
27269
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
27268
27270
|
function version2() {
|
|
27269
|
-
const v = true ? "2.39.
|
|
27271
|
+
const v = true ? "2.39.22" : "unknown";
|
|
27270
27272
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
27271
27273
|
}
|
|
27272
27274
|
|
|
@@ -27552,7 +27554,7 @@ function checkForUpdates() {
|
|
|
27552
27554
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
27553
27555
|
if (process.env.CI) return;
|
|
27554
27556
|
if (!process.stdout.isTTY) return;
|
|
27555
|
-
const current = true ? "2.39.
|
|
27557
|
+
const current = true ? "2.39.22" : null;
|
|
27556
27558
|
if (!current) return;
|
|
27557
27559
|
const cache = readCache();
|
|
27558
27560
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.39.
|
|
3
|
+
"version": "2.39.22",
|
|
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",
|