codeam-cli 2.61.60 → 2.61.61

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.
Files changed (2) hide show
  1. package/dist/index.js +54 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1305,6 +1305,52 @@ var INTEGRATION_REGISTRY = {
1305
1305
  }
1306
1306
  }
1307
1307
  }
1308
+ },
1309
+ n8n: {
1310
+ id: "n8n",
1311
+ name: "n8n",
1312
+ icon: "n8n",
1313
+ category: "automation",
1314
+ // LIVE — api_key rail (like Trello / Azure DevOps). n8n auth is an API key
1315
+ // (Settings → n8n API) + the instance URL (n8n.cloud or self-hosted). The
1316
+ // user pastes both; the backend validates against the n8n REST API + vaults
1317
+ // them. No OAuth app, no GSM secrets, no config-gated 503.
1318
+ // ⚠️ The instance MUST be PUBLICLY reachable (n8n.cloud or a public self-host)
1319
+ // — a localhost/private n8n can't be reached from the deploy box.
1320
+ enabled: true,
1321
+ auth: {
1322
+ kind: "api_key",
1323
+ fields: [
1324
+ {
1325
+ key: "instanceUrl",
1326
+ label: "Instance URL",
1327
+ placeholder: "https://your-workspace.app.n8n.cloud",
1328
+ secret: false,
1329
+ help: "Your n8n base URL \u2014 n8n.cloud or your public self-hosted instance."
1330
+ },
1331
+ {
1332
+ key: "accessToken",
1333
+ label: "API Key",
1334
+ placeholder: "n8n_api_\u2026",
1335
+ secret: true,
1336
+ help: "Create in n8n \u2192 Settings \u2192 n8n API \u2192 Create an API key."
1337
+ }
1338
+ ]
1339
+ },
1340
+ delivery: {
1341
+ mcp: {
1342
+ // n8n-mcp (Node): N8N_API_URL + N8N_API_KEY via env only, never argv.
1343
+ // Version PINNED; bump only after re-verifying headless.
1344
+ command: "npx",
1345
+ args: ["-y", "n8n-mcp@2.66.2"],
1346
+ envMapping: {
1347
+ N8N_API_URL: "instanceUrl",
1348
+ N8N_API_KEY: "accessToken"
1349
+ },
1350
+ // stdio transport (the CLI mcp-shim spawns it over stdio, not HTTP).
1351
+ staticEnv: { MCP_MODE: "stdio" }
1352
+ }
1353
+ }
1308
1354
  }
1309
1355
  };
1310
1356
  function getIntegration(id) {
@@ -6750,7 +6796,7 @@ function readAnonId() {
6750
6796
  }
6751
6797
  function superProperties() {
6752
6798
  return {
6753
- cliVersion: true ? "2.61.60" : "0.0.0-dev",
6799
+ cliVersion: true ? "2.61.61" : "0.0.0-dev",
6754
6800
  nodeVersion: process.version,
6755
6801
  platform: process.platform,
6756
6802
  arch: process.arch,
@@ -6931,7 +6977,7 @@ var os4 = __toESM(require("os"));
6931
6977
  // package.json
6932
6978
  var package_default = {
6933
6979
  name: "codeam-cli",
6934
- version: "2.61.60",
6980
+ version: "2.61.61",
6935
6981
  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.",
6936
6982
  type: "commonjs",
6937
6983
  main: "dist/index.js",
@@ -8103,7 +8149,7 @@ var CommandRelayService = class _CommandRelayService {
8103
8149
  // fresh + clear the "CLI update available" banner after a self-update
8104
8150
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
8105
8151
  // pair/reconnect). Older backends ignore the extra field.
8106
- ..."2.61.60" ? { ideVersion: "2.61.60" } : {}
8152
+ ..."2.61.61" ? { ideVersion: "2.61.61" } : {}
8107
8153
  }).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
8108
8154
  }
8109
8155
  /**
@@ -19212,7 +19258,7 @@ async function autoUpgradeBeforeCriticalCommand() {
19212
19258
  if (process.env.NODE_ENV === "test") return;
19213
19259
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
19214
19260
  if (process.env.CI) return;
19215
- const current = true ? "2.61.60" : null;
19261
+ const current = true ? "2.61.61" : null;
19216
19262
  if (!current) return;
19217
19263
  const cache = readCache();
19218
19264
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -19229,7 +19275,7 @@ function checkForUpdates() {
19229
19275
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
19230
19276
  if (process.env.CI) return;
19231
19277
  if (!process.stdout.isTTY) return;
19232
- const current = true ? "2.61.60" : null;
19278
+ const current = true ? "2.61.61" : null;
19233
19279
  if (!current) return;
19234
19280
  const cache = readCache();
19235
19281
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -19249,7 +19295,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
19249
19295
  var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
19250
19296
  var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
19251
19297
  function currentCliVersion() {
19252
- return true ? "2.61.60" : null;
19298
+ return true ? "2.61.61" : null;
19253
19299
  }
19254
19300
  function runCmd(cmd, args2, timeoutMs) {
19255
19301
  return new Promise((resolve8) => {
@@ -39488,7 +39534,7 @@ function checkChokidar() {
39488
39534
  }
39489
39535
  async function doctor(args2 = []) {
39490
39536
  const json = args2.includes("--json");
39491
- const cliVersion = true ? "2.61.60" : "0.0.0-dev";
39537
+ const cliVersion = true ? "2.61.61" : "0.0.0-dev";
39492
39538
  const apiBase2 = resolveApiBaseUrl();
39493
39539
  const diagnosticId = (0, import_node_crypto13.randomUUID)();
39494
39540
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -40010,7 +40056,7 @@ async function mcpRun(args2) {
40010
40056
  // src/commands/version.ts
40011
40057
  var import_picocolors15 = __toESM(require("picocolors"));
40012
40058
  function version2() {
40013
- const v = true ? "2.61.60" : "unknown";
40059
+ const v = true ? "2.61.61" : "unknown";
40014
40060
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
40015
40061
  }
40016
40062
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.61.60",
3
+ "version": "2.61.61",
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",