Repository navigation
feat(desktop): streamline workflow-oriented layout and settings - #796
Merged
Merged
Conversation
This was referenced Oct 1, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR started as a workflow-oriented Desktop UI cleanup and now also incorporates the native/Desktop regressions found while dogfooding that new surface.
Workflow-oriented Desktop UX
Runtime and recovery fixes found during dogfood
apps/desktop/distpath.is_file()as proof that a binary is executableStarting/ConnectingreadinessWindows legacy unified-installer upgrade
Fixes #798.
The outer Windows bootstrap now separates candidate-package trust from installed Environment ownership:
Desktop-managed Server defaults
Review also found that Desktop local Servers still inherited the generic
directMCP host profile while the normal deployed Server uses Host Code Mode.For a Desktop-managed Server with no explicit override, this PR now defaults to:
WEBCODEX_MCP_HOST_PROFILE=host_code_modeWEBCODEX_MCP_HOST_BUDGET_SECS=55Explicit operator values remain authoritative. In particular, an explicit
directprofile without a budget keeps the direct profile's built-in budget rather than being rewritten.WEBCODEX_MCP_COMPACT_SCHEMAS=trueremains aligned with the deployed Server. Loopback token-file import stays Desktop-local by design; OAuth/public-URL settings and tool-request tracing remain deployment/operator concerns rather than Desktop defaults.Review
Reviewed against current
origin/mainatafcae932.The review covered:
Review follow-up commits:
f57978f5— align Desktop local MCP Host defaults with Host Code Mode while preserving explicit overridesd53783fe— cover the official v0.4.3 Windows ARM64 legacy-upgrade identity in addition to x64No other merge-blocking review findings remain from this pass.
Validation
Final review validation on OE:
cargo check --all-targets: passedwebcodex-environmentlibrary: 108 passedcargo fmt --all -- --check: passedgit diff --check: passedNative interactive acceptance is separate from these automated checks. The mini dogfood instance was used to reproduce the stale-UI and obsolete-provider startup failures that motivated the corresponding fixes.