Repository navigation
0.2.3 @ 2026/09/16
Bun Runtime 0.2.3.
Requires Android 13 (API 33) or later and AutoJs6 build 5278 or later. Bundles the unmodified official Bun 1.4.0 runtime for arm64-v8a and baseline x86_64 plus a small read-only supervisor helper per ABI; Android API 28-32 remains unsupported.
Run one JavaScript or TypeScript source snapshot with the standalone "bun"; directive. Execution uses bun run --no-install; AutoJs6 globals and a Java bridge are not available. stdout/stderr use bounded Binder callback chunks. Timeouts, cancellation and output limits terminate the Bun child through the supervisor, and runtime error summaries are localized in ten languages.
Multi-file projects: the shared contract now accepts a bounded ZIP workspace archive (workspaceArchiveVersion, workspaceEntryPoint, capability SUPPORTS_WORKSPACE_ARCHIVE) and the plugin expands it into the private per-run workspace so relative imports resolve. The AutoJs6 side that packs a project.json/package.json directory is not part of a released AutoJs6 yet, so released hosts still send single files.
Host info snapshot: the shared contract adds the read-only capability SUPPORTS_HOST_INFO. When a host sends hostInfoVersion = 1 together with its own package name, the plugin checks that package against the calling UID, resolves the host version through PackageManager and writes a bounded single-line JSON snapshot of host, plugin and execution facts that the script reads through the AUTOJS6_HOST_INFO_FILE environment variable; request environment names starting with AUTOJS6_ are reserved. Hosts that do not offer the snapshot get exactly the previous behaviour, and released AutoJs6 builds do not offer it yet.
All APKs pass 16 KB ZIP alignment and every ELF payload meets at least 16 KB PT_LOAD alignment. The signed arm64-v8a APK of this Release passed the black-box acceptance on a Samsung SM-A566B (Android 16, 16 KB pages) as a fresh install. The official native x86_64 runtime is still rejected on pages larger than 4 KiB.
The three signed APKs and their complete corresponding-source asset set are published separately in this same Release.
Verify every asset with autojs6-plugin-bun-runtime-v0.2.3-SHA256SUMS.txt; the machine-readable source/APK binding is in the corresponding-source manifest.
Bun is MIT-licensed; the executable statically links JavaScriptCore/WebKit components covered by LGPL-2-family terms and contains other third-party components under their respective licenses.
License disclosures and relinking information are in autojs6-plugin-bun-runtime-v0.2.3-corresponding-source-LICENSES-AND-RELINKING.md and in the project-source asset.
The repository's release verifier performed automated technical checks over APK-contained runtime hashes, source closure, archive identities, and GitHub's returned SHA-256 asset digests. This statement records technical verification and does not claim a legal opinion or approval.