qwen-code/packages/desktop-shell/bootstrap
易良 1095e0bbc4
fix(desktop): hide the Windows runtime terminal and align reduced-motion startup (#9064)
* fix(desktop): hide the Windows runtime terminal and align reduced-motion startup

On Windows the bundled runtime (node.exe, a console application) was spawned
without CREATE_NO_WINDOW, so the desktop (a GUI application) allocated a
visible terminal window for it; closing that window stopped the runtime with
exit code 1 (#9043). Route the spawn through a platform-specific helper that
sets CREATE_NO_WINDOW via the command-group builder (group_spawn would
overwrite creation flags set directly on the command). Add a Windows-only
regression test that asserts the spawned child receives no console window.

The reduced-motion bootstrap fallback showed the logo left-aligned inside the
shell while the newly visible status text was centered in a wider card, so the
two did not share a horizontal center. Stack and center both inside the shell
and drop the leftover card chrome, mirroring the simplified startup view from
#8988, and extend the bootstrap release check to guard the centering rules.

* fix(desktop): simplify reduced-motion startup centering

* fix(core): hide daemon-side console spawns on Windows

With the bundled runtime spawned console-less, console-app children of
the daemon no longer inherit a console and each allocates a visible
window. Pass windowsHide at the git attribution, git notes, and
taskkill spawn sites in the shell tool, matching shellExecutionService.
Also loosen the reduced-motion bootstrap assertion so it no longer
hard-codes rule order inside the media block.

* fix(desktop): hide runtime descendant consoles

* test(desktop): pin the hidden-console spawn helper at the production call site

The Rust test exercises spawn_runtime_group directly; nothing guarded that
DesktopRuntime::start still routes through it. Assert the call site in the
release gate so a refactor reverting to group_spawn() fails the suite.
2026-08-13 15:38:55 +00:00
..
bootstrap.js fix(desktop): hide internal workspace during startup (#8988) 2026-08-12 16:21:58 +00:00
index.html fix(desktop): hide the Windows runtime terminal and align reduced-motion startup (#9064) 2026-08-13 15:38:55 +00:00
local-control.html fix(desktop): consolidate 0.1.1 regressions (#8896) 2026-08-11 15:41:14 +00:00
local-control.js fix(desktop): follow-up review fixes from #8896 (#8951) 2026-08-12 10:58:03 +00:00
qwen-code-logo.svg fix(desktop): hide internal workspace during startup (#8988) 2026-08-12 16:21:58 +00:00