codeam-cli 2.4.23 → 2.4.24
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 +12 -0
- package/dist/index.js +34 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ 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.4.23] — 2026-05-03
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Shutdown_session also runs gh codespace stop (v2.4.23)
|
|
12
|
+
|
|
13
|
+
## [2.4.22] — 2026-05-03
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **cli:** "+ Don't see your project?" expands gh OAuth scopes (v2.4.22)
|
|
18
|
+
|
|
7
19
|
## [2.4.21] — 2026-05-03
|
|
8
20
|
|
|
9
21
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -179,7 +179,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
179
179
|
// package.json
|
|
180
180
|
var package_default = {
|
|
181
181
|
name: "codeam-cli",
|
|
182
|
-
version: "2.4.
|
|
182
|
+
version: "2.4.24",
|
|
183
183
|
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.",
|
|
184
184
|
main: "dist/index.js",
|
|
185
185
|
bin: {
|
|
@@ -5430,20 +5430,43 @@ var GitHubCodespacesProvider = class {
|
|
|
5430
5430
|
});
|
|
5431
5431
|
}
|
|
5432
5432
|
async listProjects() {
|
|
5433
|
-
const
|
|
5434
|
-
"
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
"list",
|
|
5433
|
+
const fetchRepos = async (owner) => {
|
|
5434
|
+
const args2 = ["repo", "list"];
|
|
5435
|
+
if (owner) args2.push(owner);
|
|
5436
|
+
args2.push(
|
|
5438
5437
|
"--json",
|
|
5439
5438
|
"name,nameWithOwner,description,defaultBranchRef,isPrivate",
|
|
5440
5439
|
"--limit",
|
|
5441
5440
|
"200"
|
|
5442
|
-
|
|
5443
|
-
{
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5441
|
+
);
|
|
5442
|
+
try {
|
|
5443
|
+
const { stdout } = await execFileP2("gh", args2, { maxBuffer: MAX_BUFFER });
|
|
5444
|
+
return JSON.parse(stdout);
|
|
5445
|
+
} catch {
|
|
5446
|
+
return [];
|
|
5447
|
+
}
|
|
5448
|
+
};
|
|
5449
|
+
const own = await fetchRepos();
|
|
5450
|
+
let orgRepos = [];
|
|
5451
|
+
try {
|
|
5452
|
+
const { stdout } = await execFileP2(
|
|
5453
|
+
"gh",
|
|
5454
|
+
["api", "--paginate", "user/orgs", "--jq", ".[].login"],
|
|
5455
|
+
{ maxBuffer: MAX_BUFFER }
|
|
5456
|
+
);
|
|
5457
|
+
const orgLogins = stdout.split("\n").map((l) => l.trim()).filter((l) => l.length > 0);
|
|
5458
|
+
const perOrg = await Promise.all(orgLogins.map((org) => fetchRepos(org)));
|
|
5459
|
+
orgRepos = perOrg.flat();
|
|
5460
|
+
} catch {
|
|
5461
|
+
}
|
|
5462
|
+
const seen = /* @__PURE__ */ new Set();
|
|
5463
|
+
const merged = [];
|
|
5464
|
+
for (const r of [...own, ...orgRepos]) {
|
|
5465
|
+
if (seen.has(r.nameWithOwner)) continue;
|
|
5466
|
+
seen.add(r.nameWithOwner);
|
|
5467
|
+
merged.push(r);
|
|
5468
|
+
}
|
|
5469
|
+
return merged.map((r) => ({
|
|
5447
5470
|
id: r.nameWithOwner,
|
|
5448
5471
|
name: r.name,
|
|
5449
5472
|
fullName: r.nameWithOwner,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.24",
|
|
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
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|