Repository navigation
feat(vika): enable email connector on Windows preview - #7221
Merged
Merged
Conversation
Email was only disabled on win32 because the account-file 0600 check cannot pass there (lstat reports 0666). Skip the mode check when the platform has no file modes (supportsFileModes) and enable email in the win32 capabilities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 of 12 tasks
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.
Why
Email was disabled on win32 in the Windows preview (#7218) only because the email account-file permission check (
mode & 0o077must be 0) always fails on Windows, wherelstatreports 0o666 regardless of ACLs. The email code itself is Windows-safe (archives go to viking:// URIs, attachment names are sanitized).What changed
capabilities.mjs: email connector enabled on all platforms (the setup wizard filters on this capability, so email now appears on Windows).config.mjs: removed the email-specific Windows rejection;privateRegularFileonly checks mode bits when the existing platform keysupportsFileModesis true (posix true, win32 false). No newprocess.platformuse outsideplatform/. Reusing the existing key, sointerfaceKeysis unchanged.docs/windows.md: email no longer listed as disabled; note that the account file mode is not checked on Windows, keep it in a private user-owned directory.Tests
cd vika && npm ci && npm teston Linux: 1292 tests, 1284 pass, 0 fail (8 skipped).Not yet verified on a real Windows machine.
🤖 Generated with Claude Code