codeam-cli 2.12.14 → 2.12.15
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 +7 -6
- 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.12.14] — 2026-05-14
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Dedent Codex's 2-space chat margin from diff lines
|
|
12
|
+
|
|
7
13
|
## [2.12.13] — 2026-05-14
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -1682,7 +1682,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
1682
1682
|
// package.json
|
|
1683
1683
|
var package_default = {
|
|
1684
1684
|
name: "codeam-cli",
|
|
1685
|
-
version: "2.12.
|
|
1685
|
+
version: "2.12.15",
|
|
1686
1686
|
description: "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands \u2014 from anywhere.",
|
|
1687
1687
|
type: "commonjs",
|
|
1688
1688
|
main: "dist/index.js",
|
|
@@ -5834,7 +5834,7 @@ function filterCodexChrome(lines) {
|
|
|
5834
5834
|
}
|
|
5835
5835
|
out.push(t2);
|
|
5836
5836
|
}
|
|
5837
|
-
const dedented =
|
|
5837
|
+
const dedented = dedentCodexStructuredLines(out);
|
|
5838
5838
|
const wrapped = wrapCodexCodeBlocks(dedented);
|
|
5839
5839
|
const hasRealInput = lines.some((l) => /\w/.test(l));
|
|
5840
5840
|
if (out.length > 0 || hasRealInput) {
|
|
@@ -5865,10 +5865,11 @@ var PR_TITLE_RE = /^title:\s+\S/;
|
|
|
5865
5865
|
var PR_STATE_RE = /^state:\s+(?:OPEN|CLOSED|MERGED|DRAFT)/i;
|
|
5866
5866
|
var PR_URL_RE = /https?:\/\/github\.com\/[\w.-]+\/[\w.-]+\/pull\/\d+/;
|
|
5867
5867
|
var PR_BANNER_RE = /^\s*[✓✔]?\s*Pull request created\s*$/i;
|
|
5868
|
-
function
|
|
5868
|
+
function dedentCodexStructuredLines(lines) {
|
|
5869
|
+
const MARKER_RE = /^( +)(?:diff --git |@@ |--- |\+\+\+ |Updating [0-9a-f]|Fast-forward|Merge made by |To (?:https?:\/\/|git@|github\.com|[\w.-]+[:/])|From (?:https?:\/\/|git@|github\.com|[\w.-]+[:/])|\[[\w./@-]+\s+[0-9a-f]{7,40}\])/;
|
|
5869
5870
|
let margin = -1;
|
|
5870
5871
|
for (const line of lines) {
|
|
5871
|
-
const m = line.match(
|
|
5872
|
+
const m = line.match(MARKER_RE);
|
|
5872
5873
|
if (m) {
|
|
5873
5874
|
const w3 = m[1].length;
|
|
5874
5875
|
if (margin === -1 || w3 < margin) margin = w3;
|
|
@@ -10442,7 +10443,7 @@ async function stopWorkspaceFromLocal(target) {
|
|
|
10442
10443
|
// src/commands/version.ts
|
|
10443
10444
|
var import_picocolors11 = __toESM(require("picocolors"));
|
|
10444
10445
|
function version() {
|
|
10445
|
-
const v = true ? "2.12.
|
|
10446
|
+
const v = true ? "2.12.15" : "unknown";
|
|
10446
10447
|
console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
|
|
10447
10448
|
}
|
|
10448
10449
|
|
|
@@ -10577,7 +10578,7 @@ function checkForUpdates() {
|
|
|
10577
10578
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
10578
10579
|
if (process.env.CI) return;
|
|
10579
10580
|
if (!process.stdout.isTTY) return;
|
|
10580
|
-
const current = true ? "2.12.
|
|
10581
|
+
const current = true ? "2.12.15" : null;
|
|
10581
10582
|
if (!current) return;
|
|
10582
10583
|
const cache = readCache();
|
|
10583
10584
|
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.12.
|
|
3
|
+
"version": "2.12.15",
|
|
4
4
|
"description": "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands — from anywhere.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|