* perf: save browser extension storage off the main thread
chrome.storage.sync and declarativeNetRequest state saved each dirty
extension with two synchronous fsyncs on Electron's main thread after a
250 ms debounce, freezing the UI ~10-25 ms per extension per burst.
Writes and forget deletes now share one ordered background queue (the
common pattern): memory stays the source of truth, deletes complete
before later writes of the same key, failed deletes keep blocking them,
and callers await deletes before recording cleanup. Quit closes the
stores last and waits for their final save, as the old synchronous
will-quit save did.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: settle every extension storage delete before the next save
A multi-file forget now waits for all its deletes before reporting, so a
still-running delete can't erase a later save; file deletes get Node's
busy-file retries; finished deletes retire in one pass.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: skip stray files when deleting an extension's storage
A .DS_Store beside the profile folders made every removal fail with
ENOTDIR, which now also held that extension's saves back.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* test: check extension storage saves leave the caller's turn
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix(computer): report a locked screen instead of missing Accessibility
Behind the lock screen (display sleep, screen saver or a manual lock) macOS reports Accessibility as untrusted. Orca read that as a missing permission, and its recovery hint led agents to open System Settings. Check the session lock first and return screen_locked; permission setup refuses while locked.
* fix(computer): recheck the lock under the provider lock and at setup launch
* fix(computer): read the lock fresh for setup and keep locked status reads out of the cache
* refactor(computer): drop the extra lock read at setup; the status and setup helper already check it
* feat: run setup and archive hooks for group folder workspaces
* fix: align group workspace owners and create result consumers
* chore: carry terminal extraction allowances through validation
* fix: remove extracted terminal import cycle and refresh deletion fixtures
* fix: show group setup settings in project navigation
* Run Archive scripts before removing group folder workspaces
* Tighten workspace record read allowance after removal extraction
* Correct Archive waiver regression expectation
* Complete Archive hook settings test fixture
* Refresh group hook Settings when runtime contact returns
* Cover group hook support across replacement pairings
* Skip completed Codex launch preparation when inputs match
* Stop validation work once preparation cannot be reused
* Combine file observation imports for code quality checks
* Use annotations for preparation test controls
* Read preparation snapshots asynchronously and refresh context after waits
* Reuse Codex configuration preparation at the actual launch boundary
* perf(cli): use packaged Node for ordinary Mac commands
* test(cli): couple Mac shim fixture to packaged helper layout
* fix(cli): narrow optional native process replacement API
* test(cli): isolate native replacement API across test platforms
* test(cli): allow spying on the isolated replacement API
* test(cli): use NodeNext-compatible dynamic import specifiers
* Keep desktop lifecycle commands on the direct Electron route
* fix(macos): FDA toast copy claims only observed file prompts, not agent interruptions
* fix(macos): keep FDA toast actions inline on roomy cards and ring the dismiss link on focus
* fix(native-chat): offer Submit on the last question step after skipping
The last step's footer label came from the current question only, so a
skipped last question showed an outlined Skip even when earlier answers
would be submitted. Label the last step Submit whenever any question is
answered; an all-skipped prompt keeps Skip, which still dismisses.
* test(native-chat): add skipped-last-step question card fixture
agent-browser's `cookies clear` ignores --name/--domain and wipes the
whole profile cookie jar, so `orca cookie delete` signed users out of
every site. Delete through the guest debugger instead: list cookies with
Network.getAllCookies, match by name and host (host-only, dot-prefixed,
and parent-domain cookies for --url / tab URL), and call
Network.deleteCookies per match, passing CHIPS partition keys back.
Report deleted:false when nothing matched, and reject tab URLs without a
cookie host (about:, file:, data:) asking for --domain or --url. The
external Chromium provider no longer maps cookie delete to the
jar-wiping agent-browser command.
Fixes#42229
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>