clawdex-mobile 5.0.2 → 5.0.3

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Clawdex Mobile
2
2
 
3
3
  <p align="center">
4
- <img src="https://raw.githubusercontent.com/Mohit-Patil/clawdex-mobile/main/apps/mobile/assets/brand/app-icon.png" alt="Clawdex app icon" width="112" />
4
+ <img src="./screenshots/social/clawdex-social-poster-1200x675.png" alt="Clawdex social banner" width="100%" />
5
5
  </p>
6
6
 
7
7
  Control Clawdex from your phone using an Expo React Native app (`apps/mobile`) and a Rust bridge (`services/rust-bridge`) running on your host machine.
@@ -25,7 +25,7 @@ This project is intended for trusted/private networking (Tailscale or local LAN)
25
25
 
26
26
  - Android APK: download from the latest GitHub release assets
27
27
  <https://github.com/Mohit-Patil/clawdex-mobile/releases/latest>
28
- - iOS (TestFlight): share your TestFlight invite/public link with testers : https://testflight.apple.com/join/4GRsQQKF
28
+ - iOS: https://apple.co/4rNAHRF
29
29
 
30
30
  Recommended release-note format for Android:
31
31
 
@@ -41,7 +41,7 @@ clawdex init
41
41
 
42
42
  This is the primary starting point.
43
43
 
44
- Published npm releases bundle prebuilt Rust bridge binaries for `darwin-arm64`, `darwin-x64`, `linux-x64`, and `win32-x64`, so supported hosts do not need to compile the bridge during normal startup. The interactive shell-based setup helpers are still macOS/Linux-oriented today.
44
+ Published npm releases bundle prebuilt Rust bridge binaries for `darwin-arm64`, `darwin-x64`, `linux-x64`, `linux-arm64`, `linux-armv7l`, and `win32-x64`, so supported hosts do not need to compile the bridge during normal startup. The interactive shell-based setup helpers are still macOS/Linux-oriented today.
45
45
 
46
46
  `clawdex init` does not run a project-local `npm install`. The global package install is the only npm install needed for the published bridge flow.
47
47
 
@@ -11,7 +11,7 @@ After `clawdex init`, expected sequence:
11
11
  3. A pairing QR is printed for the mobile app
12
12
  4. Bridge logs stay attached until you stop the process
13
13
 
14
- Published npm releases bundle prebuilt bridge binaries for `darwin-arm64`, `darwin-x64`, `linux-x64`, and `win32-x64`. On those hosts, normal bridge startup does not require a Rust compile.
14
+ Published npm releases bundle prebuilt bridge binaries for `darwin-arm64`, `darwin-x64`, `linux-x64`, `linux-arm64`, `linux-armv7l`, and `win32-x64`. On those hosts, normal bridge startup does not require a Rust compile.
15
15
 
16
16
  `clawdex init` does not run a project-local `npm install` for the published CLI path. The only required npm install there is `npm install -g clawdex-mobile@latest`.
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawdex-mobile",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "homepage": "https://github.com/Mohit-Patil/clawdex-mobile#readme",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,6 +24,19 @@ const SUPPORTED_RUNTIME_TARGETS = {
24
24
  rustTarget: "x86_64-unknown-linux-gnu",
25
25
  binaryName: "codex-rust-bridge",
26
26
  },
27
+ "linux-arm64": {
28
+ platform: "linux",
29
+ arch: "arm64",
30
+ rustTarget: "aarch64-unknown-linux-gnu",
31
+ binaryName: "codex-rust-bridge",
32
+ },
33
+ "linux-armv7l": {
34
+ platform: "linux",
35
+ arch: "arm",
36
+ machine: ["armv7l", "armv8l"],
37
+ rustTarget: "armv7-unknown-linux-gnueabihf",
38
+ binaryName: "codex-rust-bridge",
39
+ },
27
40
  "win32-x64": {
28
41
  platform: "win32",
29
42
  arch: "x64",
@@ -36,11 +49,19 @@ function repoRoot() {
36
49
  return path.resolve(__dirname, "..");
37
50
  }
38
51
 
39
- function resolveRuntimeTarget(platform = os.platform(), arch = os.arch()) {
52
+ function currentMachine() {
53
+ return typeof os.machine === "function" ? os.machine() : "";
54
+ }
55
+
56
+ function resolveRuntimeTarget(platform = os.platform(), arch = os.arch(), machine = currentMachine()) {
40
57
  for (const [target, metadata] of Object.entries(SUPPORTED_RUNTIME_TARGETS)) {
41
- if (metadata.platform === platform && metadata.arch === arch) {
42
- return target;
58
+ if (metadata.platform !== platform || metadata.arch !== arch) {
59
+ continue;
60
+ }
61
+ if (metadata.machine && !metadata.machine.includes(machine)) {
62
+ continue;
43
63
  }
64
+ return target;
44
65
  }
45
66
  return null;
46
67
  }
@@ -149,7 +149,7 @@ dependencies = [
149
149
 
150
150
  [[package]]
151
151
  name = "codex-rust-bridge"
152
- version = "5.0.2"
152
+ version = "5.0.3"
153
153
  dependencies = [
154
154
  "axum",
155
155
  "base64",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "codex-rust-bridge"
3
- version = "5.0.2"
3
+ version = "5.0.3"
4
4
  edition = "2021"
5
5
 
6
6
  [dependencies]