Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the latest upstream changes (14 files, +305 / -51 lines).
MCP Schema Compatibility (Codex / OpenAI clients)
McpSchemaCompatutility to simplify nullableanyOfJSON Schema patterns (anyOf: [{type:"null"}, {type:"string"}]→{type: "string"}) for clients that rejectanyOf(e.g., OpenAI Codex)requiredlist so omitting them is equivalent to passing nullTrailblazeMcpServerandTrailblazeToolToMcpBridgetool registration pathsAPK Version Tracking & Auto-Reinstall
PrecompiledApkInstallernow computes a SHA-256 hash of the bundled APK and writes a marker to the device after installationHostAndroidDeviceConnectUtilscompares the on-device SHA marker against the bundled APK — if they differ (e.g., after a brew upgrade or source rebuild), the APK is automatically reinstalled instead of reusing the stale on-device serverresourcePathparameter fromextractAndInstallPrecompiledApkPlaywright Browser Installation Robustness
INSTALLATION_COMPLETEmarker file exists inside each browser directory, preventing false positives from partial or interrupted downloadschromium-*andchromium_headless_shell-*must be present (headless mode uses the shell variant, headed mode uses full Chromium)PlaywrightElectronBrowserManagernow callsensureDriverAvailable()before creating the Playwright instance, fixing failures when running from the uber JARSSL Keystore Path Fix
build/keystore.jksto~/.trailblaze/keystore.jks, fixing failures when the server is launched from a directory without abuild/folder (e.g., via the MCP stdio proxy)Android AppOps Permission Support
grantAppOpsPermission(appId, permission)toAndroidDeviceCommandExecutor(both JVM/ADB and on-device implementations) for granting permissions likeMANAGE_EXTERNAL_STORAGEviaappops setMCP Device Listing Fix
getAvailableDevices()now loads all devices unfiltered and deduplicates by instance ID + platform using the configured driver type, fixing missing devices in headless/MCP modeBuild: Stale Uber JAR Handling
shrinkUberJartask now picks the newest JAR by modification time instead of the first match, and reuses the resolved reference indoLastto avoid inconsistencies from stale JARs