cowork-os 0.4.5 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.9] - 2026-02-26
11
+
12
+ ### Fixed
13
+ - **Release workflow reliability**: removed the flaky release-time first-install smoke gate from publish workflow execution and moved draft-release preparation to both macOS and Windows runners so packaging does not fail due release-draft timing.
14
+
15
+ ## [0.4.8] - 2026-02-26
16
+
17
+ ### Fixed
18
+ - **Release pipeline gating for cross-platform packaging**: Windows release leg now skips the full `npm test` gate and focuses on packaging, while macOS remains the test/validation gate for release publication.
19
+ - **Windows test portability**: updated path-sensitive test mocks and shell command fixtures to be platform-safe (`path.basename` handling and cross-platform shell commands), reducing Windows CI false negatives.
20
+
21
+ ## [0.4.7] - 2026-02-26
22
+
23
+ ### Fixed
24
+ - **Release/CI test stability**: removed hard import-time dependency on Electron in `MCPRegistryManager` by using a safe runtime check for `app.isPackaged`, so test runs no longer fail when Electron binary install scripts are skipped.
25
+
26
+ ## [0.4.6] - 2026-02-26
27
+
28
+ This release is the first recommended Windows install baseline for normal users following the documented GitHub/npm installation steps.
29
+
30
+ ### Fixed
31
+ - **Windows title bar actions alignment**: corrected Windows header layout so action icons stay in the top-right region instead of drifting toward center.
32
+ - **Windows-first release messaging and metadata**: package description/keywords and release notes now explicitly reflect desktop support for both macOS and Windows.
33
+ - **Cross-platform docs consistency**: updated setup, migration, self-hosting, getting-started, and status docs to remove outdated desktop-level macOS-only wording while preserving truly macOS-only feature notes (for example iMessage).
34
+
10
35
  ## [0.4.5] - 2026-02-26
11
36
 
12
37
  ### Fixed
package/README.md CHANGED
@@ -88,6 +88,12 @@ npm install -g cowork-os
88
88
  cowork-os
89
89
  ```
90
90
 
91
+ > **Windows npm install notes:**
92
+ > - Run `npm install -g cowork-os` / `npm uninstall -g cowork-os` from `%USERPROFILE%` (or another neutral directory), **not** from `%APPDATA%\npm\node_modules\cowork-os`, to avoid `EBUSY` lock errors.
93
+ > - On Windows ARM64, first launch may take longer while native modules are rebuilt; this can run multiple fallback steps before the app opens.
94
+ > - If native rebuild fails, install [Visual Studio Build Tools 2022 (C++)](https://visualstudio.microsoft.com/visual-cpp-build-tools/) and Python 3, then retry.
95
+ > - If startup logs show `ERR_FILE_NOT_FOUND ... dist/renderer/index.html`, reinstall the latest package and check [Troubleshooting](docs/troubleshooting.md).
96
+
91
97
  ### Or Build from Source
92
98
 
93
99
  ```bash
@@ -150,6 +150,20 @@ else {
150
150
  });
151
151
  function createWindow() {
152
152
  const isMac = process.platform === "darwin";
153
+ // Determine initial background color for Windows based on saved theme
154
+ let winBgColor = "#1a1a1c";
155
+ if (!isMac) {
156
+ try {
157
+ const saved = appearance_manager_1.AppearanceManager.loadSettings();
158
+ const mode = saved.themeMode || "dark";
159
+ const isLight = mode === "light" || (mode === "system" && electron_1.nativeTheme.shouldUseDarkColors === false);
160
+ if (isLight)
161
+ winBgColor = "#f0f0f2";
162
+ }
163
+ catch {
164
+ // Fallback to dark if settings aren't available yet
165
+ }
166
+ }
153
167
  mainWindow = new electron_1.BrowserWindow({
154
168
  width: 1600,
155
169
  height: 1000,
@@ -166,7 +180,7 @@ else {
166
180
  }
167
181
  : {
168
182
  transparent: false,
169
- backgroundColor: "#1a1a1c",
183
+ backgroundColor: winBgColor,
170
184
  }),
171
185
  webPreferences: {
172
186
  nodeIntegration: false,