codeam-cli 2.60.57 → 2.60.58

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,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.60.57] — 2026-07-14
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Preview reclaims its own port after a CLI restart (no more 'port in use' dead-end)
12
+
7
13
  ## [2.60.56] — 2026-07-14
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -519,6 +519,38 @@ var INTEGRATION_REGISTRY = {
519
519
  staticEnv: { ATLASSIAN_OAUTH_ENABLE: "true" }
520
520
  }
521
521
  }
522
+ },
523
+ sentry: {
524
+ id: "sentry",
525
+ name: "Sentry",
526
+ icon: "sentry",
527
+ // Dark until the Sentry OAuth app is registered + a live end-to-end
528
+ // deploy is verified (CLAUDE.md non-negotiable). Flip to true in the
529
+ // same change that lands SENTRY_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI.
530
+ enabled: false,
531
+ auth: {
532
+ kind: "oauth_redirect",
533
+ // Sentry OAuth scopes for the MCP's read-first surface: read orgs /
534
+ // projects / teams, read issues+events (the error→fix loop), and
535
+ // read releases. `org:read` covers org+project discovery. No write
536
+ // scopes in the MVP — writes (resolve/assign an issue) land with the
537
+ // designed Approval-Gates phase, same as Jira's write path.
538
+ scopes: ["org:read", "project:read", "team:read", "event:read", "project:releases"]
539
+ },
540
+ delivery: {
541
+ mcp: {
542
+ // Sentry's official stdio MCP server (Node). BYO-token headless: the
543
+ // OAuth access token is fed via SENTRY_ACCESS_TOKEN and the host via
544
+ // SENTRY_HOST (never argv — env only). Version PINNED; bump only
545
+ // after re-verifying headless in the mcp-shim integration test.
546
+ command: "npx",
547
+ args: ["-y", "@sentry/mcp-server@0.18.0"],
548
+ envMapping: {
549
+ SENTRY_ACCESS_TOKEN: "accessToken",
550
+ SENTRY_HOST: "host"
551
+ }
552
+ }
553
+ }
522
554
  }
523
555
  };
524
556
  function getIntegration(id) {
@@ -5747,7 +5779,7 @@ function readAnonId() {
5747
5779
  }
5748
5780
  function superProperties() {
5749
5781
  return {
5750
- cliVersion: true ? "2.60.57" : "0.0.0-dev",
5782
+ cliVersion: true ? "2.60.58" : "0.0.0-dev",
5751
5783
  nodeVersion: process.version,
5752
5784
  platform: process.platform,
5753
5785
  arch: process.arch,
@@ -5928,7 +5960,7 @@ var os4 = __toESM(require("os"));
5928
5960
  // package.json
5929
5961
  var package_default = {
5930
5962
  name: "codeam-cli",
5931
- version: "2.60.57",
5963
+ version: "2.60.58",
5932
5964
  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.",
5933
5965
  type: "commonjs",
5934
5966
  main: "dist/index.js",
@@ -7037,7 +7069,7 @@ var CommandRelayService = class {
7037
7069
  // fresh + clear the "CLI update available" banner after a self-update
7038
7070
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
7039
7071
  // pair/reconnect). Older backends ignore the extra field.
7040
- ..."2.60.57" ? { ideVersion: "2.60.57" } : {}
7072
+ ..."2.60.58" ? { ideVersion: "2.60.58" } : {}
7041
7073
  }).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
7042
7074
  }
7043
7075
  /**
@@ -17614,7 +17646,7 @@ async function autoUpgradeBeforeCriticalCommand() {
17614
17646
  if (process.env.NODE_ENV === "test") return;
17615
17647
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
17616
17648
  if (process.env.CI) return;
17617
- const current = true ? "2.60.57" : null;
17649
+ const current = true ? "2.60.58" : null;
17618
17650
  if (!current) return;
17619
17651
  const cache = readCache();
17620
17652
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -17631,7 +17663,7 @@ function checkForUpdates() {
17631
17663
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
17632
17664
  if (process.env.CI) return;
17633
17665
  if (!process.stdout.isTTY) return;
17634
- const current = true ? "2.60.57" : null;
17666
+ const current = true ? "2.60.58" : null;
17635
17667
  if (!current) return;
17636
17668
  const cache = readCache();
17637
17669
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -17651,7 +17683,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
17651
17683
  var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
17652
17684
  var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
17653
17685
  function currentCliVersion() {
17654
- return true ? "2.60.57" : null;
17686
+ return true ? "2.60.58" : null;
17655
17687
  }
17656
17688
  function runCmd(cmd, args2, timeoutMs) {
17657
17689
  return new Promise((resolve7) => {
@@ -35080,7 +35112,7 @@ function checkChokidar() {
35080
35112
  }
35081
35113
  async function doctor(args2 = []) {
35082
35114
  const json = args2.includes("--json");
35083
- const cliVersion = true ? "2.60.57" : "0.0.0-dev";
35115
+ const cliVersion = true ? "2.60.58" : "0.0.0-dev";
35084
35116
  const apiBase2 = resolveApiBaseUrl();
35085
35117
  const diagnosticId = (0, import_node_crypto12.randomUUID)();
35086
35118
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -35557,7 +35589,7 @@ async function mcpRun(args2) {
35557
35589
  // src/commands/version.ts
35558
35590
  var import_picocolors15 = __toESM(require("picocolors"));
35559
35591
  function version2() {
35560
- const v = true ? "2.60.57" : "unknown";
35592
+ const v = true ? "2.60.58" : "unknown";
35561
35593
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
35562
35594
  }
35563
35595
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.60.57",
3
+ "version": "2.60.58",
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",