Commit Graph
832 Commits
Author SHA1 Message Date
Neil 82a461c66e Fix OpenCode TUI scroll regression
Revert the May 23 terminal perf restore path and cap retained newline-free TUI redraw output while keeping completed-line terminal read pagination.
2026-05-23 17:16:35 -07:00
Neil f72de14dbb Revert terminal perf rollback for OpenCode TUIs (#2718)
* Revert "Finish terminal perf rollback for OpenCode TUIs (#2716)"

This reverts commit 51618f1e92.

* fix: repair terminal perf restore regressions
2026-05-23 15:41:24 -07:00
Brennan BensonandOrca b9c55bb071 Add onboarding tour retention telemetry (#2713)
Co-authored-by: Orca <help@stably.ai>
2026-05-23 14:15:11 -07:00
Neil 51618f1e92 Finish terminal perf rollback for OpenCode TUIs (#2716)
* revert: terminal mounted worktree slicing

* fix: restore non-terminal rollback scope
2026-05-23 14:10:15 -07:00
Neil 14fa257394 Revert terminal hidden-output perf series (#2715)
Reverts the hidden terminal pressure changes from #2661 to restore the prior terminal rendering path while the fullscreen TUI regression is handled separately.
2026-05-23 13:53:11 -07:00
Neil 1ea9aeb362 fix: harden perf cleanup edge cases (#2712) 2026-05-23 13:38:05 -07:00
Neil f286702c62 fix: hold pty batches during reveal snapshots (#2707) 2026-05-23 13:19:38 -07:00
Jinjing 3f6940a746 fix: address review findings (#2703) 2026-05-23 13:11:08 -07:00
Jinjing ace241c43f feat: allow hiding workspace card metadata (#2701) 2026-05-23 13:02:50 -07:00
Neil 21b30bc513 fix: avoid stale headless reveal snapshots (#2702) 2026-05-23 13:02:30 -07:00
Jinjing c93dd901a3 fix: address review findings (#2695) 2026-05-23 12:33:49 -07:00
Brennan BensonandOrca 669ade2313 Update onboarding feature wall experience (#2652)
Co-authored-by: Orca <help@stably.ai>
2026-05-23 12:21:13 -07:00
Neil 8831019937 fix: avoid duplicate reveal hydration output (#2693) 2026-05-23 12:16:54 -07:00
Neil 3adad22eca perf: hydrate hidden terminal output on reveal (#2682)
* perf: hydrate hidden terminal output on reveal

* test: fix hidden terminal hydration typecheck
2026-05-23 02:07:26 -07:00
Jinjing ffec74c7ba Fix SSH agent and identity file auth ordering (#2681)
* fix: address review findings

* fix: address CI failures
2026-05-23 01:56:15 -07:00
Jinwoo HongandOrca 007b7cc283 Fix Claude permission status across subagents (#2674)
Co-authored-by: Orca <help@stably.ai>
2026-05-23 04:28:45 -04:00
Jinjing a50a97670f Refine settings panel layout and controls (#2676) 2026-05-23 01:16:46 -07:00
Jinjing 102cc09622 Improve worktree import handling (#2677)
* feat: improve worktree import handling

* chore: remove PR docs assets

* rm html
2026-05-23 01:13:33 -07:00
Phil Denhoff 2dcaa78960 Support OpenSSH Include expansion for SSH config imports
Closes #2647
2026-05-23 00:27:20 -07:00
Neil 58accdf8a8 Revamp onboarding notification setup (#2670) 2026-05-22 23:47:31 -07:00
Jinjing de96ac5678 fix: address review findings (#2667) 2026-05-22 23:42:40 -07:00
Neil 79b18f6fed Fix Orca Mobile layout and sidebar controls (#2663)
* Fix Orca Mobile layout and sidebar controls

* Use brand icons for mobile platform badges

* Add readable card for mobile pairing steps

* Align mobile flow primary actions

* Fix mobile sidebar toggle defaults
2026-05-22 23:32:17 -07:00
Jinjing 7def1c7f00 fix: run SSH archive hook before worktree removal (#2665) 2026-05-22 23:02:39 -07:00
Jinjing 002cab9d82 fix: address review findings (#2664) 2026-05-22 22:49:31 -07:00
Brennan BensonandOrca 8ad76f7b37 Stop auto-populating create PR fields (#2660)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 22:48:30 -07:00
Brennan BensonandOrca e8837275fe Default workspace list to repo grouping (#2657)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 20:14:45 -07:00
Neil 43439f5a5a Fix Antigravity Windows hook quoting (#2645) 2026-05-22 16:17:01 -07:00
Jinwoo HongandOrca 1ee2adae70 Add web GitLab runtime parity (#2614)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 15:25:45 -07:00
Brennan BensonandOrca c825467a4f Make worktree force delete idempotent (#2642)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 14:35:39 -07:00
Brennan BensonandOrca 845622b1ef Detect installed agent skills in settings (#2613)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 13:37:05 -07:00
Brennan BensonandOrca 0d78e807dd fix: support SSH hosted review PR creation (#2628)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 13:27:06 -07:00
3b74b8b1d7 Allow removing an unreachable SSH target (#2640)
* Allow removing an unreachable SSH target

handleRemove tried to reconnect-then-terminate before deleting the
target. When the remote host is dead, the reconnect handshake times
out and the user is stuck with a stale entry. Reroute removal through
a best-effort cleanup helper so the local entry can always be deleted.

Fixes #2626

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* review: harden SSH target removal tests

- cover removeTarget when disconnect fails in main IPC
- cover retry termination failure after reconnect in renderer removal helper
- verified unreachable-target removal in Electron with IPC and Settings UI signals

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

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-22 16:23:39 -04:00
Jinwoo HongandOrca 2695c6b336 Fix advertised URL settle races (#2639)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 15:34:36 -04:00
Jinwoo HongandOrca 02a0aad987 Refresh ports when advertised URLs change (#2638)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 12:17:21 -07:00
Brennan BensonandOrca 9cb9a9d5e3 Respect GitHub username branch prefix (#2599)
Co-authored-by: Orca <help@stably.ai>
2026-05-22 02:20:32 -07:00
Pablo Lozano 395e98f015 fix(gitlab): restore cwd fallback in listMergeRequests
Restore the glab mr list cwd fallback when listMergeRequests cannot resolve a project ref locally. Preserve the existing error envelope behavior and guard SSH-backed repos from running cwd-less fallback commands that could resolve an unrelated local project.
2026-05-22 01:28:16 -07:00
Neil 8c6d0c3239 Fix unified workspace options regression (#2619) 2026-05-22 01:12:58 -07:00
5ca6828371 feat: surface dev-server URLs in the ports panel (#2534)
* Surface dev-server URLs in workspace ports panel

Why: the OS scanner only sees `127.0.0.1:3001`, so clicking a Vite
port in the panel opens the wrong host/protocol when the dev server
binds with a custom hostname or HTTPS (e.g. `https://local.getmontecarlo.com:3001/`).
We now watch PTY output for advertised origins and prefer them at
display, copy, and open time. Falls back to the OS-derived address.

The watcher taps the central `runtime.onPtyData` path so it sees local,
daemon-backed, and SSH PTYs uniformly. URL candidates are validated with
`new URL()`, sanitized to origin only (no path/query/fragment/userinfo),
and gated by listener-PID validation so stale entries get evicted when
a different process reuses the port.

SSH `DetectedPort` enrichment is out of scope here — that panel uses
separate data shapes and port-forwarding may rewrite the local port,
making naive URL reuse incorrect. Tracked as a follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Extend advertised-URL enrichment to SSH ports

Why: the first cut only enriched the local workspace ports panel. SSH
worktrees use a separate panel with `DetectedPort` and `PortForwardEntry`
shapes scanned by the remote relay, so the same dev-server banners that
flow through Orca's SSH PTYs were captured by the watcher but never
surfaced.

The renderer-side SSH scanner doesn't know which worktreeId the watcher
keyed an entry under, so a small helper walks the store to find every
worktree attached to a given connection and asks the watcher for the
best match per port (custom DNS host > loopback > LAN IP, https and
recency as tie-breakers). Enrichment runs at every broadcast and list
site in src/main/ipc/ssh.ts.

For a forwarded SSH port, the open action now uses
`advertisedProtocol://customHost:localPort`. We deliberately reuse the
local forward port — the remote port number is not reachable from the
local machine — and we only reuse the host when it's a custom DNS name
(IP literals and the remote's `localhost` get ignored, falling back to
127.0.0.1 like before). Loopback advertisements from the remote box are
a no-op because they don't translate to the local browser.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Address Codex review of advertised-URL enrichment

Four findings from the post-implementation review:

- Watcher rejects wildcard advertised hosts (`0.0.0.0`, `::`, `*`). The
  OS scanner already normalizes wildcards to localhost for the connect
  host; if a dev server prints `http://0.0.0.0:3000/` verbatim we keep
  that sensible default instead of letting the watcher overwrite it
  with a host the browser can't open.

- Pre-bind pending buffer is now capped at 32 distinct PTY IDs with
  LRU eviction. Spawn-failure paths could otherwise leave never-bound
  entries forever — per-PTY 16 KiB bound was the only guard.

- `clearProviderPtyState` now calls `advertisedUrlWatcher.unbindPty`.
  SSH reattach failures, `clearPtyOwnershipForConnection`, and daemon
  spawn-failure cleanup bypass `runtime.onPtyExit`; routing through the
  central provider teardown plugs those holes (and is idempotent with
  the existing `onPtyExit` hook for natural exits).

- `lookupBest` accepts an optional current listener PID and runs the
  same pin-then-evict logic as `lookup`. `enrichSshDetectedPorts`
  threads `DetectedPort.pid` through so a stale advertised URL gets
  evicted on remote port reuse. Forward enrichment stays best-effort
  (forwards are persisted config, not observed listeners — detected
  enrichment is the eviction path).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix: refresh SSH ports when advertised URLs change

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

* fix: show advertised URLs in port rows

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

* fix: address advertised URL review issues

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

* fix: tighten advertised URL cache handling

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

* fix: align advertised URL edge cases

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

* fix: handle advertised URL cache invalidation

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

* fix: show status port action tooltips

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

* fix: keep port action tooltips above popover

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

* fix: clear port action focus after click

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

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-22 03:52:51 -04:00
Jinjing 41a2d7ba90 Target source-control actions to publish branches (#2612) 2026-05-22 00:35:30 -07:00
AIEPhoenix bd6139878c fix(daemon): strip Electron node flag from PTYs
Strip ELECTRON_RUN_AS_NODE from daemon-spawned PTY environments so user shells do not inherit Electron's internal Node-mode flag. Adds regression coverage for the daemon PTY env boundary.

Fixes #2414.
2026-05-22 00:12:54 -07:00
Maciej Kobuszewski 4c9a2ed28d fix(linux): resolve symlink and probe orca-ide in CLI wrapper
Fixes #2539
2026-05-22 00:04:22 -07:00
Neil 81fcfea965 Add terminal shortcut routing policy (#2610) 2026-05-21 23:57:53 -07:00
Neil c1dcdb41e1 perf: share synthetic title spinner timer (#2596) 2026-05-21 21:52:26 -07:00
Neil cef5570188 perf: flush daemon stream data per session (#2595) 2026-05-21 21:40:37 -07:00
Neil 8aa4d3df19 perf: checkpoint daemon PTYs only when dirty (#2593) 2026-05-21 21:27:53 -07:00
Jinwoo HongandOrca b1973657ea Add mobile Tasks parity (#2452)
Co-authored-by: Orca <help@stably.ai>
2026-05-21 20:26:07 -07:00
Neil 6408e49dbd Add customizable keyboard shortcuts (#2581)
* Add customizable keyboard shortcuts

- Add customizable keybindings
- Fix keybinding customization bypasses

* Keep shortcut UI labels dynamic

* Fix keybinding review gaps

* Improve shortcut recording UX

* Include settings section metadata in search

* Polish shortcut settings editor

* Tighten shortcut settings rows

* Clarify keybindings file card

* Clear settings search on section select

* Remove keybindings file helper copy
2026-05-21 19:10:16 -07:00
Neil 19bfc56cc3 Revert "Reduce renderer and terminal performance churn" (#2579) 2026-05-21 18:22:25 -07:00
Neil ded5fda98d Reduce renderer and terminal performance churn (#2572) 2026-05-21 18:20:00 -07:00
Jinjing e9d5bf2a05 fix: address review findings (#2576) 2026-05-21 17:57:23 -07:00