codeam-cli 2.22.0 → 2.22.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 +6 -0
- package/dist/index.js +12 -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.22.0] — 2026-05-25
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **cli:** Handle request_link_credentials from backend auto-link (#186)
|
|
12
|
+
|
|
7
13
|
## [2.21.2] — 2026-05-25
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -441,7 +441,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
441
441
|
// package.json
|
|
442
442
|
var package_default = {
|
|
443
443
|
name: "codeam-cli",
|
|
444
|
-
version: "2.22.
|
|
444
|
+
version: "2.22.1",
|
|
445
445
|
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.",
|
|
446
446
|
type: "commonjs",
|
|
447
447
|
main: "dist/index.js",
|
|
@@ -5740,7 +5740,7 @@ function readAnonId() {
|
|
|
5740
5740
|
}
|
|
5741
5741
|
function superProperties() {
|
|
5742
5742
|
return {
|
|
5743
|
-
cliVersion: true ? "2.22.
|
|
5743
|
+
cliVersion: true ? "2.22.1" : "0.0.0-dev",
|
|
5744
5744
|
nodeVersion: process.version,
|
|
5745
5745
|
platform: process.platform,
|
|
5746
5746
|
arch: process.arch,
|
|
@@ -13817,11 +13817,13 @@ var startCommandSchema = import_zod2.z.object({
|
|
|
13817
13817
|
action: import_zod2.z.enum(["approved", "rejected"]).optional(),
|
|
13818
13818
|
// `request_link_credentials` — backend fires this from the
|
|
13819
13819
|
// heartbeat handler when it notices the user is running an agent
|
|
13820
|
-
// they haven't vaulted yet.
|
|
13821
|
-
//
|
|
13822
|
-
//
|
|
13823
|
-
//
|
|
13824
|
-
|
|
13820
|
+
// they haven't vaulted yet. Also reused by `get_context` /
|
|
13821
|
+
// `list_models` payloads which carry the currently-selected
|
|
13822
|
+
// agent for that session. We accept any string here (rather than
|
|
13823
|
+
// a narrow enum) because the web sends internal ids ('claude')
|
|
13824
|
+
// while the auto-link backend sends public ids ('claude_code'),
|
|
13825
|
+
// and the consuming handlers normalize themselves.
|
|
13826
|
+
agentId: import_zod2.z.string().max(64).optional()
|
|
13825
13827
|
});
|
|
13826
13828
|
function parsePayload2(schema, raw) {
|
|
13827
13829
|
const result = schema.safeParse(raw);
|
|
@@ -18103,7 +18105,7 @@ function checkChokidar() {
|
|
|
18103
18105
|
}
|
|
18104
18106
|
async function doctor(args2 = []) {
|
|
18105
18107
|
const json = args2.includes("--json");
|
|
18106
|
-
const cliVersion = true ? "2.22.
|
|
18108
|
+
const cliVersion = true ? "2.22.1" : "0.0.0-dev";
|
|
18107
18109
|
const apiBase = resolveApiBaseUrl();
|
|
18108
18110
|
const diagnosticId = (0, import_node_crypto5.randomUUID)();
|
|
18109
18111
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -18302,7 +18304,7 @@ async function completion(args2) {
|
|
|
18302
18304
|
// src/commands/version.ts
|
|
18303
18305
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
18304
18306
|
function version2() {
|
|
18305
|
-
const v = true ? "2.22.
|
|
18307
|
+
const v = true ? "2.22.1" : "unknown";
|
|
18306
18308
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
18307
18309
|
}
|
|
18308
18310
|
|
|
@@ -18530,7 +18532,7 @@ function checkForUpdates() {
|
|
|
18530
18532
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
18531
18533
|
if (process.env.CI) return;
|
|
18532
18534
|
if (!process.stdout.isTTY) return;
|
|
18533
|
-
const current = true ? "2.22.
|
|
18535
|
+
const current = true ? "2.22.1" : null;
|
|
18534
18536
|
if (!current) return;
|
|
18535
18537
|
const cache = readCache();
|
|
18536
18538
|
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.22.
|
|
3
|
+
"version": "2.22.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",
|