codeam-cli 2.37.2 → 2.38.0
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 +16 -0
- package/dist/index.js +57 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ 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.37.3] — 2026-06-11
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Force full https:// URLs in onboarding welcome so both render as links
|
|
12
|
+
|
|
13
|
+
## [2.37.2] — 2026-06-11
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **cli:** Surface core features + collab channels in onboarding welcome
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **cli:** Persist ACP onboarding welcome to the conversation anchor
|
|
22
|
+
|
|
7
23
|
## [2.37.1] — 2026-06-11
|
|
8
24
|
|
|
9
25
|
### 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.
|
|
501
|
+
version: "2.38.0",
|
|
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",
|
|
@@ -5900,7 +5900,7 @@ function readAnonId() {
|
|
|
5900
5900
|
}
|
|
5901
5901
|
function superProperties() {
|
|
5902
5902
|
return {
|
|
5903
|
-
cliVersion: true ? "2.
|
|
5903
|
+
cliVersion: true ? "2.38.0" : "0.0.0-dev",
|
|
5904
5904
|
nodeVersion: process.version,
|
|
5905
5905
|
platform: process.platform,
|
|
5906
5906
|
arch: process.arch,
|
|
@@ -15389,16 +15389,19 @@ function buildOnboardingPrompt(cwd) {
|
|
|
15389
15389
|
" \u2022 a full integrated IDE powered by Monaco \u2014 edit code, live preview, rich visual output (NOT just a file viewer);",
|
|
15390
15390
|
" \u2022 Smart Composer \u2014 helps them craft and structure prompts;",
|
|
15391
15391
|
" \u2022 Team Spaces \u2014 share this session with their team to collaborate, or hand a session to someone else.",
|
|
15392
|
-
"- Invite them to share feedback or report any issue via GitHub",
|
|
15393
|
-
"
|
|
15394
|
-
"
|
|
15392
|
+
"- Invite them to share feedback or report any issue via GitHub or the Discord",
|
|
15393
|
+
" bugs channel. Include BOTH of these URLs in full, EXACTLY as written here",
|
|
15394
|
+
" (keep the https:// scheme on each so the app renders them as tappable links):",
|
|
15395
|
+
" https://github.com/edgar-durand/codeagent-mobile-clients/issues",
|
|
15396
|
+
" https://discord.gg/ADMKwGAB",
|
|
15395
15397
|
`- End with a SHORT, concrete invitation tied to THIS project (working dir: ${cwd},`,
|
|
15396
15398
|
` repo: "${repo}") \u2014 suggest 1\u20132 specific things you could help with here.`,
|
|
15397
15399
|
"",
|
|
15398
15400
|
"Rules: do NOT run any tools or shell commands \u2014 base the project hint only on the",
|
|
15399
15401
|
'repo name/path above so your reply is instant. No preamble like "Sure" or "Of',
|
|
15400
15402
|
'course" \u2014 start directly with the greeting. Use light markdown (one intro line +',
|
|
15401
|
-
"a few bullets).
|
|
15403
|
+
"a few bullets). NEVER shorten a URL or drop its https:// scheme \u2014 paste each link",
|
|
15404
|
+
"verbatim so both render as navigable links. Keep it tight despite the feature list."
|
|
15402
15405
|
].join("\n");
|
|
15403
15406
|
}
|
|
15404
15407
|
function maybeSendOnboardingWelcome(opts) {
|
|
@@ -18505,6 +18508,45 @@ var BeadsWatcher = class {
|
|
|
18505
18508
|
}
|
|
18506
18509
|
};
|
|
18507
18510
|
|
|
18511
|
+
// src/beads/inherit-team-memories.ts
|
|
18512
|
+
async function inheritTeamMemories(opts) {
|
|
18513
|
+
const apiBase = opts.apiBaseUrl ?? resolveApiBaseUrl();
|
|
18514
|
+
let memories = [];
|
|
18515
|
+
try {
|
|
18516
|
+
const res = await _transport3.post(
|
|
18517
|
+
`${apiBase}/api/beads/team-memories`,
|
|
18518
|
+
{
|
|
18519
|
+
"Content-Type": "application/json",
|
|
18520
|
+
"X-Codeam-Protocol-Version": "2.0.0",
|
|
18521
|
+
"X-Plugin-Auth-Token": opts.pluginAuthToken
|
|
18522
|
+
},
|
|
18523
|
+
JSON.stringify({ sessionId: opts.sessionId, pluginId: opts.pluginId })
|
|
18524
|
+
);
|
|
18525
|
+
if (res.statusCode < 200 || res.statusCode >= 300) {
|
|
18526
|
+
log.trace("beads", `team-memories fetch status=${res.statusCode}`);
|
|
18527
|
+
return;
|
|
18528
|
+
}
|
|
18529
|
+
const parsed = JSON.parse(res.body);
|
|
18530
|
+
memories = Array.isArray(parsed.data?.memories) ? parsed.data.memories : [];
|
|
18531
|
+
} catch (err) {
|
|
18532
|
+
log.warn("beads", "team-memories fetch failed (non-fatal)", err);
|
|
18533
|
+
return;
|
|
18534
|
+
}
|
|
18535
|
+
if (memories.length === 0) return;
|
|
18536
|
+
let written = 0;
|
|
18537
|
+
for (const m of memories) {
|
|
18538
|
+
const body = (m?.body ?? "").trim();
|
|
18539
|
+
if (!m?.id || !body) continue;
|
|
18540
|
+
try {
|
|
18541
|
+
await opts.adapter.run(["remember", "--key", `team-${m.id}`, `Team convention (read-only): ${body}`]);
|
|
18542
|
+
written++;
|
|
18543
|
+
} catch (err) {
|
|
18544
|
+
log.trace("beads", `team memory write failed id=${m.id}: ${err.message}`);
|
|
18545
|
+
}
|
|
18546
|
+
}
|
|
18547
|
+
log.info("beads", `inherited ${written}/${memories.length} team memory(ies) into the active repo`);
|
|
18548
|
+
}
|
|
18549
|
+
|
|
18508
18550
|
// src/beads/apply-actions.ts
|
|
18509
18551
|
function buildBdArgs(action) {
|
|
18510
18552
|
switch (action.kind) {
|
|
@@ -18574,6 +18616,12 @@ async function startBeads(opts) {
|
|
|
18574
18616
|
});
|
|
18575
18617
|
watcher.start();
|
|
18576
18618
|
void watcher.syncNow();
|
|
18619
|
+
void inheritTeamMemories({
|
|
18620
|
+
sessionId: opts.sessionId,
|
|
18621
|
+
pluginId: opts.pluginId,
|
|
18622
|
+
pluginAuthToken: opts.pluginAuthToken,
|
|
18623
|
+
adapter
|
|
18624
|
+
});
|
|
18577
18625
|
return { watcher, adapter };
|
|
18578
18626
|
}
|
|
18579
18627
|
async function handleBeadsActionCommand(action, started) {
|
|
@@ -26602,7 +26650,7 @@ function checkChokidar() {
|
|
|
26602
26650
|
}
|
|
26603
26651
|
async function doctor(args2 = []) {
|
|
26604
26652
|
const json = args2.includes("--json");
|
|
26605
|
-
const cliVersion = true ? "2.
|
|
26653
|
+
const cliVersion = true ? "2.38.0" : "0.0.0-dev";
|
|
26606
26654
|
const apiBase = resolveApiBaseUrl();
|
|
26607
26655
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
26608
26656
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -26801,7 +26849,7 @@ async function completion(args2) {
|
|
|
26801
26849
|
// src/commands/version.ts
|
|
26802
26850
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
26803
26851
|
function version2() {
|
|
26804
|
-
const v = true ? "2.
|
|
26852
|
+
const v = true ? "2.38.0" : "unknown";
|
|
26805
26853
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
26806
26854
|
}
|
|
26807
26855
|
|
|
@@ -27087,7 +27135,7 @@ function checkForUpdates() {
|
|
|
27087
27135
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
27088
27136
|
if (process.env.CI) return;
|
|
27089
27137
|
if (!process.stdout.isTTY) return;
|
|
27090
|
-
const current = true ? "2.
|
|
27138
|
+
const current = true ? "2.38.0" : null;
|
|
27091
27139
|
if (!current) return;
|
|
27092
27140
|
const cache = readCache();
|
|
27093
27141
|
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.
|
|
3
|
+
"version": "2.38.0",
|
|
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",
|