codeam-cli 2.4.9 → 2.4.10

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 +17 -1
  2. package/package.json +1 -1
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.9",
182
+ version: "2.4.10",
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: {
@@ -5838,6 +5838,22 @@ async function deploy() {
5838
5838
  void err;
5839
5839
  }
5840
5840
  }
5841
+ if (bridged !== "none") {
5842
+ const localClaudeJson = path9.join(os6.homedir(), ".claude.json");
5843
+ if (fs8.existsSync(localClaudeJson)) {
5844
+ try {
5845
+ const contents = fs8.readFileSync(localClaudeJson);
5846
+ await provider.uploadFile(
5847
+ workspace.id,
5848
+ "/home/codespace/.claude.json",
5849
+ contents,
5850
+ { mode: 384 }
5851
+ );
5852
+ } catch (err) {
5853
+ void err;
5854
+ }
5855
+ }
5856
+ }
5841
5857
  const verifyStep = fe();
5842
5858
  verifyStep.start("Verifying Claude auth on workspace\u2026");
5843
5859
  const verified = await verifyClaudeAuth(provider, workspace.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.4.9",
3
+ "version": "2.4.10",
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": {