Commit Graph
4881 Commits
Author SHA1 Message Date
Brennan BensonandOrca 36bdd06aa8 Prevent duplicate startup command echoes (#6023)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 18:51:44 -07:00
Brennan BensonandOrca 8228155e4d Improve preserved branch cleanup after squash merges (#6014)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 18:48:59 -07:00
OrcaWinandNeil 2ed4346c2d Coalesce renderer worktree change refreshes (#6020)
Co-authored-by: Neil <neil@stably.ai>
2026-06-21 18:41:12 -07:00
Brennan BensonandOrca 1b5c4738d2 Prevent duplicate agent resume tabs after wake (#5882)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 18:38:41 -07:00
Brennan BensonandOrca 8c2a34c39d Align folder workspace sidebar indentation (#6019)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 18:34:48 -07:00
Jinwoo Hong 551b370085 Fix WSL agent session history (#6010) 2026-06-21 17:23:42 -07:00
Trevin Chowandbrennanb2025 4afcc24819 Tighten sidebar card vertical padding for denser layout (#4762)
Reduce WorktreeCard top padding 6px→5px and bottom 8px→6px so more
cards fit on screen. Uses Tailwind v4 dynamic spacing (pt-1.25).

Co-authored-by: brennanb2025 <brennankbenson@gmail.com>
2026-06-21 17:03:09 -07:00
Brennan BensonandOrca fe8fe16c83 Preserve agent settings when sleeping sessions resume (#5916)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 16:44:58 -07:00
Brennan BensonandOrca a856c7d6b6 Rename Orca Linear agent skill (#5855)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 16:16:37 -07:00
Brennan BensonandOrca d517bb7250 Restore agent history after worktree renames (#6000)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 15:48:33 -07:00
Jinwoo HongandOrca 32e6ab7655 Fix mobile workspace list parity (#6001)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 15:11:55 -07:00
Jinwoo HongandOrca 56688d8e20 fix: stop hold dictation on shortcut release (#6003)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 14:51:05 -07:00
Jinwoo HongandOrca 67fe4bd780 Fix manual project ordering for identity headers (#5933)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 13:23:21 -07:00
Jinwoo HongandOrca c01c0462ae Refresh workspace PR badges after external PR creation (#5997)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 13:19:24 -07:00
Jinwoo HongandOrca 530f98d945 Improve Claude usage refresh fallback behavior (#5995)
* Match CodexBar Claude usage fallback behavior

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

* Remove external tracker references from Claude usage changes

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

* Allow CLI fallback when Claude Keychain is unavailable

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

* Stabilize updater prerelease promotion test

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

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-21 13:10:25 -07:00
Brennan BensonandOrca 2157a8ea5b Remove duplicate automation worktree badge (#5993)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 12:23:02 -07:00
Brennan BensonandOrca 10056fa21e Make worktree hovercards easier to read (#5871)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 12:13:14 -07:00
Brennan BensonandOrca 47b8bf7562 Keep compact agent rows steady for screenshot links (#5863)
Co-authored-by: Orca <help@stably.ai>
2026-06-21 12:05:20 -07:00
Jinjing 6a29f29adb Fix folder workspace file connection resolution (#5973) 2026-06-21 02:52:51 -07:00
Jinjing f75f52591f Resolve path-specific connection IDs in mixed folder workspaces (#5971)
Determine the correct SSH connection ID for a file by matching its path
against the child repositories inside a folder workspace. This allows
reading files in mixed local and SSH folder workspaces, where a single
global connection ID cannot be resolved.
2026-06-21 02:44:59 -07:00
Jinwoo HongandOrca 62f1394b44 fix: refit terminals after bulk mobile restore (#5962)
Co-authored-by: Orca <help@stably.ai>
2026-06-20 23:35:37 -07:00
Jinjing 7a04b1e26f Add unread badge overlay to status glyphs in new card style (#5953)
* Add overlay unread badge to status glyphs in new card style

Overlay an amber dot badge on status indicators, branch icons, and
review status glyphs when the new card style and unread state are active.
This avoids widening the status lane or relying on a separate bell icon,
keeping the design compact and preserving title row alignment.

* Remove duplicate shrink-0 class in WorktreeCard

The outer container already applies 'shrink-0', making the duplicate
class inside the conditional branch redundant.
2026-06-20 21:01:24 -07:00
Jinjing 954fa0a65e Prevent auto-reloading diff views when status area shifts (#5951)
* Avoid auto-reloading single-file diff tabs if their status row has
  moved to a different area (e.g. from unstaged to staged).
* Prevent auto-reloading combined uncommitted diffs when they are
  backed by an uncommitted entries snapshot.
* This preserves the open tab's original diff context as staging and
  commit status changes, preventing useful context from being lost.
2026-06-20 18:52:04 -07:00
Jinjing 308da355bc Unify pull request draft title resolution (#5943)
Extract title resolution into a dedicated helper to ensure both inline
and dialog pull request creation flows consistently fall back to
a normalized and humanized branch slug when no eligibility title is
available.

- Normalize remote refs before humanizing branch slugs
- Pre-populate dialog titles when eligibility title is missing
- Update E2E tests to expect pre-populated draft titles
2026-06-20 18:47:39 -07:00
Jinjing 26493072c1 Persist AI PR generation state across worktree switches (#5952)
Connect the ChecksPanel PR draft generation to the global generation
slice, aligning its behavior with SourceControl. This allows detail
generation to continue in the background when navigating away or
switching worktrees, and guarantees that generated fields, terminal seeds,
and branch-preparation push requirements are restored on remount.
2026-06-20 18:16:50 -07:00
Jinjing 89eb4b3f55 fix: show merged PR for current branch head (#5877) 2026-06-20 17:56:38 -07:00
Jinjing 14eb4091fd Move workspace options to the top of worktree context menu (#5948)
Move the "Update" and "Move to Status" options under a new "Workspace"
section header at the very top of the worktree context menu. This
improves usability and groups workspace-management actions together.
2026-06-20 17:51:03 -07:00
Jinjing 16347ab799 Handle clean local merges when hosting provider reports conflicts (#5942)
When the hosting provider (GitHub) reports conflicts but a local merge
simulation is clean, we now mark the conflict summary as locally clean.

This state is surfaced in both the desktop and mobile sidebars with a
clear explanation and a copyable set of commands to trigger a remote
mergeability recalculation via an empty commit and push.
2026-06-20 17:08:58 -07:00
Jinjing fe7cf01c51 Track update check attempts and handle stalls (#5904)
* Track update check attempts to prevent stale races and handle stalls

- Sequence each update check with an attempt ID to prevent stale event handlers (like async changelog fetches) from overwriting newer check states.
- Introduce a 45-second timeout to gracefully fail or retry hung update checks that stall before reaching updater events.
- Settle checks with a brief grace period when the updater promise resolves without firing a terminal event.

* Ignore update-available events when no active check attempt exists

Prevents processing stale events from the auto-updater after a silent
background check has already settled, which could otherwise overwrite
more recent check states or trigger unexpected status transitions.

* Ignore stale electron-updater events from previous check attempts

Introduce attempt tracking to bind emitted updater events to the active
update check. This prevents stale events (such as checking, available,
not available, or errors) from previous checks or preflight stages
from triggering false state transitions or duplicate status updates.

- Track the launched and active attempt IDs during update preflight
- Ignore events if their attempt ID does not match the active check
- Allow error events to propagate during active download/install phases
- Clear pending nudge campaigns on silent follow-up checks settling to not-available
2026-06-20 16:39:42 -07:00
Jinjing 404e45f022 Improve built-in browser downloads (#5940)
* Improve built-in browser downloads

Implements docs/browser-normal-download-behavior.md with automatic OS Downloads saving, collision-safe destinations, and renderer download controls.

* Clean up browser downloads on tab closure and guest destruction

- Cancel and drop pending download records when webview guests are destroyed or closed to prevent memory leaks and dangling state.
- Purge tracking entries for cancelled downloads lacking an active tab.
- Document filename normalization and reservation assumptions in download builder.
- Translate "Copy Terminal ID" context menu action in Spanish and Chinese locales.
2026-06-20 16:33:20 -07:00
Siddiqui Qamar 8c6ce31036 fix: narrow rate-limit provider config
Narrow RateLimitService provider config wiring so OpenCode Go receives provider-specific config while Gemini keeps its OAuth-enabled setting through a separate resolver.\n\nValidated locally with the full src/main/rate-limits test suite and typecheck.
2026-06-20 15:28:12 -07:00
Jinjing 27bf41793c Select last visited worktree repo by default on mobile (#5912)
- Resolve the initial repository in the mobile NewWorktreeModal using
  the last-visited worktree's repo ID loaded from AsyncStorage.
- Extract and share new-workspace dialog repository selection and
  resolution logic to src/shared, mirroring it on mobile to bypass
  Metro bundling limits.
- Add unit tests for last-visited repo reading and selection resolution.
2026-06-20 15:12:20 -07:00
Jinjing 99bb6d0bf4 Fall back to global repo order for group projects with unset rank (#5905)
Uses a new `getEffectiveProjectGroupManualRank` helper to ensure that
drag-and-drop midpoint calculations and sidebar list rendering remain
aligned. When a project's `projectGroupOrder` is unset, it now falls back
consistently to its global repo order instead of defaulting to infinity in
the list but a scaled rank during drag-and-drop.
2026-06-20 14:54:43 -07:00
Jinjing c3bff641ba Extract vault session row trailing actions to separate component (#5911) 2026-06-20 09:49:00 -07:00
hiro 26a5263cb5 fix(i18n): correct Japanese "primary" worktree badge label (#5923) 2026-06-20 09:47:10 -07:00
Jinjing 6dd82b974d Track and sync base ref throughout Create PR intent flow (#5907)
* Track and sync base ref throughout create PR intent flow

* Capture and track the review base ref (`baseRef`) directly inside the Create PR intent run token to keep async steps anchored to the base selected when the run started.
* Resolve intent flow and eligibility bases safely using the compare-base picker to override stale default refs.
* Keep the PR dialog's base field in sync with the active compare base while untouched by the user.

* Ignore stale generated PR fields if base ref syncs while in flight

Track user-initiated edits to the base field separately using a ref.
When the base ref is synced automatically from Source Control, mark
the base field dirty to increment its revision. This ensures stale
generated fields from an in-flight request cannot overwrite or revert
the newly updated base.
2026-06-20 03:39:45 -07:00
Jinjing 97dc6d63e3 Accept merged fallback PRs during branch lookup (#5908)
Ensure that when a visible fallback PR has been merged (e.g., outside
Orca with a deleted head branch), it is still accepted and refreshed by
branch lookup instead of being discarded as an implicit merged PR.

* Add `acceptMergedFallbackPR` option to GitHub branch lookups
* Enable this option during manual and background refreshes of fallback PRs
* Plumb the new option through preload APIs, IPC handlers, and RPC protocols
2026-06-20 03:30:18 -07:00
Jinjing 1419193bea Add explicit task title and display name to orchestration tasks (#5901)
Introduce optional `task-title` and `display-name` parameters for orchestration tasks, persisting them in the database and propagating them through the RPC and Orca runtime.

This allows the CLI, dashboard, activity page, and sidebar to display concise, user-friendly labels for dispatched worker agents instead of verbose, raw system preambles.
2026-06-20 03:29:21 -07:00
Jinjing b050bcff03 Keep mobile-controlled browser panes paintable and park idle hidden panes (#5900)
* Keep mobile-driven browser panes paintable and park idle hidden panes

- Add useSyncExternalStore-based hooks to reactively track mobile-driven pages.
- Prevent unmounting or losing paintability for panes controlled by a mobile device.
- Park heavy browser pane subtrees in hidden worktrees to improve performance.

* Derive workflow platforms dynamically in runtime contract test

Avoid hardcoding Linux, macOS, and Windows platforms in the Electron
runtime package contract test. Instead, extract the platforms directly
from the golden E2E workflow matrix strategy and map them to their
corresponding run steps.
2026-06-20 03:25:53 -07:00
JinjingandOrca 553d47bf4f Fix Windows workspace deletion runtime resolution (#5888)
* Add test file for workspace delete bug

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

* Fix Windows workspace deletion runtime resolution

Resolve project-created workspace deletion through the selected project runtime so Windows paths are listed strictly without falsely tripping the unregistered worktree guard.

Design doc: docs/delete-workspace-windows-unregistered.md

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-20 03:16:29 -07:00
Jinjing 55456e0c2d Show branch-discovered PRs on worktrees with no linked PRs (#5894)
Allow branch-discovered GitHub and GitLab PRs to display on the
worktree card even when the worktree has no explicitly linked PR
metadata.

This is enabled by passing the review hint key option down and
allowing the PR display logic to show neutral branch-level lookups
when no linked review key is present.
2026-06-20 03:00:52 -07:00
Jinjing c2433f5910 Enhance AI Vault session rows with conversation previews (#5896)
Revamp the session display in the AI Vault to prioritize visible
conversation history (user and assistant turns) over raw metadata.

- Display the latest conversation turn directly on collapsed rows
- Redesign expanded details to show the "Original ask" and latest turns
- Integrate visible preview text into session search filters
- Add a dedicated drag handle for resuming sessions to prevent
  accidental drags on the row card
- Update row height and virtual scroll metrics to accommodate previews
2026-06-20 02:14:24 -07:00
Jinjing a1cbb31f27 Clarify worktree lineage and handoff rules in skills and CLI help (#5892)
- Explain that `--no-parent` only controls Orca lineage, not the Git
  base branch, and detail how to target independent top-level work.
- Define full handoffs as ownership transfer and forbid the use of
  orchestration dispatch injection for them.
- Update CLI help text for `orca worktree create` to reflect the
  lineage and base-branch guidance.
- Add tests to verify that these guidance patterns exist in the skill
  markdown files.
2026-06-20 01:51:35 -07:00
Jinjing e2c8a66ee0 fix: address review findings (#5889) 2026-06-20 01:15:58 -07:00
Jinjing a04a9013f6 Prioritize Create PR intent over blocked notices in header action (#5884)
Resolve the Create PR/MR preparation intent first in the header action,
falling back to blocked notices only for states that cannot be safely
prepared (such as auth issues, default branch, or unsafe sync blockers).
This allows recoverable states like dirty files or unpublished commits
to proceed via the preparation flow.
2026-06-20 00:26:54 -07:00
Jinjing e19949f280 test: align tab strip layout assertion (#5875) 2026-06-19 21:53:05 -07:00
Jinjing dd8c78c129 Revert "Show worktree delete icon on sidebar row hover" (#5874)
This reverts commit ce253354fe.
2026-06-19 20:48:57 -07:00
Brennan BensonandOrca 8264cd2416 Send notes to working agents (#5748)
Co-authored-by: Orca <help@stably.ai>
2026-06-19 20:30:51 -07:00
Jinjing 13427a7de0 Hide native scrollbars on terminal tab strip (#5838)
* Hide native scrollbars on terminal tab strip

Remove the 'scrollbar-sleek' class and hide the scrollbars entirely using
CSS on '.terminal-tab-strip'. Horizontal tab strips scroll via chevrons,
wheel, and trackpad, so a native scrollbar thumb overlays tab labels and
looks broken.

* Introduce tab strip scroll indicator and fade masks for overflow

* Adds a top-aligned scroll indicator overlay to provide visual feedback for overflowing tabs.
* Applies CSS gradient mask-image fades to scroll edges to handle tab clipping cleanly.
* Employs ResizeObserver and MutationObserver to reliably recalculate scroll metrics as tab lengths or labels change.
* Extracts and tests scroll thumb layout and metrics logic under a dedicated module.
2026-06-19 20:27:00 -07:00
Brennan Benson d6cb38b45a Keep Codex terminal transcripts readable during redraws (#5858) 2026-06-19 19:49:54 -07:00