GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(desktop): browser toolbar with mobile and custom viewport sizes by usrnk1 · Pull Request #63819 · anomalyco/opencode

Conversation

@usrnk1

@usrnk1 usrnk1 commented Nov 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Issue for this PR

Related to #62560 (mobile view in the desktop browser).

Type of change

  • New feature

What does this PR do?

Use the toolbar button or ⌘⇧M / Ctrl+Shift+M in a desktop browser tab to preview a page at a device preset or a custom size. Rotate, drag the edges, or switch between Fit and a manual scale. Closing the toolbar restores the full pane; reopening it restores that tab’s selection.

The toolbar is available only in local and dev builds. Beta and stable builds hide the button and don't register the shortcut (viewportToolbarAvailable in viewport-toolbar-machine.ts). To ship it, remove that check.

Phone and tablet presets enable Chromium mobile layout and touch input. The embed host clips oversized previews so they can be panned, and the browser plugin accounts for the preview scale when picking elements or taking screenshots.

How did you verify your code works?

  • On the branch merged with dev at 95b0de8aa3, bun run check passed (35 tasks) and bun run lint:changed origin/dev reported zero problems.
  • 201 browser unit tests passed, including the channel rule. All 57 browser-pane component tests passed. "draws only the address at rest when focus leaves the window" is flaky: it failed 3 of 6 runs on both this branch and an unmodified dev. The component tests cover live reflow while a handle is held and the focus ring after a click compared with the keyboard.
  • In isolated Electron on macOS, dragging a handle to 320 CSS px rewrapped the page from 4 lines to 7 at the same font size while the pointer was held. Releasing over the page still ended the drag, in both Fit and manually scaled previews.
  • In isolated Electron, checked mobile viewport meta tags, touch input, rotation, switching back to desktop, and hit testing inside and outside a panned preview.

Screenshots / recordings

Visual

Same Project preview story, light theme, 960 × 844 viewport, and 2× pixel density. The after capture selects iPhone SE (375 × 667) at Fit 100%.

Before (dev) After
Page fills the browser pane Device toolbar with the same page at iPhone SE size

Dragging a viewport handle now resizes the live page instead of stretching a still image. Native Electron harness, pointer held at 320 CSS px:

Before After
Still of the page squeezed horizontally while dragging Live page rewrapped to the new width while dragging

Clicking the toolbar toggle no longer shows the focus ring. Tab and ⌘⇧M still show it:

Before After
Focus ring on the toggle after a click No focus ring on the toggle after a click

Checklist

  • Tested locally.
  • Only viewport-related changes are included.

Before merge

  • Rollout: the toolbar is limited to local and dev builds by a release-channel check rather than a core feature flag, which would need packages/schema. Hona, please confirm this works for you.
  • Get Hona’s review of packages/gui-plugins and the approved BridgeLayout.clip addition in packages/plugin/src/gui/host.ts.
  • macOS: fullscreen preserved the panned preview and its clipping. Typing now resumes without a click after exiting fullscreen: the owned window focuses its page whenever it becomes key. Switching between existing Spaces and using Stage Manager still need a manual pass. Native check.

Added by the opencode bot (AI-generated).

Related: #62560

Public API: adds optional clip to the plugin BridgeLayout and the browser.toggleToolbar command (mod+shift+m, local/dev builds only) (backwards compatible)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
usrnk1 added 3 commits November 13, 2026 18:51
@usrnk1
feat(desktop): clip oversized browser previews to the pane
d65035a
@usrnk1
feat(browser): emulate mobile viewports per tab
03ec458
@usrnk1
feat(desktop): add device presets and resize controls to browser tabs
ad2eaf2
@github-actions github-actions Bot added the contributor label Nov 13, 2026
@usrnk1
usrnk1 requested a review from Hona November 13, 2026 17:54
@usrnk1
usrnk1 marked this pull request as ready for review November 13, 2026 17:57
opencodejr[bot]
opencodejr Bot reviewed Nov 13, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed this from the code and ran the unit tests and type checks. I couldn't run it, because it needs the Electron desktop pane. The gui-plugins browser tests (200) and browser-pane-model.test.ts pass, and tsc -b shows no errors in gui-plugins and desktop. The overall approach looks sound: one queue per page writes the viewport metrics, and screenshots and pointer actions wait on that same queue. Pointer input, screenshots and element picks now take the preview scale and visual-viewport offset into account.

Public API: this adds an optional clip to BridgeLayout in @opencode/plugin/gui/host, and to the desktop PluginLayout IPC schema. It also adds the browser.toggleToolbar command (mod+shift+m) and the browser plugin's internal setViewport IPC method. The page pane event now requires viewport, but only the plugin's own main and renderer use it, and they ship together. All of this is backwards compatible: existing callers that leave out clip behave as before.

Concerns:

  • Rollout flag: as the description notes, the toolbar isn't gated yet, so it shows wherever the browser pane does. That should land before merge.
  • macOS child window: an owned BaseWindow is used to clip oversized previews (inline comment).
  • Large previews have no snapshot: common large manual previews never get a page snapshot (inline comment).

Related: #62560

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/desktop/src/main/plugin/embeds.ts
}

// On Cocoa a parent View clips the page's pixels; hit testing requires an owned window.
function createClip(entry: Entry) {

@opencodejr opencodejr Bot Nov 13, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This creates a separate owned BaseWindow on macOS for every oversized manual preview. That gives a second window that can take key status, so focusHost has to work around it. It also has to follow its parent through move, hide and minimize by hand, and Spaces, fullscreen and Stage Manager aren't handled yet (the description already lists that check). All of this is tied to one plugin feature. If the hit-testing problem can be solved inside the parent window, for example by resizing the view to the clip and scrolling the page with CDP, that would avoid a lot of lifecycle risk. Otherwise it would be good to have that macOS check done, and the reasoning written down, before this merges.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@usrnk1 usrnk1 Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked a focused, panned 200% preview on macOS 27.0.1 with Electron 44.9.1. Entering and exiting native fullscreen preserved the child window’s placement, clipping, and pan offset. The guest field accepted typing immediately on entry. On exit it lost keyboard focus and needed one click before typing resumed. Switching between existing Spaces and Stage Manager still need a manual pass.

The reason for the owned window is hit testing: in the single-window experiment, clicks eight points outside the visible crop still reached the hidden page beneath an app control. The owned window routed those clicks to the app and clicks inside the crop to the correct page element.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

opencodejr[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

@opencodejr opencodejr Bot Nov 13, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That reasoning holds up. If clicks 8 pt outside the visible crop still reach the hidden page under an app control, a single-window approach is broken for exactly the panned case this PR is for, so the owned BaseWindow is the right choice. The comment on line 284 already says why. I'd add one sentence there about what you measured ("a clipped View still routes clicks outside the crop to the page"), so nobody tries to fold it back into a single window later.

Focus loss on fullscreen exit. Nothing in embeds.ts listens for fullscreen transitions. The only refreshes come from resize/move/show/hide/restore/minimize (lines 180–185). When fullscreen ends, macOS makes the parent the key window, so the guest in the child window loses keyboard focus. A small fix:

// in create(), next to the other window listeners
window.on("enter-full-screen", refresh)
window.on("leave-full-screen", () => {
  refresh()
  entries.forEach((entry) => {
    const child = entry.clip?.window
    if (entry.window !== window || !child || child.isDestroyed() || !entry.onscreen) return
    if (entry.view.webContents.isFocused() || entry.focusedBeforeFullscreen) {
      child.focus()
      entry.view.webContents.focus()
    }
  })
})

webContents.isFocused() may already be false by the time leave-full-screen fires. If so, record whether the guest had focus in enter-full-screen (that's what focusedBeforeFullscreen is for) and check that flag instead. Only move focus back when the guest actually had it, otherwise the panned preview will take focus from the app.

Still open before merge:

  • A manual pass switching between existing Spaces and with Stage Manager on. The child has no fullscreenable or Space handling of its own, so it depends entirely on macOS moving owned windows with their parent. That's usually reliable for parent: windows, but it hasn't been confirmed here.

I only read embeds.ts (lines 60–330). I didn't run anything, since I can't test macOS window behaviour in this Linux checkout, and the snippet above is untested. I made no changes. The modified bun.lock in the checkout was already there and I didn't touch it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@usrnk1 usrnk1 Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the fullscreen-exit focus in 8273179. Rather than handling leave-full-screen, which raced macOS re-keying the child, the owned clip window focuses its page on its own focus event. It acts only once the child is already key, so it cannot take focus from another window. In an isolated Electron harness on macOS 27.0.1 with production createEmbeds, the guest kept focus after exiting fullscreen in 4 of 4 runs (0 with HEAD). Another window that was key during the exit kept it, and clicks between the guest and the parent page moved focus with one event each. Spaces and Stage Manager still need a manual pass.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

opencodejr[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

@opencodejr opencodejr Bot Nov 17, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8273179 looks right to me, and handling the child's own focus event is a better fix than the leave-full-screen handler I suggested.

  • It can't take focus from another window. It only runs once the child is already key, and the child window contains nothing except the guest view. Your result that another window that was key during the exit kept focus matches that.
  • No listener is left behind. When the clip window is no longer needed, apply moves the view back to the parent's contentView first and then disposeClip destroys the window. release removes the view and destroys the window too. Destroying the window removes the focus listener with it, so it can never point at a view that now lives in the parent.
  • It doesn't fire twice. The !isFocused() check stops it from calling focus again when a click inside the guest has already focused it, which fits clicks between the guest and the parent page moving focus with one event each.

Nothing else needs to change for this thread. Spaces and Stage Manager are still the only open macOS check, and the "Before merge" list already says so.

I read the diff against the surrounding apply, release and disposeClip code but didn't run it, since this checkout is Linux. I made no changes, and the modified bun.lock in the checkout was already there.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/desktop/src/main/plugin/embeds.ts
const image = await entry.view.webContents.capturePage()
const { width, height } = entry.view.getBounds()

// Even a small cutout needs a still of the full view at native density.

@opencodejr opencodejr Bot Nov 13, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Above 16 MP this returns no snapshot (still) at all. That isn't an edge case: the Desktop preset (1440×900) at 200% on a 2× display is about 20.7 MP, and Laptop (1280×720) at 200% is about 14.7 MP. Without a snapshot, opening a menu or dialog, picking an element, or dragging a resize handle (frozen) shows a blank box where the page should be. Capturing at a lower scale when over the limit would avoid that. Another option is capturing just the visible clip, since it's 16 MP that has to fit, not the whole preview.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@usrnk1 usrnk1 Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 635ea74. A view above 16 MP is no longer dropped: it is still captured at native density, then downscaled to 16 MP before the JPEG encode, so the Desktop at 200% (about 20.7 MP) and Laptop at 200% presets now get a snapshot. Electron capturePage cannot capture below native density, and the renderer paints the still over the full box, so I kept the capture whole instead of clipping it. Only views above 64 MP (the transient capture size) still return no snapshot.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

opencodejr[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

@opencodejr opencodejr Bot Nov 13, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix works for the presets. In embeds.ts:330-343, the 16 MP limit now sets the output size rather than refusing to capture. The still is resized with the aspect ratio kept, and the renderer stretches it over the full box (packages/app/src/runtime/plugin/embeds.tsx:489, absolute inset-0 size-full), so a smaller bitmap only makes it softer. The largest preset is 1440×900 at 200% on a 2× display, about 20.7 MP, which is well under the new 64 MP cap, so every preset now gets a still. I agree with keeping the full-box capture: a clip-only still would need the renderer to position it.

Two gaps remain, and both come from custom sizes:

  • Large custom sizes still get no snapshot. validDimension accepts up to 4096×4096 (viewport-controls-machine.ts:37). At 200% on a 2× display, 4096×2160 is about 141 MP and 3840×2160 is about 133 MP, so both still show a blank box while frozen. 64 MP corresponds to roughly 2830×2830 CSS px at an effective 4×. If that's acceptable, it may be worth a line in the PR description. If not, cap the manual scale for large custom sizes.
  • The memory cost is real. A capture near the limit allocates about 256 MB of RGBA, plus the resized copy and the JPEG. That's fine for occasional captures, but the warm-still timer captures repeatedly, so a 2× preview of a large custom size will spike main-process memory each time. Very large captures may also come back empty if they go past Chromium's maximum texture size (often 16384 px per side); isEmpty() already handles that case.

I only read the diff and the code around it. I didn't build or run Electron, so the downscaled output and capture behaviour near the limit are untested. I made no changes; the bun.lock modification already in the checkout isn't mine and I left it in place.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@usrnk1 usrnk1 Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No code change for the two remaining gaps.

  • Large custom sizes. The 64 MP capture cap in embeds.ts (MAX_CAPTURE_PIXELS) is deliberate. Electron capturePage cannot capture below native density, so a view above it would need a multi-hundred-MB transient bitmap. Sizes past about 2830×2830 CSS px at an effective 4× are custom values at the 4096 limit, not presets. For those the box shows blank only while frozen (menu, dialog, pick or resize drag), and the live view returns afterwards. Capping the manual scale for large custom sizes would add behavior nobody has asked for.
  • Memory cost. The spike applies only to a large custom size at a high scale, which is rare. I have not measured it, so I would rather not add throttling or tiling for it now. If it shows up in practice, the fix is to lower MAX_CAPTURE_PIXELS. capture already returns no still for an empty image, which covers the case where Chromium cannot allocate a texture that large.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

opencodejr[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

@opencodejr opencodejr Bot Nov 13, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, nothing else is needed for this thread. Both trade-offs are fine as stated:

  • The blank still only shows while the page is frozen for a menu, dialog, element pick or resize drag. It only happens with large custom sizes near the 4096 limit, and the live view comes back after. That's acceptable.
  • If the memory spike turns out to matter, lowering MAX_CAPTURE_PIXELS is a one-line change. The isEmpty() return already covers a capture that fails because the texture is too large.

I didn't change anything in the checkout.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@usrnk1 usrnk1 changed the title feat(desktop): preview browser tabs at mobile and custom viewport sizes feat(desktop): browser toolbar with mobile and custom viewport sizes Nov 13, 2026
usrnk1 added 3 commits November 13, 2026 21:42
@usrnk1
fix(desktop): downscale large browser stills instead of dropping them
635ea74
@usrnk1
Merge branch 'dev' into browser-viewports
02489e4
@usrnk1
fix(desktop): reflow pages during viewport drags and show focus rings…
1c104f2
… for keyboard use
opencodejr[bot]
opencodejr Bot reviewed Nov 13, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit 635ea74 fixes the blank-snapshot problem from my last review: large stills are now downscaled instead of dropped. Only previews above 64 MP at native density still get no still, and no preset reaches that at 200% on a 2× display. I read the change and ran tsc -b in packages/desktop, which reported no errors. I couldn't run it, because it needs the Electron desktop app. The rest of the push is a merge from dev that doesn't touch the viewport code. The public API impact is unchanged since my last review: an optional clip on BridgeLayout and the browser.toggleToolbar command (mod+shift+m), both backwards compatible. The macOS child-window thread and the missing rollout flag are still open.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
usrnk1 added 2 commits November 16, 2026 12:14
@usrnk1
Merge origin/dev into browser-viewports
22d8d3e
@usrnk1
Merge origin/dev into browser-viewports
90ebedd
opencodejr[bot]
opencodejr Bot reviewed Nov 16, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit 1c104f2 looks sound and raises no new concerns. Dragging a handle now updates the live page instead of a frozen still, and that's safe because the viewport writer drops stale requests while a resize is in flight. Clicking the toggle no longer shows a focus ring, while ⌘⇧M and Tab still do. I read the diff and ran the gui-plugins browser tests (200 pass) and tsc -b (no errors). I couldn't run it, because it needs the Electron desktop app. The public API impact is unchanged: an optional clip on BridgeLayout and the browser.toggleToolbar command (mod+shift+m), both backwards compatible. The snapshot-size thread was already fixed by 635ea74. The macOS child-window thread stays open: fullscreen is now checked, but switching Spaces and Stage Manager still need a pass.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@usrnk1
Merge branch 'dev' into browser-viewports
37bafb8
opencodejr[bot]
opencodejr Bot reviewed Nov 16, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This push is only a merge from dev, and none of the pull request's files changed. On the merged head, the gui-plugins browser tests (200) pass and tsc -b reports no errors. I couldn't run the feature, because it needs the Electron desktop app. The public API impact is unchanged: an optional clip on BridgeLayout and the browser.toggleToolbar command (mod+shift+m), both backwards compatible. The macOS child-window thread stays open, since switching Spaces and Stage Manager still need a manual check.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@usrnk1
Merge branch 'dev' into browser-viewports
edfaa7e
opencodejr[bot]
opencodejr Bot reviewed Nov 17, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This push is only a merge from dev, and none of the pull request's files changed. On the merged head, the gui-plugins browser tests (200) pass and tsc -b reports no errors. I couldn't run the feature, because it needs the Electron desktop app. The public API impact is unchanged: an optional clip on BridgeLayout and the browser.toggleToolbar command (mod+shift+m), both backwards compatible. The macOS child-window thread stays open, since switching Spaces and Stage Manager still need a manual check.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
usrnk1 added 2 commits November 17, 2026 14:16
@usrnk1
feat(desktop): limit browser device previews to local and dev builds
37d8a4c
@usrnk1
Merge origin/dev into browser-viewports
3c92938
opencodejr[bot]
opencodejr Bot reviewed Nov 17, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new commit limits the toolbar to local and dev builds, and the gate works. In beta and stable builds the toggle button is hidden and the browser.toggleToolbar command isn't registered. Choices aren't saved anywhere, so nothing can turn on a fixed viewport without the toolbar. I read the change and ran the gui-plugins browser tests (201 pass, including the new channel test) and tsc -b (no errors). I couldn't run the feature, because it needs the Electron desktop app. The public API impact is unchanged: an optional clip on BridgeLayout and the browser.toggleToolbar command (mod+shift+m), both backwards compatible.

One gap the gate leaves: keys.ts still adds m to shellShiftKeys in every build. In beta and stable, ⌘⇧M / Ctrl+Shift+M pressed inside a page is taken from the page and then nothing runs it. It's worth applying the same channel check there.

The macOS child-window thread stays open.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
usrnk1 added 2 commits November 17, 2026 14:27
@usrnk1
fix(gui-plugins): leave the device toolbar chord to the page in build…
fd1372b
…s without the toolbar
@usrnk1
docs(desktop): record why oversized previews use an owned window on m…
b1d424e
…acOS
@usrnk1

usrnk1 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Re the review that noted keys.ts adds m to shellShiftKeys in every build: fixed in fd1372b. pageShortcut now takes a toolbar flag, set from viewportToolbarAvailable(ctx.app.channel) in main.ts. ⌘⇧M / Ctrl+Shift+M is only taken from the page when the toolbar is registered. Beta and stable builds leave it to the page. Added a test in keys.test.ts.

Re the macOS child-window thread, the one-sentence note on why the owned window exists (a clipped View still routes clicks outside the crop to the page) is in b1d424e. The fullscreen-exit focus handling and the Spaces / Stage Manager check are still open and need a manual pass on macOS.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

opencodejr[bot]
opencodejr Bot reviewed Nov 17, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The shortcut gap from my last review is fixed: ⌘⇧M / Ctrl+Shift+M is now taken from the page only in builds that have the toolbar, and other shortcuts are unchanged. The new comment on createClip explains why oversized previews keep the owned window on macOS. That thread stays open until switching Spaces and Stage Manager get their manual check. I read the changes and ran the gui-plugins browser tests (202 pass) and tsc -b (no errors). I couldn't run the feature, because it needs the Electron desktop app. The public API impact is unchanged: an optional clip on BridgeLayout and the browser.toggleToolbar command (mod+shift+m, local and dev builds only), both backwards compatible.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
usrnk1 added 2 commits November 17, 2026 14:49
@usrnk1
fix(desktop): keep typing in oversized macOS previews after leaving f…
8273179
…ullscreen
@usrnk1
Merge branch 'dev' into browser-viewports
faefcd8
@usrnk1
usrnk1 enabled auto-merge (squash) November 17, 2026 13:53
@usrnk1
usrnk1 merged commit 1cb0633 into dev Nov 17, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@usrnk1
usrnk1 deleted the browser-viewports branch November 17, 2026 13:54
@thdxr thdxr mentioned this pull request Nov 17, 2026
add the browser device toolbar anomalyco/opencode-rune#162
Merged
Hona added a commit that referenced this pull request Nov 18, 2026
@Hona
Merge remote-tracking branch 'origin/dev' into persisted-browser
4a14d03
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.
@Hona Hona mentioned this pull request Nov 18, 2026
feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards #63002
Merged
@github-actions github-actions Bot mentioned this pull request Nov 20, 2026
feat: opencode release v2.3.1 sprisa/opencode-server#93
Merged
internetisalie added a commit to internetisalie/opencode that referenced this pull request Nov 22, 2026
@internetisalie @jlongster
@opencode-agent @adamdotdevin @rekram1-node @iamdavidhill @ssskay @claude @R44VC0RP @Hona @thdxr @github-actions @arvsrn @usrnk1 @neriousy Filip Hejmowski @opencodejr @Tarquinen @MrMushrooooom @vaprdev @kitlangton James Long Brendan @heimoshuiyu @aidenanomaly @yhibo
chore(opencode): merge upstream v2.3.2 and remove Loom session mirror…
d80874c
…ing (#24)

* fix(app): order Recent sessions by the last list reload and drop the rename guard (anomalyco#63370)

* fix(session-ui): keep links whose label contains inline code (anomalyco#63587)

* docs(console): add Gemini 4 Hydrogen to Zen (anomalyco#63589)

Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>

* fix(core): resume directly driven child sessions after restart (anomalyco#63415)

* docs(console): document Send identity on custom providers (anomalyco#63596)

* fix(core): drop stale thinking when Claude Agent prompts or tools change (anomalyco#63592)

* fix(codemode): decode UTF-8 across chunk boundaries (anomalyco#63600)

* refactor(site): put every neutral grey on one shared scale (anomalyco#63604)

* fix(tui): give shell mode its own prompt color under new designs (anomalyco#63605)

* fix(tui): drop tool-result image bytes from the transcript store unless image previews are on (anomalyco#63577)

Co-authored-by: Aiden Cline <[email protected]>

* fix(gui-plugins): keep the pairing QR code dark on light in every theme (anomalyco#63220)

Co-authored-by: ssskay <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

* feat(site): link the Android app on Google Play (anomalyco#62874)

Co-authored-by: R44VC0RP <[email protected]>

* docs(site): brand colors copy and agent style rules (anomalyco#63621)

* fix(core): return empty structured output from patch (anomalyco#63618)

* refactor(core): return directory and content from the skill tool (anomalyco#63623)

* fix(core): honor plugin tool repairs in Code Mode (anomalyco#63444)

* chore(perf): bench with strobe 0.33.0 (anomalyco#63628)

* fix(core): return write confirmations as strings (anomalyco#63616)

* feat(codemode): stream fetch response bodies (anomalyco#63436)

* revert(core): restore tool dispatch before nested repair (anomalyco#63630)

* refactor(ai): remove Gemini Veo and Runway video protocols (anomalyco#63634)

* fix(core): pass stored message metadata to session request hooks (anomalyco#63590)

* fix(site): update press email (anomalyco#63649)

* docs(protocol): describe parentID on session create (anomalyco#63653)

* refactor(core): expose shell exit code, elapsed time, and log path (anomalyco#63647)

* fix(core): rename instead of deleting when a patch only changes a file's case (anomalyco#63655)

* refactor(core): return the edit summary as a string (anomalyco#63635)

* chore(perf): bench with strobe 0.34.0 (anomalyco#63661)

* feat(ai): graduate video generation with start, status, result and cancel (anomalyco#63657)

* fix(core): only discourage unprompted subagent status checks (anomalyco#63662)

* feat(app): show paced one-time tip toasts (anomalyco#63664)

* feat(app): add hex tip (anomalyco#63668)

* chore(ci): publish dev builds every 6 hours instead of on every push (anomalyco#63674)

* fix(app): remove session search tip and tighten tip copy (anomalyco#63677)

* feat(ai): add OpenRouter video generation (anomalyco#63681)

* fix(core): hide instruction updates a revert left behind (anomalyco#63667)

* feat(ai): add Seedance video generation for Volcengine and BytePlus (anomalyco#63680)

* feat(ai): add MiniMax video generation (anomalyco#63682)

* fix(codemode): suggest tools when a namespace is called (anomalyco#63697)

* feat(plugin): export Tool from the effect entrypoint (anomalyco#63698)

* fix(core): tag subagent reports with pending background work as running (anomalyco#63675)

* feat(ai): add Google Gemini Omni video generation (anomalyco#63683)

* feat(core): present a provider's client certificate on model requests (anomalyco#61832)

* fix(core): give local model discovery 15 seconds instead of 1 (anomalyco#63700)

* fix(core): default a zero shell timeout and stop timed-out background commands (anomalyco#63703)

* feat(ai): add the xAI video entrypoint and keep video provider options (anomalyco#63707)

* feat(core): move timed-out shell commands to the background by default (anomalyco#63699)

* refactor(ai): address video jobs by the provider's job ID (anomalyco#63714)

* docs(core): Console watch tool says CI wakes on a failure and once when all checks finish (anomalyco#63656)

* fix(core): import legacy auth.json only into the user's database file (anomalyco#63716)

* release: v2.3.0 (anomalyco#63719)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(app): keep new timeline status below reports and shorten file lists (anomalyco#63686)

* fix(app): show subagents in grouped activity as events in the New timeline (anomalyco#63685)

* refactor(ai): address async image jobs by ID like video (anomalyco#63720)

* feat(ai): accept only images as video start and end frames (anomalyco#63721)

* feat(core): tell the model its session ID is in OPENCODE_SESSION_ID (anomalyco#63718)

* fix(app): keep subagent rows in order inside grouped activity in the New timeline (anomalyco#63725)

* chore(perf): bench with strobe 0.35.0 (anomalyco#63731)

* fix(app): show hover background on subagent breadcrumbs (anomalyco#63742)

* feat(stories): browse app states in the standalone components lab (anomalyco#63737)

* test(gui-plugins): add interactive workspace, browser, and pairing stories (anomalyco#63734)

* feat(ui): expand interactive stories and compare icon artwork (anomalyco#63735)

* feat(session-ui): make session stories configurable and preview file media (anomalyco#63738)

* fix(app): hide zero session cost for OpenCode Go (anomalyco#63744)

* fix(session-ui): keep message meta lines visible in the New timeline (anomalyco#63749)

* fix(ui): switch submenus without blinking and keep them open on the way in (anomalyco#63739)

Co-authored-by: Filip Hejmowski <[email protected]>

* fix(app): tidy New timeline questions, moves, compaction and shells (anomalyco#63751)

* fix(tui): drop ttft from the assistant footer (anomalyco#63759)

* feat(app): wait an hour after first launch before the first tip (anomalyco#63760)

* chore(perf): bench with strobe 0.36.0 (anomalyco#63765)

* refactor(ai): ignore video sound on models that can't switch it (anomalyco#63726)

* fix(core): enforce default read limits for small text files (anomalyco#63810)

* fix(core): preserve a single blank line in paged reads (anomalyco#63809)

* test: isolate submenu timing, server config and terminal colors (anomalyco#63803)

* chore(perf): bench with strobe 0.37.0 (anomalyco#63812)

* fix(core): reject a zero limit on read calls (anomalyco#63808)

* fix(core): match both six-byte GIF signatures (anomalyco#63811)

* refactor(core): skip the text MIME scan when checking for media (anomalyco#63823)

* feat(app): find in side panel previews (anomalyco#63663)

* fix(core): keep text starting with BM readable (anomalyco#63822)

* fix(app): polish the connect dialog sign-in steps (anomalyco#63829)

* fix(ui): dismiss tooltips when their trigger is pressed (anomalyco#63834)

* chore(perf): bench with strobe 0.38.0 (anomalyco#63883)

* fix(ui): keep the redirect paste field named after its label only (anomalyco#63885)

Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>

* chore(perf): bench with strobe 0.39.0 (anomalyco#63893)

* chore(perf): bench with strobe 0.40.0 (anomalyco#63914)

* chore(perf): bench with strobe 0.41.0 (anomalyco#63918)

* perf(app): measure main-thread work to scroll history (anomalyco#63923)

* chore(perf): bench with strobe 0.42.0 (anomalyco#63957)

* fix(core): identify invalid filename globs in search tools (anomalyco#63960)

* docs(go): remove Gemini 4 Argon from Go (anomalyco#63963)

Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>

* Revert "docs(go): remove Gemini 4 Argon from Go" (anomalyco#63969)

* fix(app): clarify hex tip copy (anomalyco#63974)

* fix(app): use consistent dialog sizes (anomalyco#63432)

* fix: keep text cuts from splitting characters (anomalyco#63967)

* fix(app): never count subagents in the new timeline (anomalyco#64017)

* fix(core): preserve UTF-8 across shell output pages (anomalyco#63984)

* feat(app): status chips for subagent rows in the new timeline (anomalyco#64102)

* fix(core): keep Claude Agent models from falling back to 200k context (anomalyco#64107)

* fix(core): report subagent state from outstanding work (anomalyco#64026)

* refactor(ai): unify generation status to running, completed and error (anomalyco#64109)

* feat(app): hide the hex tip when hex is installed (anomalyco#64130)

* fix(desktop): match rune hex installation checks (anomalyco#64131)

* fix(app): no spinner on subagent rows in the new timeline (anomalyco#64132)

* feat(app): name a paired server from its QR code (anomalyco#64139)

* docs(go): add Qwen4 Max (anomalyco#64144)

Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>

* fix(server): answer handler defects with a readable 500 instead of an empty one (anomalyco#64022)

* feat(ai): scope HTTP middleware to any call, for every modality (anomalyco#64152)

* fix(ui): don't fade animated-number digits at rest (anomalyco#64155)

Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>

* docs(go): add Hy4 flash Free to Free and Go (anomalyco#64172)

Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>

* chore(site): show New on Hy4 flash Free instead of Hy4 in the Go chart (anomalyco#64178)

* fix(app): restyle the timeline detail slider and visibility buttons (anomalyco#64186)

* fix(app): match the sidebar peek's end inset to its start inset (anomalyco#64192)

* fix(desktop): keep drafts storage out of the CLI database (anomalyco#64203)

* fix(ui): cap large dialogs at 720px and extra-large dialogs at 880px (anomalyco#64206)

* fix(app): add missing translations (anomalyco#64205)

* fix(app): confirm before disconnecting providers or removing accounts in settings (anomalyco#64212)

* fix(browser): space URL bar action buttons 6px apart (anomalyco#64214)

* fix(app): enlarge image attachment thumbnails to 3:2 (anomalyco#64215)

* fix(app): hide the sidebar resize pill (anomalyco#64219)

* fix(app): unify dialog styles (anomalyco#64216)

* feat(app): replace Home in the desktop Projects sidebar (anomalyco#64220)

* test(app): check the eye hover overlay on background-image after the neutral restyle (anomalyco#64209)

Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>

* feat(app): replace Home with Settings in the Customize sidebar (anomalyco#64227)

* fix(stories): let Components Lab load stories that import Navigate (anomalyco#64229)

* fix(app): show the base branch for new worktrees and apply branch picks immediately (anomalyco#64228)

* test(app): use the locale's labels in the background activity alignment e2e (anomalyco#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>

* fix(app): show every provider as a card in Manage models (anomalyco#64235)

* fix(ai): drop reasoning details when the model declares another field (anomalyco#64243)

Co-authored-by: MrMushrooooom <[email protected]>

* fix(tui): close a tab removed by another TUI to its neighbour (anomalyco#64261)

* fix(cli): stream ACP turns woken by background shells (anomalyco#64262)

* fix(core): match session titles case-insensitively beyond ASCII (anomalyco#64259)

* feat(app): redesign the open project folder picker (anomalyco#64241)

* fix(core): keep unknown ANSI-C escapes the way each shell does (anomalyco#64263)

* docs(site): update the browse page for 0.1.0 (anomalyco#64278)

* docs(go): explain how models share the usage allowance (anomalyco#64288)

* feat(core): add the full_codemode feature flag, off unless opted in (anomalyco#64281)

* feat(core): run background compaction by default (anomalyco#64290)

* feat(core): move shell into Code Mode behind full_codemode (anomalyco#64284)

* ci(process-daemon): pin MSVC 14.51 and cache/prefetch Ghostty dependencies (anomalyco#64285)

* fix(process-daemon): reap shell commands at exit (protocol 9, release 0.6.0) (anomalyco#64266)

* fix(process-daemon): synchronize the controller-switch test with PTY input (anomalyco#64310)

* feat(server): async video generation API with disk-backed media (anomalyco#64140)

* fix(core): give each Code Mode call its own ID (anomalyco#64324)

* docs(console): Go Teams 2-member minimum, and Go workspaces can invite teammates (anomalyco#63627)

* fix(core): honor plugin tool renames in Code Mode (anomalyco#63633)

* docs(go): link Go's per-model lists and tables to Console's Go page (anomalyco#64271)

* docs(go): keep data retention terms until Console shows them (anomalyco#64332)

* fix(core): keep grep results when a match is not valid UTF-8 (anomalyco#62249)

* feat(tui): choose where to save exports in the new export dialog (anomalyco#62490)

* fix(core): ignore a corrupt cached project id (anomalyco#62576)

* feat(core): turn experimental schedules into automations (anomalyco#64160)

* fix(core): return a renamed tool's structured output in Code Mode (anomalyco#64333)

* feat(ai): add mid-conversation tool changes (anomalyco#64166)

* docs(console): move MiniMax M3.1 Flash Free to deprecated models (anomalyco#64342)

Co-authored-by: Jack <[email protected]>

* fix(core): pin @opencode/pty 0.6.0 and use protocol 9 (anomalyco#64251)

* fix(core): raise the Code Mode tool summary limit to 500 characters (anomalyco#64341)

* fix(codemode): drop the null result line before logs (anomalyco#64344)

* test(cli): wait out Windows EBUSY when removing the ACP fixture root (anomalyco#64346)

Co-authored-by: James Long <[email protected]>

* fix(core): include hidden files in ripgrep file search (anomalyco#62577)

* fix(core): skip unreachable wellknown sources instead of dropping all (anomalyco#62578)

* chore: upgrade oxlint to 1.93.0 (anomalyco#64351)

* fix(codemode): accept a plain string query in search (anomalyco#64347)

* refactor(core): simplify read tool structured output (anomalyco#64361)

* feat(codemode): let a synchronous global block on an Effect (anomalyco#64363)

* feat(codemode): add Node's Buffer (anomalyco#64365)

* feat(core): hide grep and glob when full_codemode is on (anomalyco#64364)

* docs: drop deprecated MiMo V2.5 rows from Go retention table (anomalyco#64370)

* fix(site): drop deprecated MiMo V2.5 models from the Go chart (anomalyco#64371)

* feat(core): hide webfetch when full_codemode is on (anomalyco#64372)

* fix(site): use the gateway id for DeepSeek V4.1 Flash in the Go chart (anomalyco#64373)

* docs: MiMo-V2.6-Flash Free is no longer a privacy exception (anomalyco#64377)

* feat(core): enable read in full Code Mode (anomalyco#64368)

* feat(app): render latex and math code fences as display math (anomalyco#64380)

Co-authored-by: Brendan <[email protected]>

* docs(go): raise GLM-5.3 limits to $100 / $200 / $105 (anomalyco#64382)

Co-authored-by: Walter <[email protected]>

* feat(core): enable editing tools in full Code Mode (anomalyco#64386)

* test(core): remove Code Mode flag coverage (anomalyco#64387)

* fix(site): feature the most-used Go models in the Go chart (anomalyco#64391)

* feat(app): open the model picker flyout from the keyboard and show budgets in it (anomalyco#64409)

* fix(session-ui): select diff text and comment on it from a toolbar (anomalyco#64410)

* fix(app): show either the variant or the budget on a model row, never both (anomalyco#64423)

* feat(opencode): publish artifacts to OpenCode Console through a console artifact provider (anomalyco#63929)

* docs(console): list Google as a ZDR exception (anomalyco#64435)

* feat(app): move long message folding to Timeline preferences (anomalyco#64441)

* fix(app): open settings on the first sidebar item by listing preferences first (anomalyco#64440)

* feat(desktop): browser toolbar with mobile and custom viewport sizes (anomalyco#63819)

* fix(session-ui): improve spacing for wrapped question descriptions (anomalyco#64446)

* fix(app): keep the browser pane live while resizing panels on macOS (anomalyco#64443)

* fix(app): keep Use main checkout on one line in the branch picker (anomalyco#64450)

* fix(app): keep long prompts folded during session creation (anomalyco#64452)

* fix(session-ui): restore fading notice dividers in the new timeline (anomalyco#64453)

* feat(ui): add new artwork for 25 more icons (anomalyco#64451)

* docs(console): set up harnesses with the Console CLI (anomalyco#64459)

* fix(session-ui): use flat muted dividers for timeline notices (anomalyco#64462)

* feat(app): pin and mute sessions in the Projects sidebar (anomalyco#64456)

* feat(app): show copy and download actions in text file tabs (anomalyco#64463)

* feat(core): make shell the only Code Mode shell tool, pinned and annotated (anomalyco#64335)

* feat(app): add focus rings and focus visibility review stories to components lab (anomalyco#64460)

* docs(console): drop retired models and list xAI as a ZDR exception (anomalyco#64465)

* feat(ui): ship the new icons and drop the experiment (anomalyco#64466)

* feat(core): background slow Code Mode scripts behind full_codemode (anomalyco#64343)

* refactor(core): simplify websearch tool results (anomalyco#64471)

* docs(console): document image and voice models (anomalyco#64473)

* fix(core): keep ChatGPT sharing safeguards when a token refresh fails (anomalyco#64470)

* feat(core): enable websearch in full Code Mode (anomalyco#64475)

* fix(core): fall back to CLAUDE.md where no AGENTS.md exists (anomalyco#64474)

Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: neriousy <[email protected]>

* feat(app): always show the assistant copy button (anomalyco#64478)

* docs(console): hold the voice model out of the docs for now (anomalyco#64477)

* feat(codemode): let each run pick which of the runtime's extensions it gets (anomalyco#64482)

* feat(core): add Node's path to Code Mode behind full_codemode (anomalyco#64476)

* feat(stories): cover device pairing flows in the Components Lab (anomalyco#64490)

* docs: add GPT 6.2 Sol and Astra to Zen (anomalyco#64491)

* feat(server): report plugin readiness on plugin.list (anomalyco#64029)

* fix(app): focus the composer after switching session tabs by shortcut (anomalyco#64418)

* refactor(codemode): split the language layer from Code Mode (anomalyco#64487)

* fix(app): reload Recent only when a root session is created (anomalyco#64503)

* feat(core): pin read, edit, write, and patch in full Code Mode (anomalyco#64497)

* fix(codemode): reject an unknown tool's promise instead of throwing (anomalyco#64510)

* fix(codemode): let the runtime drop functions and await promises in host-call arguments (anomalyco#64513)

* feat(app): check for and install plugin updates in Settings › Extensions (anomalyco#64511)

Co-authored-by: James Long <[email protected]>

* fix(site): permanent redirects for moved docs and marketing pages (anomalyco#64305)

* feat(codemode): let host functions cross back to the host and let globals be constructible (anomalyco#64472)

* feat(core): add GPT 6.2 Sol and Astra to the ChatGPT model list (anomalyco#64508)

* fix(site): list Console pages in llms.txt; describe llms-full.txt accurately (anomalyco#64520)

* docs: real descriptions and distinct titles for docs pages (anomalyco#64521)

* fix(data): stop redirecting /data by language and give the sitemap real dates (anomalyco#64523)

* refactor(server): remove plugin readiness from plugin.list (anomalyco#64524)

* refactor(app): pass composer focus on from the shortcut's control (anomalyco#64504)

* fix(app): keep plugin update findings until the settled list agrees (anomalyco#64525)

Co-authored-by: James Long <[email protected]>

* feat(core): add append to Environment.Files (anomalyco#64517)

* fix(app): stop reading plugin readiness from plugin.list (anomalyco#64527)

* test(core): expect CLAUDE.md fallbacks in the Windows drive-letter test (anomalyco#64530)

Co-authored-by: James Long <[email protected]>

* fix(core): let either Claude Code flag disable every CLAUDE.md (anomalyco#64533)

* refactor(core): drop url and format from webfetch output (anomalyco#64534)

* feat(codemode): let an extension name the modules that load its globals (anomalyco#64516)

* fix(ai): send the OpenAI system prompt as a developer message (anomalyco#64542)

* fix(ai): send the system prompt as a developer message on every Responses route (anomalyco#64544)

* release: v2.3.2

* test(fork): update project and PTY fixtures for v2.3.2

* refactor(session): remove Loom session mirroring from fork

* chore(ci): export the smoke-tested candidate image for system tests

* test(fork): gate backend regressions and verify orphan schedule migration

* ci: run fork docs and ARM macOS checks on hosted runners

* fix(session): settle declined child interactions as user interruptions

* fix(session): preserve accepted denial across reload and shutdown

* ci: run ARM guards after checkout and gate session lifecycle regressions

* fix(session): stop model continuation when permission service closes

* fix(core): wake an idle parent whose subagent notice was admitted before shutdown

A subagent's cancellation notice can be admitted to the parent inbox before the parent takes an execution claim. When shutdown lands in that gap the outbox row is retired and nothing wakes the parent after restart. Restart now finds idle, succeeded parents with an admitted steer notice from a subagent and wakes them once recovery finishes. Parents the restart budget already failed are left alone.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* fix(core): wake parents of stranded subagent notices whatever their last outcome

The restart sweep woke only parents whose last turn succeeded, while the
normal report path wakes the parent regardless. The sweep now skips only a
parent whose last turn failed, which the restart budget uses to leave its
notices parked. The inbox query moves into SessionInbox, and a test covers
the non-subagent source filter.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: James Long <[email protected]>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Adam <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: David Hill <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: Sara Kay <[email protected]>
Co-authored-by: ssskay <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: R44VC0RP <[email protected]>
Co-authored-by: Luke Parker <[email protected]>
Co-authored-by: Dax <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aarav Sareen <[email protected]>
Co-authored-by: usrnk1 <[email protected]>
Co-authored-by: Filip Hejmowski <[email protected]>
Co-authored-by: Filip Hejmowski <[email protected]>
Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
Co-authored-by: Dan Smolsky <[email protected]>
Co-authored-by: Jack <[email protected]>
Co-authored-by: MrMushrooooom <[email protected]>
Co-authored-by: vprdev <[email protected]>
Co-authored-by: Kit Langton <[email protected]>
Co-authored-by: James Long <[email protected]>
Co-authored-by: Brendan <[email protected]>
Co-authored-by: Walter <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: neriousy <[email protected]>
Co-authored-by: Yhibo <[email protected]>
@scottames-github-bot scottames-github-bot Bot mentioned this pull request Nov 27, 2026
chore(deps): update ⬆️ mise-packages scottames/dots#1181
Merged
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments
@Hona Hona Awaiting requested review from Hona

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@usrnk1
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.