codeam-cli 2.39.64 → 2.39.65
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 +14 -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.39.64] — 2026-06-20
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **host-agent:** Handle self_hosted_refresh_credentials (in-place re-auth)
|
|
12
|
+
|
|
7
13
|
## [2.39.63] — 2026-06-20
|
|
8
14
|
|
|
9
15
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -5388,7 +5388,7 @@ function readAnonId() {
|
|
|
5388
5388
|
}
|
|
5389
5389
|
function superProperties() {
|
|
5390
5390
|
return {
|
|
5391
|
-
cliVersion: true ? "2.39.
|
|
5391
|
+
cliVersion: true ? "2.39.65" : "0.0.0-dev",
|
|
5392
5392
|
nodeVersion: process.version,
|
|
5393
5393
|
platform: process.platform,
|
|
5394
5394
|
arch: process.arch,
|
|
@@ -5547,7 +5547,7 @@ var os4 = __toESM(require("os"));
|
|
|
5547
5547
|
// package.json
|
|
5548
5548
|
var package_default = {
|
|
5549
5549
|
name: "codeam-cli",
|
|
5550
|
-
version: "2.39.
|
|
5550
|
+
version: "2.39.65",
|
|
5551
5551
|
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.",
|
|
5552
5552
|
type: "commonjs",
|
|
5553
5553
|
main: "dist/index.js",
|
|
@@ -17367,7 +17367,7 @@ function checkForUpdates() {
|
|
|
17367
17367
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17368
17368
|
if (process.env.CI) return;
|
|
17369
17369
|
if (!process.stdout.isTTY) return;
|
|
17370
|
-
const current = true ? "2.39.
|
|
17370
|
+
const current = true ? "2.39.65" : null;
|
|
17371
17371
|
if (!current) return;
|
|
17372
17372
|
const cache = readCache();
|
|
17373
17373
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -17772,7 +17772,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process13.s
|
|
|
17772
17772
|
detached: false
|
|
17773
17773
|
});
|
|
17774
17774
|
function currentCliVersion() {
|
|
17775
|
-
return true ? "2.39.
|
|
17775
|
+
return true ? "2.39.65" : null;
|
|
17776
17776
|
}
|
|
17777
17777
|
function runCmd(cmd, args2, timeoutMs) {
|
|
17778
17778
|
return new Promise((resolve7) => {
|
|
@@ -18145,6 +18145,7 @@ var HostAgentSupervisor = class {
|
|
|
18145
18145
|
CODEAM_AUTO_TOKEN: payload.autoPairToken
|
|
18146
18146
|
};
|
|
18147
18147
|
}
|
|
18148
|
+
childEnv = { ...childEnv, CODEAM_AUTO_APPROVE: "1" };
|
|
18148
18149
|
if (payload.agentInstallScript) {
|
|
18149
18150
|
report("installing", "installing agent CLI");
|
|
18150
18151
|
await this.runAgentInstall(payload.agentInstallScript);
|
|
@@ -25718,10 +25719,13 @@ async function start(requestedAgent) {
|
|
|
25718
25719
|
adapter,
|
|
25719
25720
|
cwd,
|
|
25720
25721
|
getBeads,
|
|
25721
|
-
// AUTO mode
|
|
25722
|
-
// answer permission prompts, so auto-approve them rather than stall
|
|
25723
|
-
// turn (the agent-agnostic equivalent of
|
|
25724
|
-
|
|
25722
|
+
// AUTO mode for headless, mobile-driven sessions: no human at the box
|
|
25723
|
+
// to answer permission prompts, so auto-approve them rather than stall
|
|
25724
|
+
// the turn (the agent-agnostic equivalent of
|
|
25725
|
+
// --dangerously-skip-permissions). Both surfaces qualify — a GitHub
|
|
25726
|
+
// Codespace (`CODESPACES=true`) and a self-hosted deploy (the host-agent
|
|
25727
|
+
// sets `CODEAM_AUTO_APPROVE=1` on the pair-auto child).
|
|
25728
|
+
autoApprovePermissions: process.env.CODESPACES === "true" || process.env.CODEAM_AUTO_APPROVE === "1"
|
|
25725
25729
|
});
|
|
25726
25730
|
return;
|
|
25727
25731
|
}
|
|
@@ -28383,7 +28387,7 @@ function checkChokidar() {
|
|
|
28383
28387
|
}
|
|
28384
28388
|
async function doctor(args2 = []) {
|
|
28385
28389
|
const json = args2.includes("--json");
|
|
28386
|
-
const cliVersion = true ? "2.39.
|
|
28390
|
+
const cliVersion = true ? "2.39.65" : "0.0.0-dev";
|
|
28387
28391
|
const apiBase2 = resolveApiBaseUrl();
|
|
28388
28392
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
28389
28393
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -28582,7 +28586,7 @@ async function completion(args2) {
|
|
|
28582
28586
|
// src/commands/version.ts
|
|
28583
28587
|
var import_picocolors14 = __toESM(require("picocolors"));
|
|
28584
28588
|
function version2() {
|
|
28585
|
-
const v = true ? "2.39.
|
|
28589
|
+
const v = true ? "2.39.65" : "unknown";
|
|
28586
28590
|
console.log(`${import_picocolors14.default.bold("codeam-cli")} ${import_picocolors14.default.cyan(v)}`);
|
|
28587
28591
|
}
|
|
28588
28592
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.39.
|
|
3
|
+
"version": "2.39.65",
|
|
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",
|