Skip to content

Improve mobile terminal streaming performance - #1700

Merged
Jinwoo-H merged 27 commits into
mainfrom
Jinwoo-H/mobile-improvements-5
May 12, 2026
Merged

Jinwoo-H merged 27 commits into
mainfrom
Jinwoo-H/mobile-improvements-5

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • move mobile terminal output and snapshots onto encrypted binary stream frames with chunking and byte-budgeted scrollback
  • preserve terminal content across reconnects and keyboard lifts without resizing the PTY for keyboard changes
  • require the new binary terminal stream capability and bump mobile/desktop protocol compatibility markers

Verification

  • pnpm typecheck:node
  • pnpm --dir mobile exec tsc --noEmit
  • pnpm vitest run src/shared/terminal-stream-protocol.test.ts src/main/runtime/rpc/e2ee-crypto.test.ts src/main/runtime/rpc/e2ee-channel.test.ts src/main/runtime/rpc/e2ee-integration.test.ts src/main/runtime/rpc/ws-transport.test.ts src/shared/protocol-compat.test.ts src/main/runtime/mobile-subscribe-integration.test.ts src/main/runtime/mobile-presence-lock.test.ts
  • targeted oxlint/oxfmt checks

Notes

  • confirmed staged/reviewed implementation diff contains no references to paseo, ref-oss, or other reference project names
  • design/context docs are ignored and were not included

Made with Orca 🐋

@Jinwoo-H
Jinwoo-H force-pushed the Jinwoo-H/mobile-improvements-5 branch 4 times, most recently from 7798790 to d9c22b5 Compare May 12, 2026 00:46
Jinwoo-H and others added 26 commits May 12, 2026 17:25
@Jinwoo-H
Jinwoo-H force-pushed the Jinwoo-H/mobile-improvements-5 branch from 85dfb8e to 1ad6d0e Compare May 12, 2026 21:30
@Jinwoo-H
Jinwoo-H merged commit 7944293 into main May 12, 2026
8 checks passed
Jinwoo-H pushed a commit that referenced this pull request May 13, 2026
Clear initializedHandlesRef on reconnect so the auto-resubscribed scrollback frame re-inits xterm instead of being dropped by the has(handle) guard.

Co-authored-by: orca-bug-scan-bot <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Improve mobile terminal streaming performance

Co-authored-by: Orca <[email protected]>

* Add mobile clear terminal action

Co-authored-by: Orca <[email protected]>

* Fix terminal connection test mock

Co-authored-by: Orca <[email protected]>

* WIP: mobile markdown tabs before rebase

Co-authored-by: Orca <[email protected]>

* Add mobile markdown editing

Co-authored-by: Orca <[email protected]>

* Harden mobile tab and markdown sync

Co-authored-by: Orca <[email protected]>

* Fix mobile terminal reconnect loading race

Co-authored-by: Orca <[email protected]>

* Polish mobile terminal keyboard behavior

Co-authored-by: Orca <[email protected]>

* Simplify mobile markdown editor chrome

Co-authored-by: Orca <[email protected]>

* Move mobile markdown actions to top

Co-authored-by: Orca <[email protected]>

* Use app modals for markdown discard

Co-authored-by: Orca <[email protected]>

* Dismiss keyboard before markdown confirmations

Co-authored-by: Orca <[email protected]>

* Add mobile file explorer

Co-authored-by: Orca <[email protected]>

* Fix mobile file explorer type narrowing

Co-authored-by: Orca <[email protected]>

* Fix mobile files navigation param

Co-authored-by: Orca <[email protected]>

* Show mobile files connection wait state

Co-authored-by: Orca <[email protected]>

* Preview text files on mobile

Co-authored-by: Orca <[email protected]>

* Simplify mobile file previews

Co-authored-by: Orca <[email protected]>

* Clarify unavailable mobile file types

Co-authored-by: Orca <[email protected]>

* Fix mobile subscription and preview review issues

Co-authored-by: Orca <[email protected]>

* Keep fallback terminals visible on mobile

Co-authored-by: Orca <[email protected]>

* Keep mobile terminal tap active

Co-authored-by: Orca <[email protected]>

* Preserve mobile terminal fallback order

Co-authored-by: Orca <[email protected]>

* Fix mobile session tab authority

Co-authored-by: Orca <[email protected]>

* Run mobile tests in mobile CI lane

Co-authored-by: Orca <[email protected]>

* Bump mobile app version to 0.0.7

Co-authored-by: Orca <[email protected]>

* Allow main window IPC wiring size

Co-authored-by: Orca <[email protected]>

---------

Co-authored-by: Orca <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Clear initializedHandlesRef on reconnect so the auto-resubscribed scrollback frame re-inits xterm instead of being dropped by the has(handle) guard.

Co-authored-by: orca-bug-scan-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant