Commit Graph
17191 Commits
Author SHA1 Message Date
Jinjing a4f08912df Improve sidebar activity rollup performance
- Refresh only stale descendant slots and scope unread updates to their workspace.
- Share agent row projections and index unread markers to reduce repeated work.
- Preserve host-specific agent activation and show the latest activity time.
2026-11-13 18:28:59 -08:00
Jinjing cce8bfedc6 Fix sidebar lineage rollup: unread dot on children, running status on collapsed parent
- A card's unread dot and bold title now include its own visible agent rows'
  unread results, so expanding a parent reveals which child the unread came from.
- A collapsed parent's status lane shows the most urgent descendant state
  (needs you > failed > working) when it beats the parent's own status.
- Host-scoped workspace unread markers and related attention fixes.
2026-11-13 18:28:59 -08:00
Jinjing 1a6fde5584 improve perf 2026-11-13 18:28:59 -08:00
Jinjing 902a37d775 fix bugs 2026-11-13 18:28:58 -08:00
Jinjing 8f92652db3 wip 2026-11-13 18:28:58 -08:00
Jinjing 40cc6b5428 wip 2026-11-13 18:28:58 -08:00
Jinjing 8e94838a7a wip 2026-11-13 18:28:58 -08:00
Jinjing 899b9e33ae Unify experimental workspace cards around title status
- Surface hidden agent and child workspace activity in the card title.
- Retire the second experimental layout and AI-generated icons.
- Preserve existing experimental card selections and add a details row option.
2026-11-13 18:28:56 -08:00
Jinjing fdbfe7452f Fix worktree icon regeneration and bound the cache
Cancel stale requests when clearing icons so older results cannot
restore the previous cache. Evict unused renderer entries to limit
memory growth.
2026-11-13 18:28:38 -08:00
Jinjing 636c8e6b66 Keep agent timestamps visible alongside dismiss controls 2026-11-13 18:28:38 -08:00
Jinjing 023a38aae5 Simplify worktree sidebar icons and agent rows
- Generate monochrome icons that match the sidebar foreground
- Move agent model names into row tooltips to reduce clutter
2026-11-13 18:28:38 -08:00
Jinjing 3b5b2844b0 fix build 2026-11-13 18:28:38 -08:00
Jinjing 73b01837d3 Fix sidebar agent ownership and targeted title updates
Resolve unstamped agent sessions to their workspace runtime so sidebar
summaries and unread state follow the correct host. Limit title-change
invalidation to affected workspaces.
2026-11-13 18:28:38 -08:00
Jinjing ee7252ade0 Improve workspace sidebar icons and navigation
- Batch AI icon generation and add settings to customize and regenerate icons.
- Fix agent navigation and unread handling across execution hosts.
- Keep linked reviews visible while loading and reduce unnecessary refresh work.
2026-11-13 18:28:35 -08:00
Jinjing 8c37eb5d2c wip 2026-11-13 18:25:09 -08:00
Jinjing e9b545bc95 fix issues 2026-11-13 18:25:09 -08:00
Jinjing c7c249b485 wip 2026-11-13 18:25:09 -08:00
Jinjing aa9564793b Improve worktree card interactions and spacing
- Let users toggle cards by clicking their headers.
- Delay details until the pointer rests to avoid accidental popups.
- Add breathing room around card content.
2026-11-13 18:25:09 -08:00
Jinjing 3faef60173 fix commit 2026-11-13 18:25:09 -08:00
Jinjing 6bbd13e994 fix style 2026-11-13 18:25:08 -08:00
Jinjing 728d11b00a wip 2026-11-13 18:25:08 -08:00
Jinjing 43ae84df59 wip 2026-11-13 18:25:08 -08:00
Jinjing 9233ca9c7e wip 2026-11-13 18:25:08 -08:00
Jinjing 1fca88beb6 final worktree design 2026-11-13 18:25:08 -08:00
Jinjing e687d2e97c Show every status in the sidebar card corner and let cards open and close
The title-row corner now shows one glyph per status the card speaks for
(needs, failed, unread, working), most urgent first, followed by the time,
instead of only the most urgent one. Each glyph opens its own sources.
Collapsed child workspaces report all their statuses through a flat,
shallow-comparable record.

Experimental 2.0 cards can also be opened and closed; a closed card's
title slot speaks for its hidden agents and children.
2026-11-13 18:25:08 -08:00
Jinjing 463479da14 Enable navigation from worktree sidebar activity indicators
- Open the matching agent or workspace directly, or choose among multiple sources
- Use host-qualified identities for nested workspace activity
- Show pull requests in 2.0 card details and refine compact card layout
2026-11-13 18:25:07 -08:00
Jinjing 0e8bba4156 Show child workspace status counts in sidebar cards
Distinguish monitoring agents and refine lineage alignment so workspace
activity is easier to scan.
2026-11-13 18:25:07 -08:00
Jinjing 6433a44271 Expand sidebar agent lines with subagents and remote host status
- Show subagent activity, send targets, and unread signals in slot cards
- Identify remote hosts and provide SSH reconnection controls
2026-11-13 18:25:07 -08:00
Jinjing 8418601da8 wip 2026-11-13 18:25:07 -08:00
Jinjing 6beab2e796 Reduce worktree card metadata indentation 2026-11-13 18:25:07 -08:00
Jinjing 006bef5155 Improve experimental worktree cards with compact agent summaries
- Add an optional details row for workspace metadata and indicators
- Roll up descendant activity timestamps to parent cards
2026-11-13 18:25:06 -08:00
Jinjing 6dcb54f71d wip 2026-11-13 18:25:06 -08:00
Jinjing 976921f7a0 wip 2026-11-13 18:25:06 -08:00
Jinjing ec1e404944 wip 2026-11-13 18:25:06 -08:00
Pr1pandNeil e784f9803d fix(i18n): retry a failed language catalog when the saved language is picked again (#41538)
When the saved UI language's catalog fails to load, Orca falls back to
English. Re-picking the same language in Settings > Appearance > Language
was a no-op because the select dropped same-value picks and an unchanged
uiLanguage never re-ran the I18nProvider load.

The language select now sets allowReselect. A different language still
calls updateSettings; re-picking the saved one calls retryLanguageLoad()
only when useLanguageReadiness reports a load error. The language row moves
into AppearanceLanguageSetting to keep AppearanceInterfaceSection under the
max-lines cap.

Refs #41513

Co-authored-by: Neil <neil@stably.ai>
2026-11-13 18:20:31 -08:00
OrcaWinandOrcaWin 233469f883 test: remove low-value onboarding and plugin validation cases (#42243)
* test: remove signal bookkeeping and repeated option cases

* test: remove low-value onboarding and plugin validation cases

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 18:15:04 -08:00
Kelvin Amoaba f49eb51f95 feat(computer): launch-app starts desktop apps without taking the foreground (#42197)
* feat(computer): add launch-app to start apps without taking the foreground

* fix(computer): leave running apps alone and keep the launch env clean

* fix(computer): recheck aliases, keep focused launches visible, refine launch hints

* chore(computer): document the launch result casts

* test(computer): check launch-app reports where the app ended up on Windows CI

* docs(computer): point app_not_found at launch-app

* test(computer): format the merged Windows background e2e

* fix(computer): match launch paths to the running file and word background launch as an attempt
2026-11-14 02:11:33 +00:00
Pr1pandNeil ea7c94faef fix(terminal): aim app-menu paste at the pane owning focus (#41585)
Edit > Paste dispatches without a renderer keydown, so it skipped the
keydown active-pane repair and targeted manager.getActivePane(). When
focus reached another pane's xterm without a pointerdown (for example a
file drop from the explorer onto an inactive split), the paste was
cancelled with "Paste cancelled: terminal focus changed before paste
started." Resolve the pane from the dispatch-time focus with the same
synchronizeTerminalKeyboardPane helper keydown uses.

Refs #41352

Co-authored-by: Neil <neil@stably.ai>
2026-11-13 18:05:11 -08:00
Pranav Tomar faa759d606 fix(worktrees): stream the submodule probe so large repos can be deleted (#42174)
The delete preflight listed the whole index with a buffered
`git ls-files --stage -z`, which overflows the 10 MiB Git output cap in
large repositories and blocks workspace deletion. Stream the listing
through gitStreamStdout and keep only gitlink (mode 160000) paths, so
memory scales with the number of submodules instead of the index size.

Fixes #42134
2026-11-13 18:05:01 -08:00
Bubu-Dudu-52hzandNeil 996510fff0 fix(native-chat): preview pasted images whose link target has no extension (#41984)
Telegram Desktop on macOS puts a .jpg symlink on the clipboard that points
at an extensionless JPEG. Chat-image access classified the real target by
extension only, so the composer chip and sent message showed an empty
placeholder.

For an extensionless target, chat-image access now stats it (regular files
only, so devices and FIFOs are never opened) and accepts it only when its
header carries a PNG/JPEG/GIF/WebP signature. Desktop fs:readFile and the
runtime readChatImagePreview take the MIME type from that signature. Targets
with a non-image extension are still refused. The header sniff is shared
with runtime upload staging.

Fixes #41977

Co-authored-by: Neil <neil@stably.ai>
2026-11-13 17:59:50 -08:00
OrcaWinandOrcaWin 2fc7b1a750 test: remove catalogue and animation suites and repeated input cases (#42238)
* test: remove catalogue and animation bookkeeping cases

* test: trim repeated extension inputs and pairing copy checks

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 17:58:09 -08:00
Vitalii KulishandNeil 762f7bf6a7 fix(source-control): open another workspace from the branch picker like the sidebar (#41930)
Open workspace in the branch picker, Git Graph's open-workspace action and
the folder workspace Source Control header called the raw setActiveWorktree.
A workspace whose tabs were closed on purpose then had no surface and the
window stayed blank. Use activateAndRevealWorktree with the user-open intent,
the same activation the sidebar uses, while keeping the sidebar filters.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-13 17:54:25 -08:00
085859850b fix(rate-limits): show a Codex individual spend limit as the monthly usage window (#41791)
Codex workspace seats can report only an individual spend cap with no
5h/7d window, which left the Codex usage meter blank. Map the cap to the
existing monthly window when no 5h/7d window is reported, from both the
app-server `individualLimit` and the backend `spend_control.individual_limit`,
fetch the backend when an ok RPC result has no usage window, and keep
monthly-only Codex snapshots for the account switcher preview.

Fixes #8664

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: Swaroop <27270424+swaroop477@users.noreply.github.com>
2026-11-13 17:54:12 -08:00
registered2ndandNeil 3436c2c3f5 fix(terminal): sync parked watchers with the current park verdict, not the first render's (#42021)
useParkedTerminalWatcherSynchronization routed its sync through
useEffectEvent. React 19.2.x only refreshes effect-event closures for
plain function components, and the hook's caller
(TerminalPaneOverlayLayer) is memoized, so every sync used the first
render's parkedTabIds/terminalTabs. Tabs deferred at startup kept their
parked watcher (and hidden-delivery claim) after being revealed, and
tabs parked later never got a watcher.

Use the existing useLatestHandler instead, which refreshes its ref in a
layout effect before the passive sync runs.

Fixes #42020
Fixes #42023

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-13 17:48:50 -08:00
OrcaWinandOrcaWin e2e69135f9 test: remove low-value runtime and bridge cases (#42234)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 17:45:56 -08:00
gaokui2010 8de46df462 fix(i18n): translate Add project menu and collapse-all tour tip into Simplified Chinese (#42106)
Add the missing zh.json entries for the Add project menu
(auto.components.sidebar.AddProjectMenu.*), the contextual-tour "New"
badge, and the collapse-all-projects tour step. Keys follow en.json
ordering and preserve the {{host}}, {{modifier}} and
{sidebar.projects.toggleCollapse} placeholders.
2026-11-13 17:43:11 -08:00
BingZandNeil 8677fa099f fix(browser): wipe a deleted profile's storage when extension teardown fails (#41928)
Deleting a browser profile with extensions forgot the extension API host
twice, and Electron's protocol.unhandle throws once the scheme is gone.
That throw skipped the partition storage wipe and the persisted extension
store cleanup.

- Only unhandle orca-extension-api while it is still registered.
- Forget the extension state, sync storage, and DNR stores in finally.
- Log a detach failure on profile delete and still wipe the partition.

Fixes #41907

Co-authored-by: Neil <neil@stably.ai>
2026-11-13 17:42:58 -08:00
Kelvin Amoaba f264e1324f fix(browser): keep the user's agent-browser env and config away from Orca's desktop browser helper (#42231)
* fix(browser): keep the user's agent-browser env and config away from desktop helpers

* fix(browser): drop an inherited agent-browser namespace from desktop helpers

* fix(browser): write the desktop helper's empty config off the main thread

* fix(browser): wait for the Orca agent-browser config before the startup sweep
2026-11-14 01:39:16 +00:00
Jinwoo Hong 0d7a48df9b feat(daemon): capture macOS's verdict when a terminal host is refused a folder (#42153)
* feat(daemon): capture macOS's verdict when a terminal host is refused a folder

On a confirmed app/host divergence in Documents, Desktop or Downloads, read
macOS's own record once per host incarnation and folder class: tccd decisions
and kernel sandbox denies for the host pid, host signature checks, host age
and origin, earlier good reads, time since wake signals, Full Disk Access,
fork-fallback reason, and the class root's dataless, iCloud and volume state
(read before the app-side opendir). Telemetry is enum-only in a new
daemon_pty_cwd_denial_capture event; raw filtered lines go to a capped local
file under userData logs. Every subprocess is bounded and failures are
swallowed off the spawn path.

* fix(daemon): keep the wake clock Electron-free and avoid casts in the log parser

* fix(daemon): tighten denial capture attribution and bounds

Snapshot good-read and wake context at the denial, bound the class-root
realpath, keep earlier captures when one entry is over the cap, require the
app or host in requirement failures, let an explicit pid outrank a shared copy
path, and report a capped log read as truncated.

* fix(daemon): collect Info requirement checks and claim captures before probing

Ask log show for Info records in a 30 s window ending at the denial, claim a
helper/class capture before the folder probes and release it when the app is
refused too, and report a requirement failure tied only to the shared app
identifier as uncorrelated instead of blaming this helper.

* fix(daemon): keep folder-denial capture in telemetry labels only

Drop the local diagnostics file and stop retaining raw log lines: the parser
reads them in memory to derive enums and keeps nothing.

* fix(daemon): skip the folder-denial capture when telemetry is off

Gate the folder probes and the log/codesign capture on the telemetry client's
consent check so opted-out users never have their log read or checks run.

* fix(daemon): recheck telemetry consent at every capture stage

Run every capture subprocess through a consent-checked runner (now a required
probe argument), ask again before and after the identity probe and after the
remaining probes, and free the claim when an opt-out stops a capture so a
later opt-in can still capture.

* fix(daemon): recheck consent after the access reader's lazy import

The Full Disk Access reader started after its import resolved without asking
again, and its catch swallowed the opt-out; ask after the import and let the
opt-out end the capture so its claim is freed.

* fix(daemon): report a helper's denial over a later allowed result

Overlapping tccd requests can resolve out of order; when any result for the
denied folder class is a denial, report it.
2026-11-13 20:37:46 -05:00
c2b4e4281f fix(tasks): show cached GitHub rows on filter change and keep issue-number order (#42128)
* fix(tasks): show cached GitHub rows instead of the skeleton on filter change

Filter handlers set tasksFiltering and only the forced fetch settlement
cleared it, so rows the landing run had already painted from the
per-query cache stayed hidden behind the skeleton. The landing run now
clears the flag when every selected repo (or the restored page) is
cached for the applied query; the forced refetch still runs under the
toolbar spinner and replaces the rows in place.

Rebuilds #41998 by @piotrpawlik (fixes #41997).

Co-authored-by: Piotr Pawlik <piotr.pawlik@apollo.io>

* fix(tasks): keep GitHub Tasks pages in issue-number order

materializeTaskPageItemList re-sorted every page by updatedAt while the
host search, the cross-repo aggregate, the landing pre-paint and mobile
all order by issue number. A triage edit moved old issues to the top,
and the landing probe saw a different key order and reset pagination.
Use the shared sortWorkItemsByNumber so retained pending rows keep
their number slot too.

Rebuilds #41999 by @bbingz (fixes #41987).

Co-authored-by: Bing.Z <zzb@gxsmjx.com>

* test(tasks): make landing tests revert-sensitive; scope refetch comment

Address C1 review: every landing case now fails without the cached-rows
fix, names say what they verify, and the comment no longer claims typed
search forces the refetch.

* test(tasks): replace landing test casts with annotations

* fix(tasks): hold GitHub pagination while a forced refresh is in flight

Cached rows now show during a filter switch's forced refetch, which made the
pager live; opening page 2 then got undone when the refetch replaced every
page. Disable the pager until it lands, as the phone does while revalidating.
Also drops two landing tests that covered no new behavior.

* fix(tasks): hold GitHub pagination for any in-flight landing fetch

A typed search over stale cached rows lands without a forced fetch, so the
pager was still live and its page could be undone when the landing fetch
replaced the pages. Track the landing fetch itself, as the phone holds paging
while any list load revalidates. Shares the retry-key release between the
fetch's settle paths to keep the run under the file-length limit.

---------

Co-authored-by: Piotr Pawlik <piotr.pawlik@apollo.io>
Co-authored-by: Bing.Z <zzb@gxsmjx.com>
Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
2026-11-13 17:31:49 -08:00