Commit Graph

64 Commits

Author SHA1 Message Date
Neil 0cfb3d3962 Move mobile session ref mirrors out of effects 2026-05-31 05:06:11 -07:00
Neil 1bb7073f23
fix: clean mobile session delayed timers (#4075) 2026-05-31 03:26:26 -07:00
Neil 7fa23737ad
perf: stream mobile PR diff previews (#4071)
Stream capped mobile PR file diff previews while preserving exact total row counts.
2026-05-31 03:21:57 -07:00
Neil 8acb47cede Derive mobile session create warning before paint 2026-05-31 03:11:53 -07:00
Neil 5c37ddfca8
perf: clean mobile diagnostic fetch timeout (#4063) 2026-05-31 03:02:14 -07:00
Neil 2067bebf50
perf: clean up mobile pairing attempts (#4058) 2026-05-31 02:58:24 -07:00
Neil 8757e6c724
perf: avoid duplicate mobile terminal setting updates (#4056) 2026-05-31 02:52:41 -07:00
Neil 11fa033170
perf: memoize mobile tasks derived data (#4054) 2026-05-31 02:46:31 -07:00
Neil fcd267a309
perf: clean mobile live input focus timer (#4050) 2026-05-31 02:36:49 -07:00
Neil a83afd5a11
perf: guard mobile session toast timers (#4048) 2026-05-31 02:30:19 -07:00
Neil 549ab29489
perf: clean mobile task copy feedback timers (#4047) 2026-05-31 02:27:58 -07:00
Neil 3fda981dc7
perf: pause mobile session fallback polling (#4045) 2026-05-31 02:24:03 -07:00
Neil 69ec6a9c92
perf: pause mobile host polling when hidden (#4043) 2026-05-31 02:19:24 -07:00
Neil f2fa3ee904
Resolve mobile pair-confirm route state before commit (#3240)
* Resolve pair confirm route state before commit

* Preserve pair confirm back handling

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-30 19:18:32 -07:00
Neil c082f21d2e
Resolve host new-worktree route action before commit (#3242) 2026-05-30 19:15:42 -07:00
Neil 67f74a29a8
Move mobile home client ref sync out of effect (#3247) 2026-05-30 19:15:24 -07:00
Neil 8d8dc9ae05
Resolve mobile task agent selection before commit (#3261) 2026-05-30 18:58:55 -07:00
Neil 7f770ae559
Add mobile review note actions (#3518)
* Add mobile review note actions

* fix: align mobile diff note gutter lines

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-30 13:43:33 -07:00
Neil fb462e1f77
Add mobile committed branch changes (#3498) 2026-05-30 14:33:30 -04:00
Jinwoo Hong fc10bc4cc0
Fix mobile terminal tap mouse reports
Co-authored-by: Orca <help@stably.ai>
2026-05-29 22:44:57 -04:00
Neil 016ee18fe7
Add mobile new-tab agent presets (#3334)
* feat: add mobile new-tab agent presets

* fix: harden mobile agent preset launch

Co-authored-by: Orca <help@stably.ai>

* fix: keep mobile worktree id parsing local

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-29 22:13:27 -04:00
Neil 2e185a7c4f
Move mobile tasks client ref sync out of effect (#3253)
* Move mobile tasks client ref sync out of effect

* Use layout effect for mobile tasks client ref

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-29 22:13:19 -04:00
Jason Weingardt 191183882a
feat: add iPad responsive layout support (#2433) 2026-05-29 20:10:47 -04:00
Jinwoo Hong 30a09f3bd9
Add mobile terminal shortcut bar customization (#3012)
Co-authored-by: Orca <help@stably.ai>
2026-05-29 16:39:52 -07:00
Neil 116a9f4d75
Remove mobile accounts dead client ref (#3244) 2026-05-29 10:13:12 -07:00
Jinjing bda658a364
Add agent enablement controls (#2972)
* Add agent enablement controls

Implements the Enable/Disable Agents Dashboard behavior described in docs/enable-disable-agents-dashboard.md, including persisted agent enablement state, filtered launch surfaces, and settings UI affordances.

* Clarify agent availability controls

* Respect disabled agents across workspace and AI defaults

- Filter disabled TUI agents from mobile and quick workspace selection
- Avoid implicitly choosing disabled agents for commit/PR AI settings
- Broadcast settings changes to open windows for disabled-agent updates

* rm design doc

* fix: complete agent enablement propagation
2026-05-28 17:29:49 -07:00
Jinwoo Hong 6df52607fc
Add live terminal input mode on mobile (#2982)
Co-authored-by: Orca <help@stably.ai>
2026-05-28 13:41:37 -07:00
Jinwoo Hong 3f8fad9e9e
Improve mobile terminal startup and scrolling (#2828)
Co-authored-by: Orca <help@stably.ai>
2026-05-27 00:59:14 -04:00
Jinwoo Hong 6f18d362cc
Improve mobile markdown editing (#2826)
Co-authored-by: Orca <help@stably.ai>
2026-05-26 00:07:53 -07:00
Brennan Benson e8837275fe
Default workspace list to repo grouping (#2657)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 20:14:45 -07:00
Jinwoo Hong cb8596af6e
Add mobile custom shortcut combos (#2387)
Co-authored-by: Orca <help@stably.ai>
2026-05-21 22:39:25 -07:00
Jinwoo Hong b1973657ea
Add mobile Tasks parity (#2452)
Co-authored-by: Orca <help@stably.ai>
2026-05-21 20:26:07 -07:00
Jason Weingardt 9355493bc3
feat(mobile): add Shift+Tab accessory key (#2322)
* feat(mobile): add Shift+Tab accessory key

* review: cover mobile terminal accessory keys

- move built-in terminal accessory keys into a testable module

- add Shift+Tab reverse-tab regression coverage

- pin built-in repeatability policy

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-19 15:10:04 -04:00
Jinwoo Hong 4b7c9b7213
Improve remote client runtime parity (#1975)
Co-authored-by: Orca <help@stably.ai>
2026-05-17 22:24:38 -07:00
Jinwoo Hong 2f7da8109e
Open mobile source control diffs in editor tabs (#2202)
Co-authored-by: Orca <help@stably.ai>
2026-05-17 20:24:46 -07:00
Jinwoo Hong afe90a616f
Add mobile source control actions (#2193)
Co-authored-by: Orca <help@stably.ai>
2026-05-17 19:35:55 -07:00
Jinjing 73d4a1781e
fix: combine buf0-bot validated bug fixes (#2086) 2026-05-16 11:34:13 -07:00
Jinwoo Hong 9217cf625d
Fix mobile TUI scroll gestures (#1940)
Co-authored-by: Orca <help@stably.ai>
2026-05-15 13:17:35 -07:00
Jinwoo Hong 9562d9776f
Fix mobile notification tap routing (#1871)
Co-authored-by: Orca <help@stably.ai>
2026-05-14 15:22:08 -07:00
Jinwoo Hong 151040f05f
Add desktop-backed mobile voice dictation (#1869)
Co-authored-by: Orca <help@stably.ai>
2026-05-14 14:36:44 -07:00
buf0-bot[bot] cd4aa06f85
fix: pr-bug-scan validated finding from #1700 (#1728)
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 <orca-bug-scan-bot@stably.ai>
2026-05-13 11:12:30 -07:00
Jinwoo Hong 7944293815
Improve mobile terminal streaming performance (#1700)
* Improve mobile terminal streaming performance

Co-authored-by: Orca <help@stably.ai>

* Add mobile clear terminal action

Co-authored-by: Orca <help@stably.ai>

* Fix terminal connection test mock

Co-authored-by: Orca <help@stably.ai>

* WIP: mobile markdown tabs before rebase

Co-authored-by: Orca <help@stably.ai>

* Add mobile markdown editing

Co-authored-by: Orca <help@stably.ai>

* Harden mobile tab and markdown sync

Co-authored-by: Orca <help@stably.ai>

* Fix mobile terminal reconnect loading race

Co-authored-by: Orca <help@stably.ai>

* Polish mobile terminal keyboard behavior

Co-authored-by: Orca <help@stably.ai>

* Simplify mobile markdown editor chrome

Co-authored-by: Orca <help@stably.ai>

* Move mobile markdown actions to top

Co-authored-by: Orca <help@stably.ai>

* Use app modals for markdown discard

Co-authored-by: Orca <help@stably.ai>

* Dismiss keyboard before markdown confirmations

Co-authored-by: Orca <help@stably.ai>

* Add mobile file explorer

Co-authored-by: Orca <help@stably.ai>

* Fix mobile file explorer type narrowing

Co-authored-by: Orca <help@stably.ai>

* Fix mobile files navigation param

Co-authored-by: Orca <help@stably.ai>

* Show mobile files connection wait state

Co-authored-by: Orca <help@stably.ai>

* Preview text files on mobile

Co-authored-by: Orca <help@stably.ai>

* Simplify mobile file previews

Co-authored-by: Orca <help@stably.ai>

* Clarify unavailable mobile file types

Co-authored-by: Orca <help@stably.ai>

* Fix mobile subscription and preview review issues

Co-authored-by: Orca <help@stably.ai>

* Keep fallback terminals visible on mobile

Co-authored-by: Orca <help@stably.ai>

* Keep mobile terminal tap active

Co-authored-by: Orca <help@stably.ai>

* Preserve mobile terminal fallback order

Co-authored-by: Orca <help@stably.ai>

* Fix mobile session tab authority

Co-authored-by: Orca <help@stably.ai>

* Run mobile tests in mobile CI lane

Co-authored-by: Orca <help@stably.ai>

* Bump mobile app version to 0.0.7

Co-authored-by: Orca <help@stably.ai>

* Allow main window IPC wiring size

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
2026-05-12 14:38:12 -07:00
Brennan Benson 2050fa87a0
feat(source-control): send all notes to agent in a new terminal tab (#1568)
Co-authored-by: Orca <help@stably.ai>
2026-05-08 13:52:08 -07:00
buf0-bot[bot] 32b88bcdc5
fix: pr-bug-scan findings from #1481 (#1566)
Split session screen's clearTerminalCache cleanup into a mount-only effect; included client identity in home-screen wireUp dep key via a WeakMap-derived clientKey so forceReconnect re-attaches subs.

Findings addressed:
- mobile/app/h/[hostId]/session/[worktreeId].tsx:436 — clearTerminalCache fires on every client identity change
- mobile/app/index.tsx — useEffect deps array uses inline expression — runs every render

Rebased onto current main.

Co-authored-by: orca-bot <bot@stably.ai>
2026-05-07 23:11:06 -07:00
buf0-bot[bot] 75ae6d9f6a
fix: pr-bug-scan findings from #1518 (#1575)
Added seq + ref guards after awaits in post-scrollback re-subscribe path; awaitReady's prior in-flight promise now resolves before re-arming so old waiters don't pin 3s timers.

Findings addressed:
- mobile/app/h/[hostId]/session/[worktreeId].tsx:280 — Post-scrollback re-subscribe path lacks a seq guard after awaits
- mobile/src/terminal/TerminalWebView.tsx:770 — awaitReady promise replaced without resolving the prior one

Rebased onto current main; conflict in worktreeId.tsx resolved by preserving main's existing 'why: scrollback null viewport' comment alongside the new seq-recheck comment.

Co-authored-by: orca-bot <bot@stably.ai>
2026-05-07 23:00:12 -07:00
buf0-bot[bot] 9cf605796a
fix: pr-bug-scan findings from #1532 (#1574)
Updated reconnect-backoff comments in rpc-client.ts and connection-health.ts to reflect the actual ~6m total (not ~2m). Made valueFromMs() snap non-preset ms to the closest finite preset so the picker's selected radio agrees with the row sublabel.

Rebased onto current main to resolve conflicts; only the 3 Fixer-summary files.

Co-authored-by: buf0-bot <buf0-bot@users.noreply.github.com>
2026-05-07 22:59:26 -07:00
Neil fc0a3f241f
fix(mobile): silence no-control-regex on bracketed-paste sanitizer (#1580)
The regex /\x1b\[20[01]~/g intentionally matches control characters —
that's the entire point of the sanitizer (stripping embedded \x1b[200~ /
\x1b[201~ markers from clipboard text). Suppress the lint warning with
the same convention used elsewhere in mobile/ (see scripts/repro-worktree-startup-stream.ts).

Comment-only change, zero runtime impact. Follows up #1576.

Co-authored-by: hermes <hermes@stably.ai>
2026-05-07 22:54:54 -07:00
buf0-bot[bot] 52cc6d5f97
fix: address pr-bug-scan findings from #1553 (#1576)
Strip embedded \x1b[200~/\x1b[201~ sequences from clipboard text before bracketed-paste wrap; route accessory-key repeat through a ref so held-key repeats use the current handleAccessoryKey.

Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
2026-05-07 22:48:27 -07:00
Jinwoo Hong cc14a0ade3
feat(mobile): terminal text selection, copy, and paste (#1553)
Co-authored-by: Orca <help@stably.ai>
2026-05-07 18:24:05 -07:00
Jinwoo Hong 49b250a0f3
Settings: rephrase phone-fit-hold copy to drop third-party brand name (#1554)
Co-authored-by: Orca <help@stably.ai>
2026-05-07 18:19:42 -07:00