Skip to content

Add optional native runtimes, verified updates and dependency license audit - #1

Merged
JackCaow merged 13 commits into
mainfrom
codex/standalone-runtime
Nov 6, 2026
Merged

JackCaow merged 13 commits into
mainfrom
codex/standalone-runtime

Conversation

@JackCaow

@JackCaow JackCaow commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Android Use can reuse an existing source environment or run from an optional native package. Let the Agent inspect the host and choose the appropriate route, preserving healthy installations and existing MCP tools. Add native archives containing Python, locked dependencies, ADB, minimal FFmpeg, compiled UI and the control JAR, plus an opt-in lightweight Dim plugin.

Verified background updates prepare and probe a candidate before switching one atomic pointer. Existing MCP sessions continue running; subsequent connections use the selected version. Rollback revalidates the previous runtime and pauses automatic updates. macOS OCR is omitted by default and available as a separately verified optional component.

Update bilingual README, installation guides and the Agent skill with environment-based selection. Attribute the project's MIT license to Archship and acknowledge iPhone Use's inspiration. Preserve third-party notices, certifi source form, corresponding FFmpeg source/build options and native inventories. Reject known optional DBM/readline redistribution risks, preserve pinned license bytes on Windows, and read preview resources as UTF-8. Windows bootstrap uses .NET hashing/extraction rather than optional PowerShell functions.

Validation of 3517d7d7ef1d2679067ef916684ed78937d79595:

  • 481 Python tests, 24 browser tests and Ruff passed. Source wheel, sdist and plugin ZIP built from a clean index export; project LICENSE in source/native archives verified as Archship.
  • Native CI builds distinct 0.6.2 and 0.6.2+upgrade-test fixtures, removes system runtime tools from PATH, then exercises real MCP/UI resources, install/upgrade/rollback, an active old session during promotion, failed upgrades, preserved settings, H.264 decoding and packaged public/private bootstrap.
Native target Acceptance scenarios
macOS ARM64 15 passed
macOS Intel 15 passed
Linux x86_64 13 passed
Windows x86_64 13 passed

Native CI and downloadable artifacts. Local macOS ARM64 acceptance also passed 15 scenarios, including optional precompiled OCR. Recorded evidence, initial failures and limits · License audit.

Historical v0.6.2 ZIPs do not contain these native assets. No release is published here. Bootstrap acceptance stubs download transport; no phone, model or real-device video is used in package acceptance. A promoted runtime needs a new MCP connection, not hot replacement of the existing process. Native archives are unsigned; new-user OS security prompts and OEM drivers remain outside this acceptance scope.

Keep this PR unmerged for review.

@JackCaow JackCaow changed the title Add standalone runtimes, verified updates and optional OCR Add optional native runtimes, verified updates and dependency license audit Nov 6, 2026
@JackCaow
JackCaow marked this pull request as ready for review November 6, 2026 08:31
@JackCaow
JackCaow merged commit 2e4f0d0 into main Nov 6, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant