@deeeed/metamask-harness 0.51.4 → 0.51.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.51.5 - 2026-09-14
6
+
7
+ ### Fixed
8
+
9
+ - The relaunch-instead-of-rebuild recovery from 0.51.4 also recognizes the `wait-for-bridge: readiness deadline expired` line (the waiter prints it before "no bridge target matched" when the poll runs out), and `launch` now reports which recovery it takes and with which tier, so a prepare log shows why a second build happened.
5
10
  ## 0.51.4 - 2026-09-14
6
11
 
7
12
  ### Fixed
@@ -422,6 +422,10 @@ async function handleLaunchLocked(argv, stream) {
422
422
  state.attemptedRecoveries.push(recoveryCode);
423
423
  stream.phase("recover");
424
424
  const recoveryTier = restartMobileApp && tier === "build" ? "quick" : tier;
425
+ if (!jsonOutput) {
426
+ process.stderr.write(`launch: recovering (${recoveryCode}) with the ${recoveryTier} tier
427
+ `);
428
+ }
425
429
  attempt = await executeComposition(
426
430
  adapter,
427
431
  mobileTarget,
@@ -469,7 +473,7 @@ function ambiguousConfiguredIosSimulator(output) {
469
473
  return /open-device: iOS simulator target ("[^"]+") is ambiguous/u.exec(output)?.[1];
470
474
  }
471
475
  function mobileBridgeTargetMissing(output) {
472
- return /no bridge target matched/iu.test(output);
476
+ return /no bridge target matched|wait-for-bridge: readiness deadline expired/iu.test(output);
473
477
  }
474
478
  function mobileProvisionCommand(target, mobileTarget) {
475
479
  const platform = mobileTarget === "android" ? "android" : "ios";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeeed/metamask-harness",
3
- "version": "0.51.4",
3
+ "version": "0.51.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mm-harness": "bin/mm-harness"