@code0123/opencode-android-arm64 1.1.58 → 1.1.60

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/bin/opencode CHANGED
@@ -1,9 +1,13 @@
1
1
  #!/data/data/com.termux/files/usr/bin/sh
2
2
  DIR="$(CDPATH= cd -- "$(dirname "$0")" && pwd)"
3
- if ! command -v bun >/dev/null 2>&1; then
4
- echo "Bun runtime is required on Termux. Install with: pkg install bun"
3
+ LOADER="$DIR/../runtime/lib/ld-musl-aarch64.so.1"
4
+ LIB="$DIR/../runtime/lib"
5
+ BUN="$DIR/../runtime/bun"
6
+ ENTRY="$DIR/../runtime/index.js"
7
+ if [ ! -x "$LOADER" ] || [ ! -x "$BUN" ] || [ ! -f "$ENTRY" ]; then
8
+ echo "Missing native runtime files. Reinstall @code0123/opencode-android-arm64"
5
9
  exit 1
6
10
  fi
7
11
  export OPENCODE_WORKER_PATH="$DIR/../runtime/worker.js"
8
12
  export OTUI_TREE_SITTER_WORKER_PATH="$DIR/../runtime/parser.worker.js"
9
- exec bun "$DIR/../runtime/index.js" "$@"
13
+ exec "$LOADER" --library-path "$LIB" "$BUN" "$ENTRY" "$@"
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@code0123/opencode-android-arm64",
3
- "version": "1.1.58",
3
+ "version": "1.1.60",
4
4
  "type": "module",
5
+ "dependencies": {
6
+ "@opentui/core-linux-arm64": "npm:@code0123/opentui-core-linux-arm64@1.1.60",
7
+ "@parcel/watcher-android-arm64": "2.5.1"
8
+ },
5
9
  "publishConfig": {
6
10
  "access": "public"
7
11
  }
package/runtime/bun ADDED
Binary file
package/runtime/index.js CHANGED
@@ -13353,7 +13353,7 @@ var init_installation = __esm(async () => {
13353
13353
  await $`${process.execPath} --version`.nothrow().quiet().text();
13354
13354
  }
13355
13355
  Installation.upgrade = upgrade;
13356
- Installation.VERSION = "1.1.58";
13356
+ Installation.VERSION = "1.1.60";
13357
13357
  Installation.CHANNEL = "latest";
13358
13358
  Installation.USER_AGENT = `opencode/${Installation.CHANNEL}/${Installation.VERSION}/${Flag.OPENCODE_CLIENT}`;
13359
13359
  async function latest(installMethod) {
Binary file
Binary file
Binary file
package/runtime/worker.js CHANGED
@@ -13240,7 +13240,7 @@ var init_installation = __esm(async () => {
13240
13240
  await $`${process.execPath} --version`.nothrow().quiet().text();
13241
13241
  }
13242
13242
  Installation.upgrade = upgrade;
13243
- Installation.VERSION = "1.1.58";
13243
+ Installation.VERSION = "1.1.60";
13244
13244
  Installation.CHANNEL = "latest";
13245
13245
  Installation.USER_AGENT = `opencode/${Installation.CHANNEL}/${Installation.VERSION}/${Flag.OPENCODE_CLIENT}`;
13246
13246
  async function latest(installMethod) {