18 Commits

Author SHA1 Message Date
Guilherme Rambo
5b4006330c Improve support for virtual machines stored outside the library (#830)
* Improve support for virtual machines stored outside the library

* Resolve VM identifier conflicts when opening from outside the library

* Improve UI for virtual machine UUID conflict resolution

* Moved sheet presentation code into generic helper

* Only mention Xcode and vbctl in conflict prompts when the corresponding features are enabled and in use for the affected VMs

* Add preference for disabling showing external virtual machines in the library
2026-11-30 14:36:32 -03:00
Guilherme Rambo
529712cdfd Implement vbctl for command-line access (#829) 2026-11-26 19:03:47 -03:00
Guilherme Rambo
8534c995fe Dedicated security settings tab, tunnel approval controls (#828) 2026-11-26 12:46:34 -03:00
Guilherme Rambo
4181d09e17 Guest<>host port and Unix socket forwarding (#824)
* Custom socket tunnels

* Improve tunnel configuration UI

* Tweak tunnel editing UI to be less confusing

* Create tunnel socket parent path if it doesn't already exist

* Security: Harden tunnel approval verification

* Security: harden tunnel approval UI against tampered strings, use only digest for validating approvals

* Security: refuse to start a TCP listener when something already answers at its address; replace existing socket when appropriate

* Fix newly added tunnel that replaces an existing listener being blocked by address in use

* Security: make tunnel status text from the other side safe to display

Status and failure text is chosen by the other side of a tunnel and shown
next to the tunnel in settings. Remove invisible, reordering and
line-breaking characters from it and limit its length.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: require a trusted owner for every folder enclosing a tunnel socket

Each component of a listener's path, as written and as resolved through
links, has to belong to this account or to a system account. Set the
socket's permissions without following links.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: check who owns a Unix socket tunnel destination

Apply the path ownership check to destinations, and require the service
that accepts the connection to run as this account or a system account.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: give each tunnel its own share of a virtual machine's connections

Raise the limit to 64 connections per virtual machine with at most 32 for
one tunnel, so holding one tunnel's connections open can't starve the
others. Pause a listener that runs out of descriptors or memory instead
of stopping it for good.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: keep the reason a tunnel failed on the host from the guest

The guest is only told that a tunnel isn't available on the host.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Update service tunnels audit report with the status of F5 to F10

Notes what was fixed for each finding and what was left as is.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Support managed preference restrictions on tunnels

* Remove audit file

* Tunnels UI tweaks

* Rewrite service tunnels documentation

---------

Co-authored-by: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-25 18:17:16 -03:00
Guilherme Rambo
aabca5342d Xcode app provisioning (#823)
* Automatic provisioning of Mac apps launched via Xcode

* Improve Xcode integration sheet UI

* Security: harden local debugging socket and Xcode tool usage

* Soften rule around Xcode MCP use and xcodebuild prohibition

* Security: harden App Store Connect API key storage and access

* Fix debugged app incorrectly detected as not provisioned due to wildcard matching in provisioning profile

* Add previews for provisioning and debugging UI elements

* Disambiguate virtual machine vs. host Mac in provisioning and signing team management UIs

* Make Xcode debugging setup accessible from the Guest menu

* Completely disable debugging socket when developer features disabled, fix socket dying on accept failure

* Add versioning to scheme bindings, refer to VirtualBuddy components by a stable symlinked location, store scheme URLs so that app can potentially migrate schemes in the future

* Delay showing provisioning sheet so that an app that's already provisioned for the VM doesn't trigger it
2026-11-24 17:46:23 -03:00
Guilherme Rambo
baa001af93 Refactor Xcode debugging support (#822)
* Refactor Xcode debugging support into independent Swift packages

* Fix remote process name in Xcode debug navigator, display progress for shared cache symbol extraction, bring app to the foreground when a run requires extracting symbols
2026-11-24 10:08:45 -03:00
Guilherme Rambo
3522f6520c Xcode integration (#818)
* Implement Xcode integration for running and debugging a Mac app in a virtual machine

* Fix xcodeproj/xcworkspace not selectable in open panel

* Improve Xcode project setup UI

* Add dedicated Developer tab in settings and global toggle for developer features

* Improve developer settings UI

* Add managed preference for disabling developer features
2026-11-20 17:37:23 -03:00
Guilherme Rambo
caac460866 Improve compatibility warnings (#815)
* Prioritize host OS incompatibility message in setup UI

* Remove usage of xmark symbol as error indication because it can be confusing

* Display entire shared warning/incompatibility message as a banner in setup UI

* Include link in device support instructions for macOS 27

* Improve shared incompatibility message UI
2026-11-18 10:56:21 -03:00
Guilherme Rambo
ff855c2808 Allow shared folders and display configuration changes on live VM (#806)
* Implement live configuration updates for shared folders

* Allow display configuration changes on live VM

* Improve live VM settings UI
2026-11-04 13:31:55 -03:00
Guilherme Rambo
d0bd181447 Allow requirement sets to declare a minimum required version of VirtualBuddy (#805) 2026-11-04 11:01:52 -03:00
Guilherme Rambo
4b012d3c01 Guest appearance sync service (#803) 2026-11-03 13:54:41 -03:00
Guilherme Rambo
9af56efdf1 Guest metadata service & UI (#802)
* Add new guest system information service to collect up-to-date details about the guest that can be displayed offline in the host

* Tweak get info wording

* Update agents

* Add preview library item with guest system info

* Improve VM metadata overlays in library view

* Xcode update

* Improve VM get info UI
2026-11-03 12:51:13 -03:00
Guilherme Rambo
4a81b81f99 Add managed preferences for disabling SSH and auto-login (#797) 2026-10-27 09:59:14 -03:00
Guilherme Rambo
084866a489 Fix VM state save/restore not working when using non-standard library location 2026-10-14 16:43:41 -03:00
Guilherme Rambo
cbbe051d4a Make VirtualBuddyGuest requirement more prominent in VM configuration UI, add guest connection state to VM window toolbar (#781) 2026-10-05 14:44:44 -03:00
Guilherme Rambo
2a7cf4151b New virtual machine state preservation system (#780)
* Fix HostingWindowController allowing repeated requests to close while waiting for confirmation

* New virtual machine state preservation system with automatic save on close/quit and safe restoration

* Use visible directories for saved state storage for easier debugging in Finder

* Hide state restoration controls for unsupported Linux VMs

* Add app-level preference for what happens by default when attempting to close a running VM

* Use a custom sheet for VM close confirmation

* Improve VM close choice sheet

* Harden session storage against path traversal, fix race conditions in state coordination
2026-10-05 12:51:43 -03:00
Guilherme Rambo
90a7b0c0df Do not create communication channels for clipboard sharing when disabled (#779) 2026-10-02 18:47:36 -03:00
Guilherme Rambo
d84911d433 Fix duplicate name during setup overwriting existing VM (#776)
* Fix duplicate name during setup overwriting existing VM

* Move VirtualCore tests into a dedicated target
2026-10-02 13:20:13 -03:00