Repository navigation
Description
Native Windows 11 support for bb and bb Desktop
Summary
Add first-class native Windows 11 support to bb and bb Desktop, without requiring WSL2.
The target experience is straightforward:
A Windows 11 user can install and run bb / bb Desktop, open projects located on normal Windows filesystems, use Windows-native development tools and supported providers, and complete the core bb workflows without installing WSL2.
WSL2 should remain available as an optional Linux environment, but it must not be a prerequisite or an automatic fallback for native Windows workflows.
Prior art
The proposal was informed by the Windows implementations in:
- OpenChamber
- Hermes Agent
- AionUi
- OpenCode
We also reviewed relevant patterns from VS Code, Claude Code/Desktop, Docker Desktop, Electron, and Microsoft Windows/WSL guidance.
The intent is not to copy any single architecture. We use these projects as references for specific solved problems such as Windows process lifecycle, ConPTY, PATH/tool discovery, .cmd execution, native dependencies, NSIS packaging, signing, updates, and Windows CI.
Proposed direction
Keep bb's existing architecture:
bb Desktop
↓
bb-app
├── server
└── host-daemon
Make the existing execution plane genuinely Win32-capable rather than creating a separate Windows implementation.
The main work includes:
- first-class Windows host identity;
- native drive-letter path handling and path canonicalization;
- Windows-owned workspace path resolution;
- native process spawning and process-tree cleanup;
- Windows PATH and executable discovery;
- Git for Windows support without POSIX shell assumptions;
- ConPTY terminals with PowerShell/CMD support;
- Windows setup hooks;
- native file watching;
- Windows provider/runtime support;
- Explorer/editor/open-target integration;
- native
bb-apppackaging; - Windows bb Desktop packaging, signing, updates, and lifecycle handling;
- Windows CI and end-to-end testing.
Existing macOS, Linux, and WSL behavior must remain supported.
Verification requirement
Windows support should not be considered complete based only on compilation or unit tests.
The implementation must include automated verification covering:
- native Windows runtime workflows;
- real Windows filesystem behavior;
- Git/worktrees;
- ConPTY;
- providers and child-process cleanup;
- file watching;
bb-apppackage installation/startup;- packaged Desktop installation and startup;
- shutdown/update/uninstall behavior;
- a full Windows E2E run with WSL2 absent or disabled.
Regression validation for the existing macOS/Linux/WSL product paths must remain a separate required gate.
Definition of done
Native Windows 11 can be documented as supported when:
bb-appruns directly from Windows;- bb Desktop installs and runs as a native Windows application;
- ordinary
C:\.../ other local-drive projects work; - managed and unmanaged workspace workflows work;
- Git, terminals, file watching, and supported providers work natively;
- Desktop shutdown leaves no orphan bb/provider/tool processes;
- installation and updates are automated and verified;
- Windows CI/E2E is a required release gate;
- existing supported platforms remain regression-free;
- no core native Windows workflow depends on or silently invokes WSL2.
Detailed design
The complete implementation proposal and the separate verification/regression-testing plan are attached to this issue.
Activity
rodion-m commentedon Aug 10, 2026
Native Windows 11 support for bb and bb Desktop - Verification.md
Here is the verification plan.
The proposal has huge blast radius. @SawyerHood Could you please take a look on it? If it's ok, I'm ready to implement it on my Windows machine with full verification and regressions.
feat(windows): port native desktop and host runtime to current BB
Start bb and run the bb CLI on native Windows (#4657)
Open terminals on native Windows (#4660)
Find and launch provider CLIs on native Windows (#4661)
Accept Windows drive-letter paths for projects and workspaces (#4659)
Open Windows file links in rendered Markdown (#4665)
Run environment setup and teardown hooks on native Windows (#4658)
Package the desktop app for Windows (#4662)
Let the connect gate serve the Windows machine installer (#4734)
Report Windows as a machine platform (#4730)
Fix Windows bugs found while porting the test suite (#4737)
Run the server, launcher, tooling, and integration tests on Windows (#…
Refresh PATH and let npm shims run in bb's shells on Windows (#4731)
Open in Explorer, Keep Awake, logs, and the browser broker on Windows (…
Run the daemon, CLI, app, desktop, and plugin tests on Windows (#4739)
Enroll a Windows machine with another bb server (#4735)
Install bb-app from npm on native Windows (#4736)
Release the Windows desktop app and turn on its updates (#4733)