Commit graph

23346 commits

Author SHA1 Message Date
Luke Parker
ee844bfcf1 docs(browser): tell the agent to pass focus: true only when asked to show a page 2026-11-18 12:37:28 +10:00
Luke Parker
3dbf55a98a fix(app): a tab under the New tab view is not visible, and opening it shows it
Layout.state reported the pane's selected tab as visible while the + New tab view covered it, and Layout.open on that tab changed no selection, so the view stayed. A page the agent showed again stayed hidden behind it.
2026-11-18 12:35:09 +10:00
Luke Parker
5f078dba1e fix(browser): open an extension popup under the bars when a device viewport is set
The popup took its top from the page's own box, which a fixed device viewport insets inside the page area. It belongs to the Extensions button, so it now starts at the top of the page area.
2026-11-18 12:22:31 +10:00
Luke Parker
ee00d8c4f9 fix(browser): attach to a session before its first prompt, so the first step lists the browser tools
The attachment model loaded when the first session screen mounted, and a draft's session exists only once its first prompt is sent, so the server started the first step before the desktop attached. The model now loads when the app idles, and the send waits for the attachment through BuiltinPromptGate.
2026-11-18 11:57:30 +10:00
Luke Parker
62df07625a feat(app): a built-in can prepare a session before its prompt is sent
BuiltinPromptGate: the host waits for every gate, for at most two seconds, after the server created the session and before the prompt or command request goes out. The prompt already shows meanwhile.
2026-11-18 11:57:29 +10:00
Luke Parker
2a4f686a52 test(app): wait for the session route's own request before the unreachable timeout
The titlebar's route lookup asks for the same session metadata before the session route's chunk has loaded, so the held request arrived while the route had not yet started its 30 s wait; fast-forwarding then passed nothing. On a slow Windows runner the route chunk finished 0.3 s after the fast-forward. The transcript request is sent only by the route, in the step that starts the wait.
2026-11-18 11:27:54 +10:00
Luke Parker
60cf5369e7 chore(browser): satisfy the spacing rule where the merge joined the page's input handlers 2026-11-18 10:51:36 +10:00
Luke Parker
4a14d03164 Merge remote-tracking branch 'origin/dev' into persisted-browser
Conflicts with dev's device toolbar (#63819), text file tabs (#64463), the new icon set (#64466) and the Code Mode split (#64487, #64510):
- chromium.ts: dev's viewport writer, device emulation and per-page reports, with our retry-only detail; pointer commands run in the writer's queue inside our refusal and passkey wrapper; captures share the queue, and a fixed viewport is captured through the device's CDP clip while Auto keeps the fresh-redraw path.
- panel.tsx: dev's device toolbar, preview frame and spotlight, with our extensions menu, options menu (data-browser-popup), prompt-aware native view, error pages and two-view site popover; our page area box is declared again.
- embeds.tsx: our measure and place split and layout spine observers, with dev's scrollport clip in the shown test, the cover rect and the layout key.
- model.ts, pane.ts, ipc users, keys.ts (find previous stays claimed), i18n, fixtures and tests keep both sides.
- artifact-view.tsx: dev's fixed modes; desktop HTML stays source only.
- codemode: a removed tool's sentence is returned as dev's unknown-tool failure; core tool.ts keys the catalog cache by visible names and whether Node's path is on.
- icons: dev's set, our puzzle icon.
2026-11-18 10:50:48 +10:00
Luke Parker
31591e152f fix(browser): say in settings that a file the agent shows comes to the front 2026-11-18 10:27:13 +10:00
Luke Parker
bbdaf3d191 feat(browser): tabs.open and navigate take a workspace file in path, and browser.preview is removed
The server checks the path as it did for preview and sends the desktop the same preview action (navigate.path to move an existing tab). The permission check names the called operation and preview, so a deny of the old name still stops the path forms.
2026-11-18 10:27:12 +10:00
Luke Parker
56b712740e refactor(browser): parse a workspace address in one place for the server and the desktop 2026-11-18 10:27:02 +10:00
Luke Parker
76b568629b feat(codemode): a namespace can say what replaced a tool it no longer has 2026-11-18 10:27:01 +10:00
Aiden Cline
de291ab7b1
fix(ai): send the system prompt as a developer message on every Responses route (#64544) 2026-11-18 00:22:15 +00:00
Aiden Cline
7ca7b3feba
fix(ai): send the OpenAI system prompt as a developer message (#64542)
Some checks are pending
check-nix / nix-eval (push) Waiting to run
check / typecheck (push) Waiting to run
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy-site / site-deploy (push) Blocked by required conditions
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
2026-11-17 23:58:26 +00:00
Luke Parker
1c581bf830 fix(browser): start an extension popup at the top of the page area
The popup's top was its button's bottom plus a fixed 4 px, which is inside the toolbar: 4 px above the page at 100% and 7 px at 125%. The window now reports the page area's top with the click and the popup starts there, below a find or notice bar too. Each edge is rounded by itself, as the page view's edges are, so the popup lands on the same pixels as the page and the button.
2026-11-18 09:52:01 +10:00
Luke Parker
4f5be77234 fix(browser): end the Advanced heading's line with its chevron
The chevron follows the summary while the section is closed and the heading while it is open, 4 px after the text like the other disclosures. A summary too long for the window is cut short, so the chevron never wraps or leaves its word.
2026-11-18 09:52:00 +10:00
Luke Parker
5c6673b8b4 fix(browser): a preview opens the pane and selects its tab, whatever the pane showed before
A person who opened the side panel and closed it again during a run, before the agent showed anything, was taken to have dismissed the agent's pages: the first preview then opened nothing. Closing the pane is a dismissal only once the pane has shown the agent's page in that run.

A preview now selects its tab in a pane that is open on another tab, behind the same click guard, and so does a file preview. For a session that is off screen or in a hidden window the tab is selected in its strip and marked, so it shows when the person returns. A request that arrives before the strip can be written or before the inventory that carries its tab is kept and applied when they land. A focused tabs.open, tabs.focus and navigate behave as before.
2026-11-18 09:24:25 +10:00
Luke Parker
5fa21a811e fix(browser): derive the page's visibility once, not in the embed's prop getter
The embed's visible prop was a condition written inline, which compiles to a getter that makes a new computation on every read. The host reads the prop from callbacks with no owner, so each read left one behind: the window logged "computations created outside a createRoot" several times a second while the pane was open. The condition is now one memo under the pane's owner.
2026-11-18 09:24:24 +10:00
Aiden Cline
9cfff5f24d
feat(codemode): let an extension name the modules that load its globals (#64516) 2026-11-17 16:59:36 -06:00
Aiden Cline
d9d0a46d46
refactor(core): drop url and format from webfetch output (#64534) 2026-11-17 16:56:02 -06:00
Filip Hejmowski
bd115fdac8
fix(core): let either Claude Code flag disable every CLAUDE.md (#64533) 2026-11-17 16:44:46 -06:00
opencode-agent[bot]
b0cecfa496
test(core): expect CLAUDE.md fallbacks in the Windows drive-letter test (#64530)
Co-authored-by: James Long <james@anoma.ly>
2026-11-17 17:31:33 -05:00
Aiden Cline
ea79f69bcf
fix(app): stop reading plugin readiness from plugin.list (#64527) 2026-11-17 15:55:10 -06:00
Aiden Cline
64630cfd65
feat(core): add append to Environment.Files (#64517) 2026-11-17 15:45:04 -06:00
opencode-agent[bot]
cb41d3da12
fix(app): keep plugin update findings until the settled list agrees (#64525)
Co-authored-by: James Long <james@anoma.ly>
2026-11-17 16:32:59 -05:00
Filip Hejmowski
7988f65ab8
refactor(app): pass composer focus on from the shortcut's control (#64504) 2026-11-17 21:32:48 +00:00
Aiden Cline
7bec1e6b35
refactor(server): remove plugin readiness from plugin.list (#64524) 2026-11-17 21:31:07 +00:00
Adam
abad4fc5bf
fix(data): stop redirecting /data by language and give the sitemap real dates (#64523) 2026-11-17 21:23:05 +00:00
Adam
6b18e3c9f2
docs: real descriptions and distinct titles for docs pages (#64521) 2026-11-17 21:21:11 +00:00
Adam
20d049ba33
fix(site): list Console pages in llms.txt; describe llms-full.txt accurately (#64520) 2026-11-17 21:20:44 +00:00
Yhibo
b7340e6415
feat(core): add GPT 6.2 Sol and Astra to the ChatGPT model list (#64508) 2026-11-17 21:14:36 +00:00
Aiden Cline
e92fbcfba1
feat(codemode): let host functions cross back to the host and let globals be constructible (#64472) 2026-11-17 15:11:40 -06:00
Adam
3811714fab
fix(site): permanent redirects for moved docs and marketing pages (#64305) 2026-11-17 15:08:52 -06:00
opencode-agent[bot]
b03809b2d7
feat(app): check for and install plugin updates in Settings › Extensions (#64511)
Co-authored-by: James Long <james@anoma.ly>
2026-11-17 15:58:09 -05:00
James Long
b24d599d33
fix(codemode): let the runtime drop functions and await promises in host-call arguments (#64513) 2026-11-17 20:55:40 +00:00
James Long
2b5ea4977f
fix(codemode): reject an unknown tool's promise instead of throwing (#64510) 2026-11-17 20:42:14 +00:00
Aiden Cline
e40057ab84
feat(core): pin read, edit, write, and patch in full Code Mode (#64497) 2026-11-17 20:39:55 +00:00
James Long
1addb95724
fix(app): reload Recent only when a root session is created (#64503) 2026-11-17 20:36:55 +00:00
James Long
b9029e64a0
refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
Filip Hejmowski
9c6b33783c
fix(app): focus the composer after switching session tabs by shortcut (#64418) 2026-11-17 21:18:08 +01:00
Aiden Cline
133f24a4d3
feat(server): report plugin readiness on plugin.list (#64029) 2026-11-17 14:12:51 -06:00
Jack
53fb250975
docs: add GPT 6.2 Sol and Astra to Zen (#64491)
Some checks are pending
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy-site / site-deploy (push) Blocked by required conditions
deploy-update / update-build (push) Waiting to run
deploy-update / update-deploy (push) Blocked by required conditions
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
2026-11-18 02:56:14 +08:00
usrnk1
0e447fce16
feat(stories): cover device pairing flows in the Components Lab (#64490) 2026-11-17 19:14:12 +01:00
Aiden Cline
18503ee942
feat(core): add Node's path to Code Mode behind full_codemode (#64476) 2026-11-17 18:00:45 +00:00
Aiden Cline
f0def1f86f
feat(codemode): let each run pick which of the runtime's extensions it gets (#64482) 2026-11-17 11:53:55 -06:00
Jack
2aed8226ee
docs(console): hold the voice model out of the docs for now (#64477) 2026-11-18 01:37:54 +08:00
James Long
5db3553efa
feat(app): always show the assistant copy button (#64478) 2026-11-17 17:37:35 +00:00
opencode-agent[bot]
7828491cc9
fix(core): fall back to CLAUDE.md where no AGENTS.md exists (#64474)
Co-authored-by: Aiden Cline <aiden@anoma.ly>
Co-authored-by: neriousy <filip@anoma.ly>
2026-11-17 18:05:02 +01:00
Aiden Cline
cbfd30e520
feat(core): enable websearch in full Code Mode (#64475) 2026-11-17 16:54:53 +00:00
Filip Hejmowski
3f19c92afd
fix(core): keep ChatGPT sharing safeguards when a token refresh fails (#64470) 2026-11-17 17:41:10 +01:00