mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 19:34:29 +00:00
feat/computer-launch-app
13
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c2deee70df | refactor(mobile): organize platform adapters by capability (#42030) | ||
|
|
7d9290ee8d |
fix(native-chat): keep Send's round size while Cmd/Ctrl previews steer (#40820)
Holding Cmd/Ctrl swapped the round Send/Stop button for a wide labeled pill, pushing the model picker, context ring and mic left. The preview now keeps Send's round button and only swaps its icon (CornerDownRight for steer, ListEnd for queue); the label stays as the aria-label. With Steer queued, the head queued card's Steer button also fills as the primary. The phone composer had the same pill and now follows the same rule. |
||
|
|
5d61e00c6d |
build(mobile): upgrade to Expo SDK 58 and React Native 0.88 (#37935)
* build(mobile): upgrade to Expo SDK 58 and React Native 0.88 Expo 58 drops Zod from @expo/cli, which clears the last Zod 3 advisory (GHSA-mrhx-c7xc-m3w5) in mobile along with its local patch and override. - Expo 55 -> 58, React Native 0.83 -> 0.88, React 19.3, gesture-handler 3, webview 14, reanimated 4.7, worklets 0.13 (SDK 58 bundled versions, pinned below today's batch to respect minimumReleaseAge). - Port the react-native and react-native-webview patches unchanged; drop expo-constants, expo-notifications, @expo/cli, expo-router, zod and query-string patches plus the zod/query-string/xcode>uuid overrides, which upstream fixed or no longer need. - iOS minimum rises to 16.4 (Expo 58 / RN 0.88 requirement). - Migrate to RN 0.88 strict types: instance ref types, NamedStyles, AppState.currentState, list header/footer nulls. - Replace removed runtime APIs: InteractionManager -> idle callback with a macrotask fallback; StyleSheet.absoluteFillObject -> absoluteFill; FileHandle.readBytes -> readBytesSync (it became async). - Resolve react-native/asset-registry for shared assets in Metro and alias the old registry path for react-native-svg in the desktop mobile-web bundle. - Reduce the iOS scene plugin to the reconnect override; Expo 58's template now ships the scene delegate itself. * fix(mobile): bridge react-native-svg web imports and libsodium runtime for RN 0.88 - Share react-native-svg web shims between the mobile-web build and its render checks: map the old asset-registry path to react-native-web's registry and stub the Android-only touch-sound TurboModule. - Patch react-native-libsodium 1.7.0 to read the JSI runtime from the bridge proxy; RN 0.88 removed RCTCxxBridge.runtime. * fix(mobile): use Expo 58's legacy promise resolver for audio permissions * fix(mobile): skip null handles in the RPC recording timer shims for RN 0.88 types * style(mobile): format MobilePRSidebar after rebase * fix(mobile): name RN 0.88 text input refs for declarations; allow queued back in stack render check - Type text input refs with an exported interface so declaration emit can name hook results (RN 0.88 aliases TextInputInstance to an unexported class). - Expo Router 58 drains back() after a commit; check the interrupted push's exit from the frame it starts, bounded to three frames of lag. * chore(mobile): justify the text input handle interface for React Doctor * chore(mobile): use a nameable intersection alias for text input refs * fix(mobile): use sync expo-file-system writes, copies and moves on Expo 58 Expo 58 made File.write/copy/move and FileHandle.writeBytes return promises. Our callers never awaited them, so failures escaped their try/catch and the store's tmp-then-move and PDF writes could race their close or rename. * build(mobile): raise the page bundle budget to 10 MiB for Expo 58 Expo 58 adds about 310 KB to the page: expo-router (+258 KB, now carrying React Navigation, net about +110 KB) and Reanimated 4.7 (+152 KB). Main had 85 KB of headroom left. 10 MiB still stays within the 10 MiB per-asset contract. * fix(mobile): drop the window-metrics seed RN 0.88 removed from Android RN 0.88 no longer holds window metrics: DeviceInfoModule reads the activity's WindowMetrics on demand and setWindowDisplayMetrics is gone, so MainActivity no longer compiled. Layout scale still comes from the screen metrics we reseed. --------- Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com> |
||
|
|
c6f07596ad |
Phone chat: empty Cmd/Ctrl+Enter steers the first queued message, and holding Cmd/Ctrl shows what it will do (#39215)
* fix(mobile): Cmd/Ctrl+Enter on an empty chat composer steers the first queued message Matches desktop (#38732) in the paired web page: with nothing typed, the chord steers the head waiting card through that card's own Steer, only where its other way is steer. * fix(mobile): empty Cmd/Ctrl+Enter sends the first queued card after a Stop, as desktop does Desktop's rule (#38877) also sends the head card when no turn runs, and goal mode keeps the empty chord inert. The queue list's handle now runs the head card's own Send when idle, and steers mid-turn only where the chord's other way is steer. * test(mobile): type the queued-card handle refusal cases * feat(mobile): holding Cmd/Ctrl in the phone chat composer shows what Cmd/Ctrl+Enter will do, as desktop does Desktop's held-modifier preview moves into src/shared so the phone web composer runs the same rule: Send becomes Queue, Steer or Steer queued and the head queued card lights while the chord's modifier is held alone on a hardware keyboard. The queue's empty-chord rule is one function the preview and the press both read. * fix(mobile): build the held-chord preview with the phone's own React, and offer only presses that act The shared hook now takes its React hooks from the caller, as the shared attachment preview does: the phone bundle resolves a different React copy than the repo root, so importing react from src/shared broke every phone web composer (Invalid hook call). The preview also matches what a press does: one pill press per hold (a double-click can't send a card after the draft went), a picked /plan-style skill counts as a message, a head card whose own action is on its way shows no Steer queued, and the lit state lives in the tray so a chat switch keeps it. * fix(mobile): held-chord pill takes one click like desktop, keeps busy state per chat, lights only the head row - The pill ignores a click whose detail is above 1, as desktop does, so a deliberate later click in the same hold still acts. - In-flight card ids are kept per chat with functional updates, so a chat settling after a switch can't clear the current chat's record. - The lit state is a small store only the head row subscribes to, so a hold re-renders one row, not the whole queue. - The desktop preview test moves back beside the desktop wrapper it drives. * refactor(mobile): one owner for queued-card actions, read by both the list and the held-chord cue The queue list owned its in-flight guard per mount and the tray mirrored it for the composer's Steer queued cue; each mirror leaked (cross-chat and same-chat remount overwrites, an all-chats copy per change). As desktop's queued-messages controller does, the tray now owns one action store: pending keys per chat, admitted synchronously, released per action, published by copying only the changed chat. The list takes those actions as a prop (it keeps its own only when mounted alone), and the empty chord presses the head through the same run, so the cue and the press can't disagree. The list's imperative handle goes away. Also replaces a type assertion on the pill's click detail with an in guard. * test(native-chat): desktop chord-preview wrapper re-exports the hold delay its test reads |
||
|
|
274b99919f |
Keep the phone's chat Send button the same as desktop while the agent works (#38317)
* fix(mobile): the chat Send button keeps desktop's arrow while the agent works #36588 swapped the phone's send icon and label for Queue or Steer while a turn ran; desktop keeps the plain Send arrow and offers the other way through Cmd/Ctrl+Enter. The phone now matches, with hold as its alternate. * test(mobile): the send button keeps its arrow while the agent works |
||
|
|
8a4dd3a7bb |
feat(mobile): improve mobile terminal input (#37900)
* feat(mobile): bring back the terminal key row and one live input Every terminal tab, shell or agent, gets the dock from before #36166: the scrolling key row (desktop width, Paste, the built-in keys, custom keys, add) above one live field that types straight into the terminal, with the attach and mic buttons beside it. The field keeps today's 3:1 outline and focus ring, and the keys use today's chips and press styles. The Keys/Message toggle, the Message composer, the arrow pad, the ⋯ sheet on the row and the per-terminal mode preference go. A stored mode from an older build is never read. Sticky ctrl/alt/shift and the More keys sheet stay only behind the iPhone Duo rail, which shipped shells still draw; the page reports no composer, so shipped shells grey their input-mode key and newer shells hide it. * refactor(mobile): delete the buffered terminal line With one live input there is no way to write a terminal line first and send it, so the per-terminal drafts and their storage, the Send path, command-field dictation, draft restoration and the terminal setting for autocomplete and autocorrect (which only applied to that line) go. Dictation in a terminal always types into it live. Drafts and the setting saved by older builds are never read. |
||
|
|
03abca65dc | feat(mobile): outline every text field at 3:1 with a focus ring, and drop the composer shadow (#37221) | ||
|
|
ebe94bc32e |
feat(mobile): rebuild the PR tab around what is blocking the merge (#36999)
The PR tab now leads with the PR's identity, one row per merge gate (checks, unresolved threads, approvals, conflicts) that opens the screen or sheet that resolves it, a changes card and a collapsed description. Close, Unlink, Auto-merge, Edit title and Copy link move into the ⋯ menu. Checks and Comments become pushed screens: failures open with their annotation and Fix / Rerun / Open / Log on the failure, running checks next, passed folded; comments filter by Unresolved / All / Hide bots with Resolve and Reply on each thread and a comment box at the bottom. Merge opens a sheet that lists only the methods the repo allows, starting on its default. Reviewers move into a sheet with search to add and remove. Every Create PR entry point opens one sheet: title and description seeded from the branch's commits (shared seed rule in src/shared, GitHub's own default), Write with AI, base picker and draft. It pushes first when needed, works for all five providers and lands on the PR tab for GitHub. |
||
|
|
d6f54f3561 |
fix(mobile): size the queued-message panel to its rows and fit translated Save/Cancel (#36928)
The queue card's invisible full-text line-count probe overflowed its two-line row and stretched the queue's scroll range far past the real rows. Clip it to the card text. The queued-message editor drew Save and Cancel labels inside 38pt round icon controls, so translated labels spilled over each other. They are now pills that hug their label and truncate only when the row runs out of room. |
||
|
|
563ada1343 |
feat(mobile): polish press feedback, sheet motion, states, spacing and layout jumps (#36713)
* feat(mobile): polish press feedback, sheet motion, states, spacing and layout jumps Every control presses and disables the same way, with one haptic rule. Sheets follow the finger and settle without bounce, pickers stack instead of swapping, and screens slide over a dimmed, shifted parent. Loading, empty, error and offline states share one view with plain-language errors, rows and labels line up on one grid, and screens stop jumping as data arrives. * fix(mobile): settle voice, tasks and accounts states; keep host snapshot current Voice settings with no paired desktop shows the connect state instead of loading forever. A failed task settings read after a successful probe retries hydration. The shared host-list snapshot drops on invalidation and ignores stale passes. Accounts shows a re-pair state on auth failure, and busy action-sheet rows keep their disabled state for screen readers. |
||
|
|
0d94c0ba8f |
Native chat: queue messages sent while the agent works (on by default, Settings toggle, Cmd/Ctrl+Enter to send one now) (#36588)
* Advertise mid-turn queueing as queued-messages.v2 Released clients read the v1 name with an unfinished queue UI; they never see v2 and keep sending immediately. (cherry picked from commit |
||
|
|
a079f51991 |
feat(mobile): unify corner radii across the app (#36437)
* feat(mobile): give every corner one of three shapes Corners had drifted to 17 different radii, so a screen mixed 6 pt buttons, 14 pt cards, 12 pt groups and 4 pt badges. Every corner now comes from the shape of what it is: - control (12): anything you tap — buttons, icon buttons, fields, pickers, segmented controls, key caps. - surface (16): anything that holds content — cards, groups, sheets, banners, code boxes. Dialogs and the composer box use floating (24). - pill: badges, chips, status pills, dots, avatars and the composer's own round buttons. - tile (10) for icon squares and mark (4) for inline code and check squares; nested shapes take the parent's radius minus the gap. Every rounded style also asks for the continuous (squircle) corner curve; iOS draws it, Android and the web ignore it. * fix(mobile): keep circles and pills on the circular corner curve The continuous curve squares off a corner radius that reaches half the element's size, so the FAB, dots, avatars and the composer's round buttons stopped being round on iOS. * fix(mobile): put the anchored detail card on the surface radius * fix(mobile): keep the circular curve on unclipped bordered styles React Native strokes an unclipped visible border on a circular path while it fills the background with the continuous curve, so the two edges drifted apart at the corners. |
||
|
|
9b4c899dc8 |
feat(mobile): match every text input to the chat composer and rebuild the terminal dock (#36166)
* feat(mobile): give every text input the chat composer's look Adds shared MessageBox, TextField and ComposerSendButton built from the composer's own styles, and moves chat, form, search, Tasks, PR, review and commit inputs onto them. The commit message becomes multi-line, every input is 16pt (no page zoom on focus), and focus rings are gone. The terminal and browser typing docks are unchanged. * feat(mobile): rebuild the terminal dock around Keys and Message modes Agent tabs open in Message mode, where you write in the chat composer and Send types it into the terminal. Shell tabs open in Keys mode, where each letter goes straight to the terminal through the live field. A pick made on an agent tab lasts until the agent quits. The shell/agent rule is the one keyboard dismissal already used, now shared. The key row carries sticky ctrl, alt and shift (tap for the next key, double tap to lock) and one arrow pad (tap a side, or hold and drag to repeat through the existing held-key repeat). Paste, attachments, the display width, the remaining keys and custom keys move to a ⋯ sheet. Return in the composer adds a line; Send sends. * fix(mobile): read arrow-pad taps from the pad and keep every key reachable from ⋯ A touch on a chevron made the icon the touch target, so the side was measured against the icon's box and most taps read as left. The ⋯ sheet now leaves out only the keys the current row shows, so agent tabs get Tab and shell tabs get Shift+Tab and Enter back. * fix(mobile): keep the last changed files clear of a growing commit box The file list's bottom inset was a fixed 196 pt, so a commit message several lines long hid the last rows behind the commit bar. The inset now follows the bar's measured height. * test(mobile): give the file list test its bottom inset |