codeam-cli 2.4.18 → 2.4.19

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 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.18] — 2026-05-03
8
+
9
+ ### Added
10
+
11
+ - **cli:** Codeam deploy ls + stop, plus runtime tag for the apps (v2.4.18)
12
+
13
+ ## [2.4.17] — 2026-05-03
14
+
15
+ ### Fixed
16
+
17
+ - **cli:** Show the QR in codeam deploy (tail -n +1) (v2.4.17)
18
+
7
19
  ## [2.4.16] — 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.18",
182
+ version: "2.4.19",
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: {
@@ -2770,6 +2770,28 @@ except Exception:sys.exit(0)
2770
2770
  case "stop_task":
2771
2771
  claude.interrupt();
2772
2772
  break;
2773
+ case "shutdown_session": {
2774
+ try {
2775
+ await relay.sendResult(cmd.id, "success", { ok: true });
2776
+ } catch {
2777
+ }
2778
+ try {
2779
+ claude.kill();
2780
+ } catch {
2781
+ }
2782
+ try {
2783
+ const proc = (0, import_child_process4.spawn)("bash", ["-lc", "pm2 delete codeam-pair >/dev/null 2>&1 || true"], {
2784
+ detached: true,
2785
+ stdio: "ignore"
2786
+ });
2787
+ proc.unref();
2788
+ } catch {
2789
+ }
2790
+ outputSvc.dispose();
2791
+ relay.stop();
2792
+ ws.disconnect();
2793
+ process.exit(0);
2794
+ }
2773
2795
  case "get_context": {
2774
2796
  const usage = historySvc.getCurrentUsage();
2775
2797
  const monthlyCost = historySvc.getMonthlyEstimatedCost();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.4.18",
3
+ "version": "2.4.19",
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": {