You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When preview_act with action: "click" times out on a long selector or locator in a server-hosted preview tab, the error quotes the target cut at 200 UTF-16 units without checking for a split surrogate pair. If an emoji straddles the cut, the tool error ends the quote with a lone high surrogate, so the MCP response carries an escaped \ud83c that decodes to malformed text. Every sibling cut (select labels, dialog text, tab titles in ServerBrowser.ts) already guards this.
Path: preview_act MCP tool (action: "click") → PreviewAutomationBroker → ServerBrowserPage.click → namedTargetTimeout builds the message → PreviewAutomationBroker copies it into the PreviewAutomationTimeoutError reason (slice(0, 500); the message is 381 units, so the half emoji survives) → the Effect MCP toolkit copies the error message into CallToolResult.content[0].text before JSON serialization.
Deterministic repro on origin/main (2e424655e3cdc0e0d8337807d97cd1e6de90bf53): on a real Chromium Playwright page (as in apps/server/src/preview/ServerBrowserPage.test.ts), await page.setContent('<button hidden>hidden</button>'), then ServerBrowserPage.click(page, { selector: 'text=x' + '🎉'.repeat(150), timeoutMs: 500 }) and map the rejection with ServerBrowserPage.toOperationError. JSON.stringify of that selector is 308 units; its first 200 end on 0xD83C.
Observed: the message reads No element matches "text=x🎉…🎉\ud83c... after the timeout; … and message.isWellFormed() === false.
Expected: the quoted target ends on a whole emoji (…🎉🎉...) and the message is well-formed.
Change
namedTargetTimeout drops a trailing high surrogate from the capped target before appending ..., the same guard ServerBrowser.ts uses for select labels, dialog text and tab titles. Desktop-hosted tabs use a different path and are unaffected; no contract, i18n or client changes.
Scope
Small fix for an obvious bug; no issue needed under CONTRIBUTING.md.
Verification
Extended the existing tells a click target that matches nothing from one that never becomes clickable test with the emoji selector. On base it fails: expected '…No element matches "text=x🎉…🎉�... after the timeout…' to contain '🎉…🎉...'. On head it passes.
vp run check:changed on HEAD 7e9b9bc540c exits 0 (format, lint, knip, typecheck, affected tests); summary in the gist.
Not shown: an end-to-end scenarios:prove run through a live agent's preview_act click, and how any specific provider handles the malformed text (rejects it or shows U+FFFD). The unit test drives the same real Playwright page and toOperationError mapping the broker forwards.
Authored by Claude Opus 5.5 (Model Hub); reviewed by GPT-6.2 Sol (Codex).
Not shown
apps/server/src/preview/ServerBrowserPage.test.ts:350 — The transcript stops at the Playwright error mapping; a direct MCP tools/call before/after capture would verify the decoded response independently of the source trace. The draft already discloses that end-to-end and provider behavior were not tested.
Macroscope's review found this PR approvable — The change prevents truncated click-timeout messages from ending with half an emoji. It affects diagnostic text only, leaving click behavior and timeout safeguards unchanged.
You can add or adjust custom eligibility rules. Learn more.
Reviewing files that changed from the base of the PR and between e71546a and ffdcf8f.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
Long selector prefixes in click-timeout messages now drop a trailing unmatched high surrogate before an ellipsis is added. A test checks the resulting message for 150 emoji.
When a selector exceeds MAX_TARGET_CHARS, the displayed prefix drops a trailing high surrogate before ... is added. The test checks that 150 emoji produce a 96-emoji prefix and a well-formed Unicode error message.
This fixes malformed text in click-timeout error messages when a long target ends in half an emoji. The change is narrow and reversible, and it has a regression test. No merge-blocking risk is apparent.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: click timeout errors for server-hosted preview tabs no longer quote a long target that ends in half an emoji. It matches the summary (a trailing high surrogate is remo…
Description check
The description follows the template's sections: Problem, Change, Scope, and Verification. The Problem section gives the expected behavior and a deterministic reproduction on a stated commit. The Chan…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: click timeout errors for server-hosted preview tabs no longer quote a long target that ends in half an emoji. It matches the summary (a trailing high surrogate is removed before the ellipsis is appended in namedTargetTimeout) and the objectives. It is specific and follows conventional commit style. The title is 81 characters, slightly above a short ideal, but this does not affect the verdict.
Full details: Description check
Explanation
The description follows the template's sections: Problem, Change, Scope, and Verification. The Problem section gives the expected behavior and a deterministic reproduction on a stated commit. The Change section explains the surrogate guard and why desktop tabs are unaffected. The Scope section explains why no issue is linked, as the template asks for a small obvious-bug fix. The Verification section names the focused test, the before/after result, the check command, and a transcript link. It also states what was not checked. The description does not include the template's Problem-level reference to a linked issue, but the template accepts an explanation for small obvious fixes. The description is mostly complete.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 8eac85d and e71546a.
Files selected for processing: 2
apps/server/src/preview/ServerBrowserPage.test.ts
apps/server/src/preview/ServerBrowserPage.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
Paired fresh web dev servers on both commits, opened Browser at https://example.com/, released control, and sent the same prompt to Claude Haiku 5.5 requesting one preview_act click with timeoutMs: 500 and text=x followed by 150 🎉. Expanded the actual tool reply.
Environment on both sides: Linux, Chromium 158, 1280×800 CSS viewport (2560×1600 captures), light theme, fresh isolated databases seeded through the project/thread CLI. Emoji glyphs render as boxes because the capture browser lacks an emoji font.
Base raw reply ends with U+1F389, U+D83C, then ...; head ends with U+1F389 then ... and is well-formed. Both screenshots were stable across identical captures more than 500 ms apart.
Limitation: Haiku copied 157 emojis on base and 145 on head rather than the requested 150. Both selectors have the identical prefix through the 200-unit truncation boundary. The base agent was stopped after its actual tool reply had been stored, while its final quotation was still pending; the screenshot shows the tool reply itself.
Not shown:
Exact 150-emoji tool inputs: the same prompt requested 150 on both sides, but Haiku emitted 157 on base and 145 on head; their prefixes through the diagnostic cutoff are identical.
* fix(client-runtime): highlight inline scripts after sudo prompt, host, role and type options (pingdotgg#46674)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(opencode): republish models when a catalog change only affects legacy flags (pingdotgg#46677)
* fix(web): do not throttle Changes revalidation after a skipped read (pingdotgg#46685)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep preview annotations from pages with very long titles (pingdotgg#46678)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Mod+F on pull requests page no longer focuses search over an open menu (pingdotgg#46691)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): modified Enter no longer restores a stashed prompt (pingdotgg#46694)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): preserve percent-encoded backslashes in POSIX Markdown image filenames (pingdotgg#46692)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): opening the originating thread from an issue or PR no longer stacks a duplicate (pingdotgg#46702)
* fix(shared): keep backticks literal in sent file mention labels (pingdotgg#46706)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): resolve double-slash project paths from the POSIX root (pingdotgg#46705)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Link pull request dialog closes when leaving its thread (pingdotgg#46699)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): ignore insight openers inside Markdown comments (pingdotgg#46710)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(web): terminal excerpts number the rows that hold the selected text (pingdotgg#46703)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): remove retained partial voice downloads when deleting a model (pingdotgg#46715)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): fall back to JS realpath when Windows native realpath fails on FUSE drives (pingdotgg#46695)
Co-authored-by: hj-smith <hj-smith@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): click timeouts no longer quote a long target ending in half an emoji (pingdotgg#46713)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): honor normal font weight inside bold ODT spans (pingdotgg#46724)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): follow a retargeted keybindings symlink without restarting (pingdotgg#46726)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp): keep an empty config choice distinct from a literal _t3/empty value (pingdotgg#46727)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Send now on a provider disabled for the project reports why instead of doing nothing (pingdotgg#46734)
* fix(web): browser tests no longer reach the live server through T3CODE_PORT (pingdotgg#46738)
* fix(shared): send inline-code examples of context links literally (pingdotgg#46723)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pull request composer closes when command palette opens (pingdotgg#46712)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): scheduled task titles no longer end in half a flag or joined emoji (pingdotgg#46740)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp): keep titled form choices with an empty value and title (pingdotgg#46733)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the Uncommitted list updates after the Git menu commits (pingdotgg#46714)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): long pastes in the streamed browser no longer end in a broken character (pingdotgg#46739)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): refuse saving an edit to a deleted action (pingdotgg#46729)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): let Usage filter an environment whose ID is all (pingdotgg#46736)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): let Enter exit code blocks with CRLF blank lines (pingdotgg#46747)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): render insight callouts after a leading byte-order mark (pingdotgg#46748)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): settling an open delegated task opens the next thread (pingdotgg#46745)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): collapse dot segments in a typed tracked folder path (pingdotgg#46756)
* fix(client-runtime): answered questions show the picked option's label, not its value (pingdotgg#46704)
* fix(web): stash restore leaves no chip for a file the composer already holds (pingdotgg#46758)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): open Codex citations to percent-encoded file URLs (pingdotgg#46754)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): command menu description tooltip closes when focus leaves the composer (pingdotgg#46760)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(metrics): retry client seed when provider model catalog is not yet advertised (pingdotgg#46508)
Co-authored-by: ndycode <ndycode@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): preserve dot-segment IDs in assistant citations (pingdotgg#46749)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reopen a workflow run on the first click (pingdotgg#46764)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Escape dismisses the keyboard-focused timeline minimap preview card (pingdotgg#46762)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): boring sidebar folder rows offer snooze again (pingdotgg#46765)
* fix(shared): theme-aware Markdown images accept whitespace around their media query (pingdotgg#46763)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep footnotes in headings after unmatched backticks (pingdotgg#46769)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Shift+Enter on a focused stash restore button no longer restores it (pingdotgg#46770)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reopen the last workflow run after hiding the panel (pingdotgg#46766)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): preserve wrapped reference labels in quoted PR definitions (pingdotgg#46772)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep a trailing period when a copied link label exactly matches its URL (pingdotgg#46780)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(web): RTF previews show LibreOffice raised and lowered text as superscript and subscript (pingdotgg#46767)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep workflow runs open behind their tab menus (pingdotgg#46777)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): restore focus after closing a workflow run (pingdotgg#46779)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep composer completion out of inline code (pingdotgg#46750)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reopen closed workflow run tabs (pingdotgg#46786)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): discard abandoned Codex replies after reconnecting (pingdotgg#46778)
Co-authored-by: wangfeng87 <10720688+wangfeng87@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): cancel tab drags when switching threads (pingdotgg#46792)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): suppress prompt suggestions that repeat prompts with attachments (pingdotgg#46759)
Co-authored-by: ndycode <ndycode@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): show the correct unit for a single cache-write token (pingdotgg#46787)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): open a gzip file made of several members (pingdotgg#46789)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): disable empty panel shortcuts as it closes (pingdotgg#46794)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): honor normal font style inside italic ODT spans (pingdotgg#46761)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reveal all side panel tabs when they fit (pingdotgg#46791)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): right-panel shortcuts ignore presses while a menu or dialog is open (pingdotgg#46781)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): count Vitest type-test files as tests in diffs (pingdotgg#46808)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(shared): palette search finds stroke letters by their plain look-alike (pingdotgg#46811)
* fix(web): dismissing pull request checkout toast cancels handoff (pingdotgg#46801)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): a failed Claude workspace probe keeps the machine's slash commands (pingdotgg#46795)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): boring sidebar folder row actions keep their height and their clicks (pingdotgg#46818)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): honour a provider instance binaryPath written beside driver (pingdotgg#46841)
* fix(web): use the right case for one minute in Russian and Polish snooze settings (pingdotgg#46833)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(web): clear storage before each browser test file (pingdotgg#46820)
* fix(client-runtime): refresh Uncommitted when changed files swap at equal totals (pingdotgg#46828)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(web): say one rotated log when cleanup removes one file (pingdotgg#46822)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): dismissing a focused toast with Escape no longer triggers lower layers (pingdotgg#46810)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): thread search honors PR unlinks made from comment links (pingdotgg#46814)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep footnote paragraphs indented with spaces and a tab (pingdotgg#46805)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(web): fake environment answers the app's first discovery (pingdotgg#46858)
* fix(web,mobile): forks from a response get a title in the app's language (pingdotgg#46840)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
* fix(web): a long pull request search no longer ends in half a flag or joined emoji (pingdotgg#46855)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): find the shared voice dictionary by its Japanese label (pingdotgg#46849)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): scrolled right panel tabs no longer block dragging the chat titlebar (pingdotgg#46796)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): linked pull request tabs show the latest status (pingdotgg#46815)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): close guest share and handoff dialogs when leaving their thread (pingdotgg#46853)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep Shift+Arrow text selection working while the prompt stash is open (pingdotgg#46860)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): do not restore a stashed prompt while an image-only draft is compressing (pingdotgg#46862)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): follow an intermediate link retargeted behind the keybindings symlink (pingdotgg#46851)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): load EPUB stylesheet assets whose URLs use CSS escapes (pingdotgg#46866)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep typed double underscores literal in the rich text composer (pingdotgg#46863)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): pasted links to same-id threads on two machines each keep their machine (pingdotgg#46856)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): let Escape and app shortcuts pass through the terminal font preview (pingdotgg#46879)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(i18n): give labels that share one key across meanings their own context (pingdotgg#46875)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): respect saved route priority on Android reconnect (pingdotgg#46848)
Co-authored-by: yb <yb@ybdeMac-Mini.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): long history load errors no longer overflow the timeline horizontally (pingdotgg#46835)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep Myanmar and Balinese conjuncts intact in automatic project monograms (pingdotgg#46882)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): upper-case file extensions get syntax colours (pingdotgg#46844)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): typed home project paths with dot segments are collapsed (pingdotgg#46889)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* chore(evals): mcp-tool-use can send Claude calls to another endpoint (pingdotgg#46628)
* fix(web): focus command dialog popup when its search input is disabled (pingdotgg#46890)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show TAR files directly under their folder when a path contains a dot segment (pingdotgg#46893)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep footnotes in list, quote and break lines after unmatched backticks (pingdotgg#46887)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): reconfigured providers no longer break their open threads (pingdotgg#46880)
Co-authored-by: Hu Xiangyu <xh8421@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): preserve trailing code spaces before a proposed plan title (pingdotgg#46891)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(client): cache thread pull request chains and precompute sort timestamps (pingdotgg#46827)
Co-authored-by: Marcus Buffett <me@mbuffett.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): invalid HTML tag whitespace no longer switches Markdown previews to source (pingdotgg#46886)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): restoring a stash into a full draft drops the chip of an image that did not fit (pingdotgg#46903)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): restoring an expired stashed file next to a reattach marker no longer leaves a dead chip (pingdotgg#46909)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): a long browser dialog no longer ends in half a flag or joined emoji (pingdotgg#46906)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): focus PR Author and Labels filter search inputs on keyboard open (pingdotgg#46900)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clicking a cell cancels a spreadsheet jump still in progress (pingdotgg#46902)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): closing an editor during a failing autosave retries the draft (pingdotgg#46896)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): count Cypress cy files as tests in diffs (pingdotgg#46923)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): late slash results no longer open a description tooltip after focus leaves (pingdotgg#46924)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): Markdown previews resume chunking after raw HTML inside a list (pingdotgg#46914)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): route chat shortcuts inside side chat popups to the side chat (pingdotgg#46927)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(fx): steering a running fx turn joins it instead of restarting it (pingdotgg#46928)
* fix(web): going back from an archive file keeps the file list (pingdotgg#46910)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): retrying a failed PDF preview uses its renewed link (pingdotgg#46907)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep IME Enter from committing a snooze duration (pingdotgg#46939)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): preserve repeated JSON keys in displayed tool output (pingdotgg#46934)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep terminal selections of the same rows that hold different text (pingdotgg#46945)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(desktop): Linux .deb updates no longer freeze the window while installing (pingdotgg#46949)
* fix(web): copying a failed message keeps its images (pingdotgg#46930)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(i18n): Polish web labels use one word for snooze (pingdotgg#46919)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): highlight Node eval scripts after title and inspector port options (pingdotgg#46947)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show an attached image whose file name starts with preview-annotation- (pingdotgg#46938)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show workflow question kinds only in the filter (pingdotgg#46659)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): a slow response fork no longer pulls you out of the chat you opened (pingdotgg#46932)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): terminal URLs end before Markdown emphasis marks (pingdotgg#46922)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): a queued message moves to the stash only once it is removed (pingdotgg#46941)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Mod+S while typing outside the composer no longer stashes the composer draft (pingdotgg#46955)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(voice): keep accented Latin words separate in auto dictation (pingdotgg#46933)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(antigravity): reactivate parked swarm workers and stream live transcripts (pingdotgg#46929)
Co-authored-by: thecsguy <344173356+itsthecsguy@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): long commands typed into a starting terminal are no longer cut off (pingdotgg#46948)
* fix(web): editing an answer while its image prepares cancels the held submit (pingdotgg#46940)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): terminal chip points at the held excerpt when the same rows are re-imported (pingdotgg#46959)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): long pastes in the streamed browser no longer end in half a flag or joined emoji (pingdotgg#46960)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Find in Thread reaches unloaded matches after a failed history load (pingdotgg#46911)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Windows servers no longer crash detecting a Linux libc in ACP registry startup (pingdotgg#46536)
* fix(web): restoring a stash leaves room for an image still preparing (pingdotgg#46976)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pasting a copied file over its reattach marker no longer reports failure (pingdotgg#46970)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): workflow lists by status and tag read only tagged runs (pingdotgg#46905)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(metrics): fail server startup waits as soon as the server exits (pingdotgg#46978)
* test(web): stub addComposerFilesToDraft with its new return shape (pingdotgg#47011)
* fix(web): Issues Labels and Assignee filters focus their search field when opened from the keyboard (pingdotgg#46974)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): rolling back a Codex thread stops its running native subagents (pingdotgg#46957)
* fix(web): list v7 TAR folders marked by a trailing slash as folders (pingdotgg#46962)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep footnote references in code indented with spaces and a tab out of the footnotes (pingdotgg#46987)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): EPUB stylesheet imports with CSS escapes load again (pingdotgg#46972)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): thread shortcuts no longer act behind open menus or dialogs (pingdotgg#46993)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): closing the stash with Escape returns focus to where you were (pingdotgg#46975)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): chat right-panel shortcuts ignore presses while a menu or dialog is open (pingdotgg#47026)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clicking anywhere on a terminal or panel tab activates it (pingdotgg#47029)
* fix(server): thread search snippets start with whole emoji (pingdotgg#47038)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): resolve Markdown references after indented code (pingdotgg#47037)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): return focus to closed popup trigger after command palette closes (pingdotgg#47034)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep held Enter from changing restored prompts (pingdotgg#47036)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the syncing messages line no longer shifts the whole chat (pingdotgg#47022)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): project picker tooltips fade where they opened when the list scrolls (pingdotgg#47040)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): snoozed threads settle when their pull request merges (pingdotgg#46857)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(web): pasted messages with a thread link keep their picture (pingdotgg#47046)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(client-runtime): approval text split test no longer times out on busy runners (pingdotgg#47062)
* fix(web): ODT preview keeps bold, italic and underline from paragraph styles (pingdotgg#47053)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): new drafts take the workspace default from a refreshing t3.json (pingdotgg#47044)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): index the archived-inclusive pull request thread sweep (pingdotgg#46901)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(web): limit style invalidation during right-panel resize (pingdotgg#47013)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): thread search snippets no longer end in half a flag or joined emoji (pingdotgg#47027)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): editing an attached image cancels a message waiting to send (pingdotgg#47054)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): footnotes after an underlined heading keep their links (pingdotgg#47055)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): inline math in right-to-left paragraphs no longer renders garbled (pingdotgg#47066)
* fix(web): ODP preview keeps bold, italic and underline (pingdotgg#47071)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(search): persist recent thread open order across reloads and reconnects (pingdotgg#47069)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the stash shortcut in a side chat's popups stashes the side chat draft (pingdotgg#47076)
* fix(opencode): Edit from here no longer reads the whole conversation (pingdotgg#47060)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep Lineage row provider icon current for switched delegated children (pingdotgg#47015)
Co-authored-by: zainmitchell <337498276+zainmitchell@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): chat terminal toggle shortcut ignores presses while a menu or dialog is open (pingdotgg#47079)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pasting a copied file no longer takes a preparing screenshot's slot (pingdotgg#47078)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Open VSX themes keep syntax colors stored in a separate file (pingdotgg#47051)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): over-limit messages from workflows are refused before they are stored (pingdotgg#47087)
* fix(web): reloaded drafts keep typed underscores (pingdotgg#47082)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): ODT preview keeps superscript and subscript (pingdotgg#47072)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): an upload named preview-annotation- no longer shows as an annotation's screenshot (pingdotgg#47081)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show contiguous TAR members as files (pingdotgg#47092)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Gradle build script paths open at the line that follows them (pingdotgg#47088)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): find unaccented messages with accented queries in scan mode (pingdotgg#47091)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): stop showing the previous Usage period as loading after the new period fails (pingdotgg#47100)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): detect model option changes when repeated IDs change precedence (pingdotgg#47083)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): shortened Git branch labels keep accents and vowel signs with their letter (pingdotgg#47096)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): assemble multi-segment JPEG ICC profiles by sequence number when detecting Display P3 (pingdotgg#47086)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(review): preserve exact file paths in mode-only diffs (pingdotgg#47084)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): clip workflow source without adding a broken character (pingdotgg#47104)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): preserve the chosen SVG view in EPUB images (pingdotgg#47097)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): follow EPUB chapter links with a query and no path (pingdotgg#47113)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): thread search snippets no longer end in half an emoji after long whitespace (pingdotgg#47109)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): preserve mark-unread and watermark retries when retrying failed opens (pingdotgg#47102)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Tab from Permissions menu keeps focus inside model picker (pingdotgg#47114)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): terminal links open bash, PHP and Perl error paths at their line (pingdotgg#47119)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): streamed browser tabs show the host setup command when it is long (pingdotgg#47089)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): honor SVG pixel dimensions with a leading plus or decimal point (pingdotgg#47098)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* chore(mobile): bump enriched-markdown fork to upstream 44f1d134 (pingdotgg#46892)
* fix(server): outdated managed Antigravity runtimes appear in the sidebar Update button (pingdotgg#43423)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Theo Browne <me@theo.li>
* fix(server): preserve literal replacement characters in clipped tool diffs (pingdotgg#47108)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): daemons a Codex thread starts end when its app-server exits (pingdotgg#47123)
* fix(desktop): SnapShot setup ignores slash-dashed Niri include paths (pingdotgg#47117)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(providers,web): available provider updates no longer flicker out during refreshes (pingdotgg#39361)
* fix(web): ODT preview keeps underline and strikethrough from heading paragraph styles (pingdotgg#47118)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): middle-clicking a file link no longer opens a broken tab (pingdotgg#47125)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): omit empty EPUB heading markers (pingdotgg#47124)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): expanded tool lists no longer crash the thread at fractional zoom (pingdotgg#47145)
* fix(web): terminal URLs inside brackets drop their closing Markdown emphasis (pingdotgg#47133)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the Voice language filter focuses its search field when opened from the keyboard (pingdotgg#47130)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(desktop): keep release notes from managed update mirrors with custom release names (pingdotgg#47131)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): failed Antigravity edits keep the tool's error (pingdotgg#47152)
* fix(server): turn starts skip a timing-out folder's baseline without waiting on its lock (pingdotgg#47138)
* fix(web): use plus for project new-thread buttons (pingdotgg#44842)
* fix(desktop): capture inline favicons with percent-encoded base64 (pingdotgg#47137)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Alt-click and Shift-click on issue links in chat act like ordinary links (pingdotgg#47144)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): confirm stop once per run (pingdotgg#45111)
* feat: open projects in Devin Desktop (pingdotgg#44840)
* feat(composer): reference other projects as folders (pingdotgg#44864)
* feat(chat): cite text from proposed plans (pingdotgg#44977)
* feat(web): add arrows and text to image annotations (pingdotgg#45251)
* fix(web): show the actual contents of a Codex-added patch file (pingdotgg#47139)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): stop large reviews freezing when a file is folded (pingdotgg#47128)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): switching threads no longer re-renders unaffected sidebar rows (pingdotgg#47105)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): keep image filenames when Android shares a photo with another file (pingdotgg#47147)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): accept HEIC attachments with metadata after a large padding box (pingdotgg#47150)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(forgejo): issue detail opens on the newest comments (pingdotgg#47143)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): start a new RTF page at a paragraph with page break before (pingdotgg#47142)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(desktop): removing a SnapShot shortcut leaves compact Niri configs valid (pingdotgg#47134)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): ODS cells with a number format that hides the value stay blank in the preview (pingdotgg#47149)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Reopen Closed Tab skips workflow runs removed from history (pingdotgg#47080)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* chore(i18n): move to General Translation v12 and drop the four GT patches (pingdotgg#46460)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): preserve ordinary JSON keys in recorded Codex replay frames (pingdotgg#47164)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(dev): restart and keep watching after the server src root is replaced (pingdotgg#47160)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): pull requests a workflow run opened now show that run (pingdotgg#47163)
* fix(mobile): keep @, # and $ completion closed inside an unclosed code block (pingdotgg#47161)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): restore missing worktrees before queueing auto fresh-context or output-schema sends (pingdotgg#47169)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): model picker shortcut closes open popups before opening (pingdotgg#47167)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): match dotted capital I in PR composer suggestions (pingdotgg#47162)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): command projection reads stay bounded without compaction (pingdotgg#47115)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(opencode): T3 MCP tool names fit Meta's 64-character limit (pingdotgg#43800)
Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clear favicon cache promise on IndexedDB error (pingdotgg#47005)
Co-authored-by: ndycode <ndycode@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the worktree Repositories filter focuses its search field when opened from the keyboard (pingdotgg#47181)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): open TAR archives whose headers use signed-byte checksums (pingdotgg#47192)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): handle context menu rejection in side thread trigger (pingdotgg#46983)
Co-authored-by: ndycode <ndycode@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): attaching a photo to an empty message no longer adds an image chip, like desktop (pingdotgg#47173)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(claude): side chats fork natively from a /compact turn while a later turn runs (pingdotgg#47208)
* fix(server): price Antigravity Orchestrator (Argon) usage (pingdotgg#47202)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): mention menu highlight moves to new results (pingdotgg#47210)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): relay client that never connected keeps backing off on restart (pingdotgg#47216)
---------
Co-authored-by: Alex Southwell <saphid@gmail.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Victor <satsdev@only21mil.xyz>
Co-authored-by: Shadman Taqi <61359614+iamshadmantaqi@users.noreply.github.com>
Co-authored-by: hj-smith <hj3762@gmail.com>
Co-authored-by: hj-smith <hj-smith@users.noreply.github.com>
Co-authored-by: Igor Makowski <56691628+Mnigos@users.noreply.github.com>
Co-authored-by: Johanes Peter Vincentius <60497959+JohanesPeterV@users.noreply.github.com>
Co-authored-by: Neil Daquioag <neil@zeian.cc>
Co-authored-by: ndycode <ndycode@users.noreply.github.com>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: wangfeng87 <wangfeng0416@foxmail.com>
Co-authored-by: wangfeng87 <10720688+wangfeng87@users.noreply.github.com>
Co-authored-by: mohamed ben chikha <93863937+fawzii0x3@users.noreply.github.com>
Co-authored-by: Max <4583322+duke8585@users.noreply.github.com>
Co-authored-by: tiliakoos <73005126+tiliakoos@users.noreply.github.com>
Co-authored-by: darkoss1 <104469505+darkoss1@users.noreply.github.com>
Co-authored-by: Pavlo Trinko <3662505+PollyGlot@users.noreply.github.com>
Co-authored-by: Kian-Opus <ethanwang217@gmail.com>
Co-authored-by: yb <yb@ybdeMac-Mini.local>
Co-authored-by: jinl96 <85423593+jinl96@users.noreply.github.com>
Co-authored-by: xiangyu.h <xiangyu.h@outlook.com>
Co-authored-by: Hu Xiangyu <xh8421@gmail.com>
Co-authored-by: Marcus Buffett <marcusbuffett@me.com>
Co-authored-by: Marcus Buffett <me@mbuffett.com>
Co-authored-by: Mateusz Bochyński <126000319+Bochyn@users.noreply.github.com>
Co-authored-by: KiritoXDone <58523182+KiritoXDone@users.noreply.github.com>
Co-authored-by: thecsguy <thecsguy@mail.grokbot.com>
Co-authored-by: thecsguy <344173356+itsthecsguy@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: peakoshi <124416658+peakoshi@users.noreply.github.com>
Co-authored-by: Rohan Godha <git@rohangodha.com>
Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Co-authored-by: Fabian Kliebhan <fabian.kliebhan@gmail.com>
Co-authored-by: Ved Pandey <33724654+vedprakash2302@users.noreply.github.com>
Co-authored-by: zzaaiinn <zain.mitchell@gmail.com>
Co-authored-by: zainmitchell <337498276+zainmitchell@users.noreply.github.com>
Co-authored-by: Theo Browne <me@theo.li>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Simone <lucenz@proton.me>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: maria <maria@kuuro.net>
Co-authored-by: Soroush Baraouf <soroushraouf44@gmail.com>
Co-authored-by: Chenxin Yan <71162231+chenxin-yan@users.noreply.github.com>
Co-authored-by: CCJ <99855454+ChenCJ-io@users.noreply.github.com>
Co-authored-by: Bráulio Oliveira <brauliobo@gmail.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: salem <69422114+s66lem@users.noreply.github.com>
Co-authored-by: oliver <97427849+flamboh@users.noreply.github.com>
Co-authored-by: DrStrangerUJN <343873859@qq.com>
Co-authored-by: soap-agentops[bot] <310870250+soap-agentops[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:XS0-9 changed lines (additions + deletions).vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
2 participants
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.
Problem
When
preview_actwithaction: "click"times out on a long selector or locator in a server-hosted preview tab, the error quotes the target cut at 200 UTF-16 units without checking for a split surrogate pair. If an emoji straddles the cut, the tool error ends the quote with a lone high surrogate, so the MCP response carries an escaped\ud83cthat decodes to malformed text. Every sibling cut (select labels, dialog text, tab titles inServerBrowser.ts) already guards this.Path:
preview_actMCP tool (action: "click") →PreviewAutomationBroker→ServerBrowserPage.click→namedTargetTimeoutbuilds the message →PreviewAutomationBrokercopies it into thePreviewAutomationTimeoutErrorreason (slice(0, 500); the message is 381 units, so the half emoji survives) → the Effect MCP toolkit copies the error message intoCallToolResult.content[0].textbefore JSON serialization.Deterministic repro on
origin/main(2e424655e3cdc0e0d8337807d97cd1e6de90bf53): on a real Chromium Playwright page (as inapps/server/src/preview/ServerBrowserPage.test.ts),await page.setContent('<button hidden>hidden</button>'), thenServerBrowserPage.click(page, { selector: 'text=x' + '🎉'.repeat(150), timeoutMs: 500 })and map the rejection withServerBrowserPage.toOperationError.JSON.stringifyof that selector is 308 units; its first 200 end on0xD83C.No element matches "text=x🎉…🎉\ud83c... after the timeout; …andmessage.isWellFormed() === false.…🎉🎉...) and the message is well-formed.Change
namedTargetTimeoutdrops a trailing high surrogate from the capped target before appending..., the same guardServerBrowser.tsuses for select labels, dialog text and tab titles. Desktop-hosted tabs use a different path and are unaffected; no contract, i18n or client changes.Scope
Small fix for an obvious bug; no issue needed under CONTRIBUTING.md.
Verification
tells a click target that matches nothing from one that never becomes clickabletest with the emoji selector. On base it fails:expected '…No element matches "text=x🎉…🎉�... after the timeout…' to contain '🎉…🎉...'. On head it passes.vp run check:changedon HEAD7e9b9bc540cexits 0 (format, lint, knip, typecheck, affected tests); summary in the gist.Not shown: an end-to-end
scenarios:proverun through a live agent'spreview_actclick, and how any specific provider handles the malformed text (rejects it or shows U+FFFD). The unit test drives the same real Playwright page andtoOperationErrormapping the broker forwards.Authored by Claude Opus 5.5 (Model Hub); reviewed by GPT-6.2 Sol (Codex).
Not shown