Files
devvm/internal/tools
w3cjandClaude Opus 5.5 600d553586 refactor(tools): split the shared tools into Env, Versions, Share and VMs
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]>
2026-10-25 21:41:00 -06:00
..