Commit graph

23016 commits

Author SHA1 Message Date
Luke Parker
0100a69f82 refactor(browser): avoid redundant work for presented viewport screenshots 2026-11-17 03:49:49 +10:00
Luke Parker
fa016d9808 fix(browser): redraw the tab before returning a screenshot 2026-11-17 02:35:12 +10:00
Luke Parker
ce772bc1ac fix(preview): distinguish unavailable file verification from missing files 2026-11-17 01:22:53 +10:00
Luke Parker
af620d5411 fix(desktop): verify the unpacked preview binding for each target 2026-11-17 01:22:52 +10:00
Luke Parker
d833264312 test(util): refuse a contained read where the runtime cannot name the open handle
Covers the workerd build of #handle-path: openContained must refuse a file it opens rather than authorize it by its preflight name. Fails when the workerd build resolves handles natively.
2026-11-17 00:48:11 +10:00
Luke Parker
7aec879d11 Merge remote-tracking branch 'origin/dev' into browser-ci-fix 2026-11-17 00:44:46 +10:00
Luke Parker
54a6242627 fix(util): keep native handle resolution out of workerd 2026-11-17 00:41:27 +10:00
Luke Parker
3d478922ac fix(cli): embed only the target ffi-rs binding 2026-11-17 00:41:26 +10:00
Aarav Sareen
e4606463e7
fix(app): show every provider as a card in Manage models (#64235) 2026-11-16 20:01:05 +05:30
opencodejr[bot]
cdd0585e04
test(app): use the locale's labels in the background activity alignment e2e (#64221)
Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
2026-11-16 09:21:33 -05:00
Luke Parker
106cbaeace chore(protocol): regenerate the OpenAPI document for the preview read endpoint 2026-11-17 00:05:59 +10:00
usrnk1
8bd9bdf95d
fix(app): show the base branch for new worktrees and apply branch picks immediately (#64228) 2026-11-16 15:04:30 +01:00
Luke Parker
3abc71adf2 test(client): expect the experimental preview group
The branch adds client.experimental.preview; the client's API surface test still listed the groups without it.
2026-11-16 23:59:02 +10:00
Luke Parker
d5e9e4bd11 chore(browser): drop a trailing blank line in the extension host 2026-11-16 23:58:11 +10:00
usrnk1
d8da34d23f
fix(stories): let Components Lab load stories that import Navigate (#64229) 2026-11-16 13:55:30 +00:00
Luke Parker
4df3a96b4c Merge remote-tracking branch 'origin/dev' into persisted-browser 2026-11-16 23:55:14 +10:00
usrnk1
139e5c2a14
feat(app): replace Home with Settings in the Customize sidebar (#64227) 2026-11-16 14:49:21 +01:00
opencodejr[bot]
56b5947eaa
test(app): check the eye hover overlay on background-image after the neutral restyle (#64209)
Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
2026-11-16 19:10:31 +05:30
usrnk1
e85035a36c
feat(app): replace Home in the desktop Projects sidebar (#64220) 2026-11-16 14:39:37 +01:00
Luke Parker
b8d2153b27 fix(browser): report unavailable artifacts before inspecting their frames 2026-11-16 23:19:21 +10:00
Luke Parker
8ead429030 fix(browser): refuse moved workspace tabs before allocating web contents 2026-11-16 23:18:01 +10:00
Aarav Sareen
56625a3e1f
fix(app): unify dialog styles (#64216) 2026-11-16 18:42:40 +05:30
Aarav Sareen
a4c9642cf9
fix(app): hide the sidebar resize pill (#64219) 2026-11-16 18:39:28 +05:30
usrnk1
26f2522e60
fix(app): enlarge image attachment thumbnails to 3:2 (#64215) 2026-11-16 13:36:32 +01:00
usrnk1
fd95bf0d21
fix(browser): space URL bar action buttons 6px apart (#64214) 2026-11-16 13:19:55 +01:00
Luke Parker
2848b863db fix(browser): use Escape alone to cancel page prompts 2026-11-16 22:15:49 +10:00
Luke Parker
41da7f3812 fix(browser): navigate restored artifacts before waiting for their renderer 2026-11-16 22:15:49 +10:00
Luke Parker
4cb304df5c fix(browser): keep saved tabs across transient project and session changes 2026-11-16 22:12:07 +10:00
Aarav Sareen
c5f18d1616
fix(app): confirm before disconnecting providers or removing accounts in settings (#64212) 2026-11-16 17:37:20 +05:30
Filip Hejmowski
b083c4d510
fix(app): add missing translations (#64205) 2026-11-16 12:35:19 +01:00
usrnk1
8bb7fab26e
fix(ui): cap large dialogs at 720px and extra-large dialogs at 880px (#64206) 2026-11-16 12:20:44 +01:00
Filip Hejmowski
4c3e17b9d8
fix(desktop): keep drafts storage out of the CLI database (#64203) 2026-11-16 12:20:10 +01:00
Luke Parker
5dea41d59b test(browser): satisfy the lint rules in the worker fixture 2026-11-16 20:33:06 +10:00
Luke Parker
b920fa40fa fix(browser): let a guarded tab's workers start
Since the tab pauses its children at start to guard file choosers and media (c55bc33c90), Chromium also paused every dedicated worker of the page. The auto-attach filter attached only iframes, so nobody resumed them and workers never started, in previews and web pages alike. Workers are now attached, resumed and left at once. A real-Electron test runs the policy on a page with a dedicated and a nested worker; it fails with the iframe-only filter.
2026-11-16 20:30:19 +10:00
Luke Parker
e8569aed63 Merge branch 'browser-prompts' (076bd0e0a2) into persisted-browser 2026-11-16 20:25:49 +10:00
Luke Parker
00188ad205 Merge branch 'browser-sec-preview' (ede1c855ef) into persisted-browser 2026-11-16 20:25:40 +10:00
Luke Parker
076bd0e0a2 fix(browser): keep the keyboard with a page's next dialog and return it to the page after the last
Found live on Windows (F6): in a page's run of dialogs, the page's view shows for a moment between two, and the keyboard owed to the page went there while the next dialog was showing; the next dialog then started a new chain that forgot the page had had the keyboard. The page now gets it back only once nothing shows, and a prompt that shows while an answer is in flight, or while the page is still owed the keyboard, continues the same chain.
2026-11-16 20:00:31 +10:00
Luke Parker
4127985228 fix(browser): keep the system behind the site bar for devices, restart input protection on repeats, and give dialogs the keyboard
F4: Blink reads every microphone's capabilities before it asks for permission (UserMediaProcessor::SetupAudioInput -> GetAudioInputCapabilities -> AudioManagerMac::GetInputStreamParameters), and on macOS 14+ that opens an AudioUnit, which makes macOS prompt and holds getUserMedia until it is answered, so no bar appeared. A main-world wrapper (media-gate.ts, a CDP binding per frame session) now holds getUserMedia, and the legacy forms, until the pane decides. While macOS has not asked about a device, the bar shows first (saying macOS asks next), and only a click on Allow reaches askForMediaAccess; a denied or restricted device is refused at once with the notice that names System Settings. The decision is deviceStep(system access, site decision, Allow) in system-media.ts; createSystemMedia is the one seam for system calls and logs each in development builds. A real-Electron test shows the permission handler is never reached before the gate's answer. F5: a request that joins a waiting one now counts as asked again, and the bar and dialogs restart their activation delay on every new id or repeat. F6: a tab-modal dialog takes the keyboard whenever its tab is in front of a focused window (not for an agent-driven tab unless the user was in it); afterwards the page gets it back only if it had it, once its view shows again (event-driven, the host ignores focus on a hidden view), and the window gives it back to where it was otherwise. F7: Command-period cancels dialogs and bars on macOS.
2026-11-16 19:45:59 +10:00
Luke Parker
1687737259 fix(desktop): name the browser pane in the microphone usage description
F9 (macOS verification): the string macOS shows when it asks for the microphone said voice calls only; websites the user allows in the browser pane use it too, as the camera string already says. English only: the usage descriptions have no translations (Info.plist is English).
2026-11-16 19:45:58 +10:00
Luke Parker
ede1c855ef fix(browser): retire the previous page binding on reconnect 2026-11-16 19:34:33 +10:00
Luke Parker
30db113897 feat(browser): route find-next and previous shortcuts from the focused pane 2026-11-16 19:34:33 +10:00
Luke Parker
c7af0521b9 test(browser): drive preview through a linked and case-aliased workspace 2026-11-16 19:34:32 +10:00
Luke Parker
258ee0d4c4 fix(browser): validate outbound state and settle malformed replies immediately 2026-11-16 19:34:31 +10:00
Aarav Sareen
9b57cc05cb
fix(app): match the sidebar peek's end inset to its start inset (#64192) 2026-11-16 09:27:09 +00:00
Luke Parker
f643e53400 fix(preview): apply hidden-file rules below the workspace root 2026-11-16 19:19:00 +10:00
Luke Parker
147f3cd6ee fix(preview): authorize contained files in the session workspace spelling 2026-11-16 19:11:23 +10:00
Aarav Sareen
f4107529f6
fix(app): restyle the timeline detail slider and visibility buttons (#64186) 2026-11-16 14:20:57 +05:30
Luke Parker
11bf34af21 fix(browser): keep a linked workspace's own path when preview finds its file
locate returned the file's real path. In a workspace reached through a link, as macOS's tmpdir under /private is, that path lies outside the workspace's spelling: preview asked again for it, and the tool sent the desktop a ../../private path. It now names the physical file under the workspace as the session spells it and asks only when a link inside the workspace points elsewhere in it.
2026-11-16 18:49:45 +10:00
Luke Parker
e02bfae2e7 Merge branch 'browser-sec-ext' (c8a4eb1c92) into persisted-browser 2026-11-16 18:43:31 +10:00
Luke Parker
bd6134583e Merge branch 'browser-sec-agent' (c55bc33c90) into persisted-browser 2026-11-16 18:43:30 +10:00