Skip to content

fix(ai): desktop browse never downloads browsers; international Auto defaults to Claude Sonnet 5.5 (dev-board#1951) - #1950

Merged
AIWorkDeckAdmin merged 3 commits into
masterfrom
fix/intl-sonnet55-browse
Dec 5, 2026
Merged

AIWorkDeckAdmin merged 3 commits into
masterfrom
fix/intl-sonnet55-browse

Conversation

@AIWorkDeckAdmin

@AIWorkDeckAdmin AIWorkDeckAdmin commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

From the 0.93 global-user QA (dev-board#1951), for 0.93.1.

1. First web browse hung (every desktop user). browse_url created Playwright 1.43 with its default browser install: Chromium + Firefox + WebKit (677 MB on Windows). The primary CDN now answers 400 for these builds (verified from Singapore) and the mirror ran ~0.5 MB/s, so the Mac run hung >8 min while billing. On the desktop (security.local-mode) Playwright now starts with PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 (1.43 reads it from CreateOptions.env first; checked in DriverJar), uses the installed Edge/Chrome (Edge first on Windows), and falls back to a plain HTTP fetch: no JS, every redirect hop through SsrfGuard, 5 MB cap, HTML/plain text only, errors never presented as empty pages. Server mode unchanged.

2. International default model. Owner decision: default to Claude Sonnet 5.5, keep Chinese models available. New catalogue entry anthropic/claude-sonnet-5.5 ($2/$10 per M, 1M context, vision; matches OpenRouter today). Auto routes every tier to it for international platform AI only (usesProviderCatalog() && !isDomesticPlatform(), passed to the router as claudeDefault); the tier still sets reasoning effort. The orchestrator always passes networkRegion=INTERNATIONAL, so keying on the region would have moved mainland own-key users to Claude too (2nd commit). Domestic platform, own-key routing and manual model choice unchanged.

Tests

  • WebToolsDesktopBrowseTest (new, 5): skip-download env, channel order, plain fetch text extraction, guard on each redirect hop, 4xx/non-HTML errors.
  • SmartModelRouterTest 7/7; on the old router 3 failures (expected anthropic/claude-sonnet-5.5 but was …-sonnet-5 / deepseek-v4-flash / gemini-3.6-flash).
  • AllowedModelsTest 12/12.
  • Real-app check on Windows/Mac is done on the 0.93.1 RC before tagging.

🤖 Generated with Claude Code

…defaults to Claude Sonnet 5.5

browse_url on the desktop (security.local-mode) created Playwright 1.43 with
its default browser install: Chromium+Firefox+WebKit (677 MB on Windows) from a
CDN that now answers 400 for these builds, so a user's first web browse hung for
minutes while the turn kept billing (0.93 global-user QA, dev-board#1951).
The desktop now starts Playwright with PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1, uses
the installed Edge/Chrome (Edge first on Windows), and falls back to a plain
HTTP fetch whose every redirect hop passes SsrfGuard. Server mode is unchanged.

Auto (SmartModelRouter) on the INTERNATIONAL network region now routes every
tier to the new catalogue entry anthropic/claude-sonnet-5.5 ($2/$10 per M,
1M context, vision); the tier still sets reasoning effort. Domestic routing and
manual selection of any model, Chinese models included, are unchanged.

Tests: WebToolsDesktopBrowseTest (new), SmartModelRouterTest (3 new international
assertions red on the old router), AllowedModelsTest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AIWorkDeckAdmin AIWorkDeckAdmin mentioned this pull request Dec 5, 2026
return "Error browsing URL: " + current + " is not a web page (" + type
+ "). The page was NOT loaded — do not treat this as empty content.";
}
okio.BufferedSource source = body.source();
AIWorkDeckAdmin and others added 2 commits December 4, 2026 21:55
The orchestrator always passes networkRegion=INTERNATIONAL to the router, so the
first version sent every Auto user to Claude, including mainland users on their
own OpenRouter key (Claude is region-blocked there). The router now takes an
explicit claudeDefault flag; the orchestrator sets it only for platform AI that
is not the domestic (Bailian) channel. Tier rules for everyone else are back to
origin/master. AgentSkillUpdateEventTest covers intl (Sonnet 5.5, red without
this change) and domestic (unchanged).

dev-board#1951

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… object (dev-board#272)

retryAfterTheBackgroundFailureLandsIsALegitimateSecondSubmit read getStatus()
on the object startTranscription returns, which is the same object the
background continuation marks FAILED. On a fast runner it read FAILED and went
red twice on PR #1950. The test now records each status at save time and checks
A and B each persist TRANSCRIBING before their background FAILED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AIWorkDeckAdmin
AIWorkDeckAdmin merged commit e93d556 into master Dec 5, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant