Repository navigation
Conversation
Align React Native and native packages with Expo SDK 58, preserve input and WebView protections, and await asynchronous file operations. Keep the existing release-age policy and document the iOS 16.4 minimum. Window-controls scene attachment adapted from stablyai#32733. Co-authored-by: Lars Keggenhoff <[email protected]>
Apply the narrow bridge-proxy runtime fix from serenity-kit/react-native-libsodium#109. Preserve the existing C++ crypto implementation and synchronous installation path.
Use Expo public module APIs, preserve Android cleartext access through build-properties, and use legacyResolver at the microphone permission callback boundary.
Keep splash options in the supported plugin and share React Native Web numeric image IDs with SVG. Validate the actual bundled SVG resolver against the web registry.
Keeps the host sidebar left of the fold in book posture so the terminal never crosses the crease, and draws the terminal keys in the strip below the Duo's status column on session routes. (cherry picked from commit fdc23ff)
Replace the custom iOS geometry module with react-native-reserved-regions, translate provider coordinates into window points, and preserve the existing terminal refit and optional bridge grants.
7 of 9 tasks
This was referenced Oct 24, 2026
This branch has not been deployed
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.
ELI5
Keep the terminal on one side of a vertical fold in a book-like iPhone Duo posture, and put its extra keys in the usable space below the system's vertical status column. Layout changes use the same workspace and terminal instead of introducing another session.
What Changed
react-native-reserved-regions0.2.0, the library recommended in Expo's Duo guide. Replace the original custom iOS geometry module. Measure the provider's origin, translate its frames to window points, and remeasure when the status column switches sides without a window-size change.Why
The SDK provides scenes and geometry APIs, but it cannot decide where Orca's terminal, workspace sidebar or custom keys belong. This keeps those decisions in the app and reuses its current connection, keyboard and resize ownership. Layout follows active reserved regions rather than hinge angles or a device-model check.
Depends on #33155. Both PRs target main because the runtime branch is in the contributor fork. Until the prerequisite lands, GitHub's full diff includes it. The Duo-only comparison shows the feature separately. Rebase this branch after the runtime PR merges.
Linked Issue
Related to #22597. Keep that issue open until the runtime prerequisite, remaining posture design and acceptance checks below are completed. #32733 is the original implementation this adaptation builds on; this PR does not claim its author's device results as evidence for the new provider.
Visual Proof
Pending for this branch; this is a draft. The original design has screenshots in #32733, but this branch changes the runtime and geometry provider, so those screenshots are not acceptance evidence for these changes. No Duo simulator/runtime is installed on this workstation.
Testing
On macOS:
pnpm build:mobile-weband its packaged-bundle verifier passed: 16 routes, 144 assets, within the existing size budget.Still required before release: native Duo open/closed/book/tabletop poses, both directions of rotation and Split View; drafts, IME composition and pending questions; keyboard, repeat/paste, terminal dimensions and VoiceOver; ordinary iPhone/iPad, Android and web runtime regressions. No simulator launch, physical-device or release-archive acceptance is claimed.
AI Disclosure
Original feature authored by Lars Keggenhoff in #32733. Expo 58 integration, provider replacement and verification performed with OpenAI Codex (GPT-6).
Review
Review coordinate-space conversion, the sidebar's ownership on page-rendered routes, keyboard clipping and optional bridge behavior. The provider's first measurement is asynchronous; an initial empty result is not proof of unsupported hardware. Reverting the Duo commits restores the preceding layout while retaining the supported runtime; removing the native dependency also requires rebuilding the app.
Agent skill upstream boundary
Notes
Android retains its existing layout policy; older iOS reports no active reserved regions. Transport and execution-host ownership are unchanged: resizing does not create a terminal, launch an agent, resend input or approve a prompt. SSH and folder workspaces use the same existing input paths.
The custom split currently aligns the sidebar to vertical divisions. Horizontal/tabletop poses do not get a separate custom terminal arrangement in this patch; they remain part of the required native acceptance/design check before closing the full issue.
Checklist