mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 08:37:49 +00:00
Under pnpm 12 the patch authority for the mobile workspace is pnpm-workspace.yaml, not package.json, so the patchedDependencies block added to mobile/package.json was inert: the three new patches never applied and the lock carried no hash for them. The versions they named were stale too, since pnpm resolves @expo/dom-webview to 55.0.6, @expo/log-box to 55.0.13, and react-native-webview to 13.16.2. Drop the dead pnpm block, declare the patches in pnpm-workspace.yaml against the installed versions, and re-resolve each patch against the real sources. The react-native-webview Android hunks fold into the existing 13.16.2 patch, since pnpm allows one patch per package version. Every hunk keeps its original intent: setWebContentsDebuggingEnabled is gated on ApplicationInfo.FLAG_DEBUGGABLE. The CDP session test read these patches by version-stamped filename, which would break again on the next bump. Resolve them through pnpm-workspace.yaml instead, so the test also fails when a patch is declared nowhere. Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb