GeezerVison is showing github.com — feat(desktop): Gemini Carbon roster, leaner task models and WPP hardening by shan1g · Pull Request #111 · trmosala/opencode
Conversation
shan1g
commented
Nov 16, 2026
•
edited by trmosala
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Brings shan-updates into dev: the Gemini Carbon model roster, leaner CM models for task agents, WPP turn-path and cold-start hardening, and fixes that make the desktop test suite pass on Windows.
Changes
Models and routing
- feat(desktop): add Gemini Carbon roster and harden WPP turn path (
modelProfiles.mjs, providerConfig.mjs)
- feat(desktop): route task agents onto leaner CM models (
packages/opencode/src/tool/task.ts, model-visibility.ts)
WPP bridge reliability
- fix(desktop): harden WPP cold start and show thinking wait (
worker-startup.ts, server-startup.mjs)
- fix(desktop): stop assistant quiet-gate reset on child iframe churn (
pageRecorder.js, content.js)
- fix(desktop): stop image-attach desync from hanging and popping SSO (
worker-pool.ts)
- fix(desktop): restore WPP chat guards and collapsed sidebar reveal (
assistant-panel.ts)
- fix(desktop): stop publishing WPP pill totals as usage and fail fast on missing assistant panel (
usage.mjs, assistant-panel.ts)
- fix(desktop): swallow async EPIPE from electron-log console (
logging.ts)
Build and tests
- test(desktop): make the desktop suite pass on Windows (path and line-ending handling in browser, install and CLI tests)
- fix(desktop): skip native rebuild for N-API prebuilts (
electron-builder.config.ts)
- chore: refresh
bun.lock
- fix(desktop): keep seeded agent models out of the injected config (
providerConfig.mjs), so users' explicit small_model/agent picks in opencode.json are no longer overridden
- Merges latest
origin/dev; branch is up to date with dev.
59 files changed, +1682 / -397.
Notes
Verification
-
bun run verify from the repo root
-
cd packages/desktop && bun test src/main/wpp-bridge/ (ran bun test src/main: 995 pass, 4 skip, 0 fail)
- Desktop smoke test: send a prompt and confirm
x-o1-code-response-source: network
Reviewed with sol-loop: 2 rounds with gpt-6.1-sol. Sol verdict: approved
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Treat host project readiness as enough for load, open the assistant panel more reliably, forward spawn stages, and keep the thinking row alive during long WPP turns.
Co-authored-by: Cursor <[email protected]>
Closed stdout/stderr still fired uncaught stream errors past the sync writeFn catch and popped Electron's main-process dialog.
Co-authored-by: Cursor <[email protected]>
Host-only ready/signature for assistant mode, and drop the duplicate settling progress emit.
Co-authored-by: Cursor <[email protected]>
Honor subagent.model in Task and seed explore/general plus title/summary/compaction and small_model onto Flash/Opus medium-low tiers so light work avoids the parent Sol/Opus High path.
Co-authored-by: Cursor <[email protected]>
Scope upload-ready checks to the chip region and skip auth reclassification for attachment/load timeouts so ambient WPP spinners no longer loop workers or open login.
Co-authored-by: Cursor <[email protected]>
Register CM_Gemini4_Carbon and CM_Gemini4 Low/Medium/High, cut cold-start waits, widen recorder/chat selectors, and add CM3 press feedback. Document Windows release Action dispatch in AGENTS.md.
Co-authored-by: Cursor <[email protected]>
…on missing assistant panel
Isolated-child wrappers now use async Bun.spawn instead of Bun.spawnSync. On Windows, after any node:child_process spawnSync (the cm-ae syntax check run by the electron-builder config tests), Bun kills the next timed synchronous spawn almost immediately when it starts later than its timeout. Async Bun.spawn is unaffected.
Also skip symlink- and POSIX-rename-dependent tests on Windows, run the system-cli PowerShell tests under Windows PowerShell 5.1 to match the shipped installer, keep the login-controls autofill poll alive under bun test, and raise timeouts for slow Windows fsync and PowerShell launches.
# Conflicts:
# packages/desktop/src/main/wpp-bridge/assistant-panel.test.ts
# packages/desktop/src/main/wpp-bridge/assistant-panel.ts
# packages/desktop/src/main/wpp-bridge/proxy/openaiCompat.mjs
OPENCODE_CONFIG_CONTENT loads after opencode.json, so injecting small_model
and agent models there overrode users' explicit picks. Seed them only on disk,
which fills missing values.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|