mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
tools.Env holds what the shared tools run with (folders, assets, host,
HTTP client, UI hooks) and what the groups share: the platforms, devvm's
mise.toml, a tool's image file and the share's lock. Versions, Share and
VMs each embed it:
- Versions: the tools lock, resolving it with the host's mise, the daily
check and refresh, the image files of an image name's tools.
- Share: building, listing and deleting the share's tool images.
- VMs: newer tools than a VM's, and moving a VM to them.
vm.Env and build.Builder hold a *tools.Env; callers name the group they
use (tools.Versions{Env: e.Tools}.Files, tools.Share{Env: b.Tools}.List).
internal/tools.Tools leaves the structure test's largeTypes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>