Commit graph

22422 commits

Author SHA1 Message Date
James Long
a4eeb750d7 fix(desktop): omit an absent pill from browser pane state
User decisions:
- Fix the final review's blockers before merging
2026-11-10 19:00:09 +00:00
James Long
287e97240f fix(desktop): keep the pill label at full contrast
User decisions:
- Fix the final review's blockers before merging
2026-11-10 18:24:09 +00:00
James Long
8153cc52ad fix(desktop): deny popups while the browser page has no binding
User decisions:
- Fix the final review's blockers before merging
2026-11-10 18:24:09 +00:00
James Long
782c4ed3a6 fix(desktop): keep idle-evicted browser panes suspended
User decisions:
- Fix the final review's blockers before merging
2026-11-10 18:24:06 +00:00
James Long
d80911dd8e fix(desktop): reject stale browser tunnel calls instead of throwing
User decisions:
- Fix the final review's blockers before merging
2026-11-10 18:24:04 +00:00
James Long
cec405d4bc fix(desktop): tighten pill ownership and Linux lock fallback
Keep one visible-session owner for the window pill, hide it under frozen overlays, and dispose its embed and WebContents with the window. Simplify Linux lock detection to login1 plus the existing idle fallback, add the same-user User.Display lookup when PID lookup fails, and stop retrying when gdbus is absent.

Update the unit and component fixtures for the current pane client and pill lifecycle.

User decisions:
- Keep the top-center pill and preserved browser state
- Use one visible pane as the pill owner; no extra windows
- Remove the redundant xscreensaver watcher and second source combiner
- Fall back to login1 User.Display only when PID session lookup fails
2026-11-10 00:59:09 +00:00
James Long
6a87a0fb85 refactor(desktop): host the browser pill in a native embed
Use the existing host embed layout for a small, trusted WebContentsView pill instead of any overlay window. The pill stays top-center, follows the page without manual movement, and reads the app renderer's resolved theme and translation on change.

Remove the parented window, ImageView canvas protocol, manual show/follow/shape logic, and the associated 700ms polling. A bounded embed consumes clicks and focus only inside its small rectangle.

User decisions:
- Click-through is not required; accept the small pill rectangle
- Keep the top-center Disconnected pill with native page state preservation
- Use a simple window-free host-managed WebContentsView
2026-11-09 23:33:11 +00:00
James Long
6f7ade45d5 refactor(desktop): render the browser pill as a native image overlay
Draw the pill in the trusted app renderer with its resolved theme, font and label, then show the PNG in a lazy, click-through native image shell. Remove the per-page BrowserWindow, its web renderer, the 700ms presentation polling and app-window executeJavaScript, the auxiliary-window marker, and the host-wide IPC/storage/menu/lifecycle/appearance exceptions.

Also correct the xscreensaver watch parser: real output uses UNBLANK for unlock, while BLANK and RUN leave the lock state unchanged.

User decisions:
- Simplify the pill without a separate BrowserWindow
- Keep the top-center pill and native click-through/focus
- Match the lock handling to the real xscreensaver event names
2026-11-09 22:48:59 +00:00
James Long
7015c3fb44 fix(plugin): keep auxiliary window helpers out of the SDK
Move the app-only auxiliary-window marker to the workspace-only builtin entry and identify windows with a globally registered symbol, so bundled copies share the mark without exposing the helper as public SDK.

User decisions:
- Keep the marker shared across module loaders with a global symbol
- Do not expose app-only window helpers in the public SDK
2026-11-09 21:10:58 +00:00
James Long
dcf9dd923e fix(desktop): keep auxiliary overlays out of host wiring
Skip the privileged bridge and session-end wiring for child overlays before their renderer loads, in addition to the trusted-URL check on the transport port.

User decisions:
- Keep the top-center Disconnected pill above the live page
2026-11-09 21:00:24 +00:00
James Long
6db25efbe5 fix(desktop): match the pill window edge to its surface
On Linux without a compositor the shaped pill window paints its background at the rounded edge. Match it to the resolved theme surface instead of leaving a dark rim.

User decisions:
- Keep the top-center Disconnected pill
2026-11-09 20:58:25 +00:00
James Long
e5d1a00fc4 fix(desktop): harden the browser pill and Linux lock detection
Keep the top-center Disconnected pill, but make it one lazy auxiliary window per main window instead of one per page. Mark overlays so privileged IPC, storage broadcasts, appearance, menu and lifecycle skip them, and resolve the pill's label, font and colors from the browser catalog and app tokens. Destroy the pill before profiling cleanup.

Release records with the window-scoped live key, keep Linux login1/elogind and screensaver hints separate from the idle fallback, and remember sessions woken while the screen is locked so unlock connects them after a cold start.

User decisions:
- Keep the top-center Disconnected pill over the live page
- Keep pages, tabs and state across lock and reconnect
- Use the app's own theme and language for the pill
- Use Linux login1/elogind when available, with screensaver and idle probes as fallback
2026-11-09 20:52:29 +00:00
James Long
bbd96e439a feat(desktop): show a disconnected pill over live browser pages
Keep the browser page alive and interactive behind a top-center Disconnected pill that passes clicks through to the native view. Preserve tabs, pages and page state across lock and server loss, and release window records even when no binding is active.

User decisions:
- Show the pill above the native view without dimming or freezing the page
- Keep the same tabs, pages and live state across screen lock and reconnection
- Detect Linux screen locks through logind/elogind when available, with the screensaver and idle probes as fallback
2026-11-09 20:05:57 +00:00
James Long
c4bb708203 fix(desktop): make browser record cleanup idempotent and ownership-safe
discardRecord now removes its own record from the map by identity, memoizes closure so dispose and register cannot double-close it, and is awaited by dispose. Failed creations clean up their window listeners; an owner that disappears after the await defers cleanup so a concurrent register can still claim the record. A claimed record is never discarded by a losing registration.

User decisions:
- Keep the lock disconnect and unlock reconnect behavior
- Preserve live browser state across lock and reconnect
- Do not discard a shared record claimed by a concurrent register
2026-11-09 17:30:00 +00:00
James Long
27fb67693a fix(desktop): fence browser records, tunnels and lock probes
Concurrent registrations for one session now share a single in-flight record, re-check ownership after the await, and discard unowned records when the pane disposes or locks. Proxy tunnels are bound to the upstream that opened them, so old tunnel IDs can never be sent over a replacement connection. Explicit lock and sleep states outrank idle probes until unlock/resume. The disconnected notice row and its English string are removed; connection state remains on the pane.

User decisions:
- Keep the lock disconnect and unlock reconnect behavior
- Preserve live browser state across lock and reconnect
- Remove the disconnected notice row and its i18n string
2026-11-09 17:25:11 +00:00
James Long
dca57f8f47 feat(desktop): keep live browser pages across lock and reconnect
The desktop now keeps each session's browser partition, proxy, pages and tab IDs in main across a server disconnect and a screen lock. A locked screen ends the server attachment, stops retries and commands, and revokes the browser tools; unlocking reattaches the same WebContents, rebinds the tunnel and restores the tools. In-flight requests are cancelled, no command is replayed, and permanent closes (window close, session removal, plugin dispose) still release everything.

User decisions:
- Lock ends the browser attachment and removes the browser tools
- Unlock reattaches the same live pages automatically
- Browser pages, tab IDs, profile, cookies, storage, form and scroll state survive
- Always on, with no setting
2026-11-09 17:17:36 +00:00
James Long
da5e21427d feat(desktop): drop the desktop's browser tools while the screen is locked
The desktop watches for the lock screen (macOS and Windows events, the
idle state on Linux), sleep, and a macOS switch to another login session.
While locked, main ends every browser attachment, so the server drops the
browser tools from its sessions, and refuses new ones. Windows keep the
tabs and attach again when the screen unlocks.

User decisions:
- Disable client-side tools whenever the screen is locked, on every platform where it can be detected
- The tools just disappear; no special message for the agent
- Always on, with no setting
2026-11-09 14:31:49 +00:00
usrnk1
ed0171f08a
feat(app): mark sessions read or unread from their menus (#62889) 2026-11-09 14:25:06 +00:00
Stefan Avram
be6b87ef48
docs(console): lower Claude Sonnet 5.5 cached read price to $0.10 (#62887) 2026-11-09 08:13:38 -06:00
Adam
05099eaa0b
refactor(codemode): remove the import cycle in interpreter (#62886) 2026-11-09 07:38:49 -06:00
Adam
4652f1f27b
refactor(core): remove the import cycle in v1 migration (#62885) 2026-11-09 07:37:55 -06:00
Adam
3234502091
refactor(tui): remove the import cycle in plugin (#62884) 2026-11-09 07:37:49 -06:00
opencode-agent[bot]
2f0e2dbbff
docs(go): add LongCat 2.5 Free to Free and Go (#62878)
Co-authored-by: Jack <jack@anoma.ly>
2026-11-09 20:47:52 +08:00
Kit Langton
12a661ea40
fix(app): drop the dead plugin-boot retry on catalog syncs (#62830) 2026-11-08 22:35:57 -08:00
Aiden Cline
4de7680c3b
refactor(core): run GitHub Copilot on native ai protocols (#62034)
Co-authored-by: exe.dev user <exedev@anton.exe.xyz>
2026-11-09 00:34:25 -06:00
Aiden Cline
66071f9edd
fix(core): refresh MCP OAuth tokens under the shared credential lock (#62827) 2026-11-09 00:30:13 -06:00
Aiden Cline
550bf20cb8
fix(core): stop applying well-known remote config after logout (#62760)
Co-authored-by: 2SinceJuly <202121119+2SinceJuly@users.noreply.github.com>
2026-11-09 00:08:10 -06:00
Aiden Cline
8e756809a1
docs: document cache.ttl and per-model cache.warming (#62829) 2026-11-08 23:53:57 -06:00
smagnuso
894e30395c
feat(acp): support _session/steering (#54394)
Co-authored-by: Dan Smolsky <dannysmo@gmail.com>
2026-11-09 00:32:39 -05:00
Aiden Cline
71f3696424
fix(core): stop retrying ChatGPT workspace usage limits (#62823) 2026-11-08 23:07:03 -06:00
Aiden Cline
fee1ca5aa9
feat(ai): support predicate criteria in decisions (#62819) 2026-11-08 22:25:31 -06:00
Aiden Cline
f29228b003
fix(core): refresh the Copilot API endpoint with the model list (#62171)
Co-authored-by: exe.dev user <exedev@anton.exe.xyz>
2026-11-08 22:06:58 -06:00
Aiden Cline
bcaf561d94
fix(server): stop waiting for plugins in request handlers (#62796) 2026-11-08 22:04:17 -06:00
Kit Langton
adb0053d09
feat(core): tag shell, tool and model-stream spans with session, agent and command (#62806) 2026-11-08 18:43:36 -08:00
Luke Parker
765d850b8f
chore: let bun resolve strobe's Windows on Arm package (#62804) 2026-11-09 02:22:03 +00:00
Luke Parker
30c90b7a19
chore(perf): bench with strobe 0.23.0 (#62799) 2026-11-08 20:12:43 -06:00
Aiden Cline
6aef6aa81e
feat(core): say which credential changed in credential.updated (#62762) 2026-11-08 19:16:05 -06:00
Luke Parker
6973d89bf5
docs: strobe moved to github.com/anomalyco/strobe (#62706) 2026-11-08 18:33:20 -06:00
Kit Langton
7d5b722508
fix(core): tail reads from the end of a file and suggest close file names (#62147)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-11-08 17:31:32 -06:00
Adam
eedb7fb3d0
fix(site): point the legal history's hosted agents entry at dev's commit (#62790) 2026-11-08 17:13:59 -06:00
Adam
9e9b551e3a
docs(legal): cover hosted agent sessions and their retention (#62789) 2026-11-08 17:08:56 -06:00
Dan Smolsky
dc71d5f94b
fix(desktop): restore the review shortcut (#62567) 2026-11-08 17:01:52 -05:00
opencode-agent[bot]
fe0a88ce3f
Remove Frantic Ferret Free from docs (#62780) 2026-11-08 13:02:00 -08:00
Adam
1284450a03
feat(core): frame Console channel follow-up wakes as maybe unrelated, and let watch take minutes (#62774) 2026-11-08 14:27:30 -06:00
Aiden Cline
ff4a652d1b
fix(app): slide the side panel shut when its last tab closes (#62758)
Some checks failed
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Has been cancelled
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Has been cancelled
bot-nix-hashes / hash (macos-latest, aarch64-darwin) (push) Has been cancelled
check-nix / nix-eval (push) Has been cancelled
check-test / affected packages (push) Has been cancelled
check-test / unit (linux) (push) Has been cancelled
check-test / unit (windows) (push) Has been cancelled
check-test / build (linux) (push) Has been cancelled
check-test / build (windows) (push) Has been cancelled
check / typecheck (push) Has been cancelled
deploy-files / deploy (push) Has been cancelled
deploy-site / deploy (push) Has been cancelled
deploy / deploy (push) Has been cancelled
bot-nix-hashes / compute (push) Has been cancelled
bot-nix-hashes / publish (push) Has been cancelled
check-test / e2e (, ) (push) Has been cancelled
check-test / e2e (linux) (push) Has been cancelled
check-test / e2e (windows) (push) Has been cancelled
2026-11-08 13:05:45 -06:00
opencode-agent[bot]
cf3381e0d4
Add Frantic Ferret Free (#62770)
Co-authored-by: Daniel <daniel@anoma.ly>
2026-11-08 10:51:27 -08:00
Dan Smolsky
088682cb1e
fix(desktop): show an error when opening a path in the default app fails (#62572) 2026-11-08 13:29:06 -05:00
Dan Smolsky
a687c047af
fix(core): keep a v1 provider's baseURL when api is also set (#62570) 2026-11-08 13:04:14 -05:00
Luke Parker
c73ca453a1
chore(perf): bench with strobe 0.22.0; tabs' warm switches end on the frame after the answer (#62764) 2026-11-08 11:41:43 -06:00
James Long
e42d622a75
fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00