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 +3 -3
- package/docs/setup-and-operations.md +1 -1
- package/package.json +1 -1
- package/scripts/bridge-binary.js +24 -3
- package/services/rust-bridge/Cargo.lock +1 -1
- package/services/rust-bridge/Cargo.toml +1 -1
- package/vendor/bridge-binaries/darwin-arm64/codex-rust-bridge +0 -0
- package/vendor/bridge-binaries/darwin-x64/codex-rust-bridge +0 -0
- package/vendor/bridge-binaries/linux-arm64/codex-rust-bridge +0 -0
- package/vendor/bridge-binaries/linux-armv7l/codex-rust-bridge +0 -0
- package/vendor/bridge-binaries/linux-x64/codex-rust-bridge +0 -0
- package/vendor/bridge-binaries/win32-x64/codex-rust-bridge.exe +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Clawdex Mobile
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="
|
|
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
|
|
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
package/scripts/bridge-binary.js
CHANGED
|
@@ -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
|
|
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
|
|
42
|
-
|
|
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
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|