Repository navigation
Conversation
Bitwarden: full vault workspace in MacTools driven by the official bw CLI. Sign in or unlock, search by name, username, or website, browse by type, folder, collection, favorites, and trash, edit items with custom fields, manage folders, generate passwords, copy values and TOTP codes, and lock automatically on close, sleep, or after five minutes idle. Organization items stay read-only and reprompt items are unavailable in the workspace. Tailscale: menu bar switch for the tailnet connection with peer browsing, pinned devices, address copy, exit node selection, relay/direct connectivity checks, and one-tap sign-in that opens the device authorization page. Both plugins ship 12-language localization, XCTest coverage, and plugin docs.
|
Thanks for adding these integrations! I reviewed
The seven existing plugin tests passed in an isolated harness. Thanks for taking care of these boundaries! |
Problem and result
The plugin catalog has no password-management or mesh-VPN entries. This PR adds two native plugins:
bitwarden, productivity): a full vault workspace in MacTools driven by the officialbwCLI. Users sign in or unlock once, then browse/search/edit their vault without switching apps.tailscale, system): a menu bar switch for the tailnet connection with peer browsing, exit node selection, connectivity checks, and one-tap device-authorization sign-in.Both plugins follow the PluginKit v7 contract, run entirely on-device, and network only through the user's own Bitwarden server or the Tailscale control plane (declared in
privacy).Changes
Plugins/Bitwarden/— plugin manifest, factory/plugin entry, CLI process wrapper (BitwardenCLI), vault state machine (BitwardenVault), SwiftUI workspace (BitwardenWorkspace), tests, 12-language localization (Vault.xcstrings,Localizable.xcstrings), and user documentation.--passwordenv(master password never enters argv); dedicated CLI data directory isolated from the desktop app and terminal sessions.TransientType/ConcealedTypemarkers); TOTP code copy.Plugins/Tailscale/— plugin manifest, factory/plugin entry, CLI status parsing (TailscaleStatus), tests, 12-language localization, and user documentation.Verification
make validate-localization(12 languages complete),make validate-changelog,git diff --check— all pass.make build-plugin PLUGIN=bitwarden,tailscale— both packages build and passcodesign --verify --strict; bundles contain all 12.lprojresources.XCTest: Bitwarden draft round-trip/reprompt-guard tests and Tailscale plugin tests (5 tests) pass underxcrun xctest.bwexecutable passes: unlock → list → read → edit (stdin) → lock cleanup.MacToolsPluginBundleFactoryand return exactly one plugin with matching metadata IDs.UI evidence
New plugin surfaces: Bitwarden opens a three-pane vault workspace (sidebar filters / item list / detail pane) with sign-in, unlock, editor sheet, folder manager, and password generator; Tailscale adds a feature-panel switch row plus an icon widget and a sign-in button when logged out. Entry points are the MacTools feature panel and settings. Screenshots can be added if reviewers want them attached inline; UI strings are provided in 12 languages.
Checklist