devvm cursor is devvm code's twin for Cursor, the editor. It gets the
folder's VM ready as devvm host does, then runs
`cursor --remote ssh-remote+HOST DIR` in devvm's place, with the SSH
agent devvm started with. Without `cursor` on PATH it fails with
no_cursor_command, naming the host to connect to.
Cursor's Agent and your sign-in (from CJ's manual check with a real
login): recent Cursor runs Agent in the editor's server in the VM, which
holds your Cursor sign-in in memory only (no token on disk, in any
environment or command line) and calls Cursor from the VM. Cursor's
`cursorAgentHost.remoteInferenceRoute` is application-scoped, so it's
read only from the user settings on this machine; with it set to
"always", Agent's own requests go through the Cursor app here, while
the VM's server still talks to Cursor.
- vm: Code and Cursor share openRemote; vm.CursorCommand names the
editor's command, apart from the CLI agent's agents.Cursor. After
LookPath finds `cursor`, devvm reads Cursor's user settings on this
machine (platform.AppSettingsDir: Application Support on macOS,
$XDG_CONFIG_HOME or ~/.config on Linux) through safefile.Read, 1 MiB
at most, read-only, as JSON with comments, and warns with
cursor_agent_in_vm unless the route is "always". It never fails on
the file.
- sync.sh: Cursor's ~/.cursor-server/data/Machine/settings.json gets VS
Code's remote.autoForwardPorts, git.terminalAuthentication and
github.gitAuthentication off, in one loop over both editors' files.
devvm doesn't write the route there, since Cursor ignores it.
- structure: nameFree lets a literal that is an agent's name stand in
one file, with its reason, and fails when it frees nothing.
- cli: cursor.go (--ssh-config, --here, --parent), registered beside
code; cursor_failed, no_cursor_command, cursor_agent_in_vm and their
doc links; ssh_host_info names Cursor too; the cli skill's judgment
note: an editor's command is a bare verb named after the editor's.
- Tests: host_code.txtar (cursor, its full-name host, the missing
command, the warning and no warning once the route is set),
guest.txtar, TestCursorAgentWarning (always, absent, other values, no
file, broken JSON, too long, a FIFO, the XDG path; never written),
e2e network: devvm cursor passes the editor only the host and folder,
a fake editor sign-in on this machine reaches neither the VM's home,
its processes' environments nor the proxy's logs, and a Cursor login
in the store reaches the CLI's methods while the agent store's are
refused.
- Docs: SSH and editors (commands first; "Cursor's Agent": it runs in
the VM with your sign-in, the user-settings line, what it doesn't
cover, open only VMs you trust; if Tab doesn't work on the allowlist
tier, devvm network allow api3.cursor.sh), the agents page's Cursor
notes, Commands, attack vectors, design, the home page, CHANGELOG,
generated CLI pages.
Reviewed adversarially before the push: the settings read (size, FIFOs,
links), the warning's wording and when it fires. Researched with PR
#44's design as reference only.
Co-authored-by: JB <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Linux .git protection (namespace read-only binds, watch-only where the
kernel refuses) described wherever pages said macOS only
- attack vectors: the duplicated "Minting credentials" fragment removed,
the shell prompt moved from Blocked to Narrowed, what a build reaches,
localhost cookies on forwarded ports, malware left in the project folder,
same-user programs and the proxy password, devvm's host programs that
read what a VM sends
- builds' reach per host, the hostagent profile limits only the network
- known limits: macOS and Linux only
- design: tokens for other services are built (devvm secret set)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each toolchain is one image.ToolDef in image.SharedTools, which also
holds its guest environment, its PATH folders and its version files. They
leave base's devvm-tools.sh for /etc/devvm/toolchains.sh, which every
launch writes, so base.sh changes and every image rebuilds once. The
structure test's names rule fails on a toolchain's name as a literal
outside internal/image, TestToolchainsComplete checks the toolchains
page, and Contributing gains Adding a toolchain.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each coding agent gets one definition, an agents.Def in a new stdlib-only
leaf package, internal/agents, and everything else iterates over
agents.Defs: agentlogin's format per login kind, secrets' login kinds,
settings' [pass-keys], image.SharedTools, the vm package's store tables
and scripts, and cli's help lists. The VM copies of every login file,
their bindings, the store's layout, the scripts and the CLI reference
stay the same byte for byte, as golden tests made before the refactor
show.
The agents' guest variables leave base.sh for /etc/devvm/agents.sh,
written at every launch, so every image rebuilds once. Messages are
merged per agent (login_kept, login_passed, login_withheld,
login_oauth_withheld, agent_login_key_only). The structure test's new
names rule fails on an agent's name or login kind as a literal outside
internal/agents, and literals on one holding an agent's folder. Docs
link the supported coding agents rather than listing them, and
Contributing gains Adding a coding agent.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds pi (earendil-works/pi) as a shared coding agent beside Claude
Code, Codex and opencode: --agents pi, devvm tools add pi, the new-VM
picker and devvm setup offer it. Its network policy allows pi.dev; base
sets PI_SKIP_VERSION_CHECK=1 and PI_TELEMETRY=0 and installs fd-find,
so base and every image on it build again once. The agent store mounts
and copies pi's settings, with keys redacted as JSON.
pi's auth.json is a new login kind: its API keys for Anthropic, OpenAI
and OpenRouter become per-VM placeholders the proxy fills in (devvm
agent login pi --api-key --provider PROVIDER), and everything else is
withheld by default, unless config.toml's [pass-keys] lists the
provider. pi's own account logins aren't supported, and pi has no musl
build, so a musl VM refuses it (image.ToolDef.GlibcOnly). Its sessions
go into devvm history export and import.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
## What this changes
Every page on devvm.dev and next.devvm.dev gets its own Open Graph card,
which Hugo draws when it builds the site. Each card is the brand card
(the pixel logo with the lock, black, the lime bar, devvm.dev) with the
page's section in lime capitals, its title, and a short explainer of
what the page covers.
> [!NOTE]
> The six preview cards in `docs/og-preview/` were for review only.
`chore(docs): drop the preview social cards` removes them again, so the
squashed commit doesn't have them, and the images below still show from
the commit that added them.
- **The template**, `docs/assets/images/og-template.png`, is
`docs/static/images/social-card.png` with the headline and tagline rows
filled with the background's exact black. The repo has no SVG or
generator for the card: it was a headless Chrome screenshot of the logo
SVG and text. The old card has only four colors (`#000000`, `#7fff00`,
`#eeeeee`, `#8f93a2`) and no antialiasing, so filling those rows leaves
no marks. The logo, `devvm.dev` and the bar match the card pixel for
pixel, and the template has those four colors and nothing else.
- **The drawing**, `docs/layouts/_partials/og-image.html`, uses
`images.Text` with Departure Mono at multiples of 11px (22px for the
section label, 66, 55 or 44px for the title, whichever fits it in two
lines, and 33px for the explainer). Every line starts on a whole pixel,
so the generated cards also have exactly the template's four colors and
no antialiasing: they are as crisp as the logo. `og-wrap.html` wraps
lines by length, because the font is monospaced. The block is centered
between the logo and devvm.dev. The section is the page's section title,
*Docs* on a section's own page, and none on the home, branding and
taxonomy pages.
- **The font:** Departure Mono **v1.500**, the release the site's woff2
comes from (checked: the woff2 in the release zip is byte-identical to
`docs/static/fonts/departure-mono/DepartureMono-Regular.woff2`, sha256
`5b4fed1d…`, and so is the LICENSE). That release ships an OTF, not a
TTF. Hugo's `images.Text` reads it fine, so
`docs/assets/fonts/departure-mono/` has `DepartureMono-Regular.otf`
(sha256
`4d53f663155cf8bf7ffc8e688776e719625f7bbb80a8d90073438b249261a2e0`) and
its OFL. Source: `gh release download v1.500 -R
rektdeckard/departure-mono`, `DepartureMono-1.500.zip`, sha256
`bf3e48059aeef4617ec585bdea81dcc3491c576b3e7a472f52faf40e09ee5c3a`.
- **The tags:** `custom/head-end.html` writes `og:image`,
`og:image:type`, `og:image:width`/`height`, `og:image:alt` and
`twitter:image:alt`. The alt text is `devvm docs: TITLE: EXPLAINER`.
`_partials/_funcs/get-page-images.html` replaces Hugo's own, which
Hugo's `twitter_cards.html` and `schema.html` call, so `twitter:card` is
`summary_large_image` and `twitter:image` and `itemprop=image` are the
same card. `params.images` is removed from `hugo.yaml`, so Hextra's
`opengraph.html` writes no second `og:image`. In the built site, every
one of the 115 HTML pages (the 404 included) has exactly one `og:image`,
and each card is different.
- **The explainer** is a new front matter key, `explainer`, not
`description`. `description` is the page's meta description,
`og:description`, the search snippet and its `llms.txt` line. Those want
a sentence or two, and only two pages have one. A 4–9 word card line
would be a weak search snippet. Every hand-written page has one. The CLI
pages get their command's `Short` from `internal/cli/docgen` (`mise run
cli-docs` rerun), and the reference's index gets a fixed one. The home
page also sets `cardTitle: One VM for every project` (the hero's
headline), because its title, `devvm`, would repeat the logo.
- **The guard:** `TestExplainers` in
`internal/cli/docgen/explainer_test.go` fails when any page under
`docs/content` has no `explainer`. It also fails when the explainer
takes more than two card lines of 48 characters (33px), or when the
title (or `cardTitle`) takes more than two lines of 36 characters
(44px). Those are the card's real limits, and they also cover the
longest `Short`s. It runs in `mise run test` and in `mise run
lint:docs`, next to `TestDocLinks`. `TestFrontMatter` and
`TestWrappedLines` cover its parsing.
- **Docs:** Contributing › Writing docs describes the cards, the key and
the test. The branding page says each page has its own card.
`social-card.png` stays as the brand asset.
### Numbers
| | Before (main) | After |
| --- | --- | --- |
| Built site (`hugo -s docs --minify`, apparent size) | 40,194 KB |
42,138 KB (+1.9 MB) |
| Cards | 1 static card | 115 PNGs, 14.9–16.6 KB each, 1.84 MB total |
| Build time, image cache cold (`--ignoreCache`) | ~1.0 s | 1.4–1.95 s |
| Build time, image cache warm | ~1.0 s | ~1.0 s |
The cards are smaller than the prototype's estimate (about 16 KB, not
22–34 KB), because they have only four colors.
next.devvm.dev: `hugo -s docs --minify --config hugo.yaml,next.yaml`
gives `og:image`, `twitter:image` and `itemprop=image` as
`https://next.devvm.dev/images/og-template_hu_….png` on every page.
### Examples
| Home | Short title |
| --- | --- |
|

|

|
| **Longest title (two lines)** | **CLI page, longest explainer** |
| 
| 
|
| **Section index** | **How it works page** |
| 
| 
|
### Every page's card
From a local `hugo -s docs --minify` build. "(none)" is a page whose
card has no section label or no explainer. The 404 page's card, titled
*404 Page not found*, isn't listed.
| Section | Page | Title | Explainer | Card |
| --- | --- | --- | --- | --- |
| (none) | `/branding/` | Branding | devvm's logo, icons, colors and
fonts | 15.6 KB |
| (none) | `/categories/` | Categories | (none) | 15.0 KB |
| Docs | `/docs/backends/` | Backends | The program that runs devvm's
VMs | 15.7 KB |
| Backends | `/docs/backends/lima/` | Lima | What Lima needs, and how
devvm uses it | 15.7 KB |
| CLI reference | `/docs/cli/devvm_adopt/` | devvm adopt | Give this
folder the VM made for an earlier folder or path | 16.3 KB |
| CLI reference | `/docs/cli/devvm_agent_import/` | devvm agent import |
Copy the agents' settings and logins from this machine into devvm's
store | 16.6 KB |
| CLI reference | `/docs/cli/devvm_agent_login/` | devvm agent login |
Log an agent in, in this folder's VM, and save the login in devvm's
store | 16.6 KB |
| CLI reference | `/docs/cli/devvm_agent_save/` | devvm agent save |
Copy the agents' settings from this folder's VM into devvm's store |
16.5 KB |
| CLI reference | `/docs/cli/devvm_agent/` | devvm agent | Fill devvm's
store of the agents' settings and logins that every VM gets | 16.6 KB |
| CLI reference | `/docs/cli/devvm_build/` | devvm build | Build an
image and the images under it, unless they're built | 16.4 KB |
| CLI reference | `/docs/cli/devvm_clone/` | devvm clone | Show or
change whether this folder's VM has its own clone of the repo | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_code/` | devvm code | Open this
folder's VM in VS Code over Remote-SSH | 15.9 KB |
| CLI reference | `/docs/cli/devvm_completion/` | devvm completion |
Print the shell completion script for bash, zsh or fish | 16.3 KB |
| CLI reference | `/docs/cli/devvm_desktop/` | devvm desktop | Open this
folder's VM's desktop in a VNC viewer | 16.0 KB |
| CLI reference | `/docs/cli/devvm_doctor/` | devvm doctor | Check what
devvm needs on this machine | 15.8 KB |
| CLI reference | `/docs/cli/devvm_gc/` | devvm gc | Delete stale
images, unused tools, old files and the Nix cache over its cap | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_git-protect/` | devvm git-protect |
Show or change .git protection for this folder's VM | 16.3 KB |
| CLI reference | `/docs/cli/devvm_group_join/` | devvm group join | Put
this folder's VM in a group of VMs | 15.9 KB |
| CLI reference | `/docs/cli/devvm_group_leave/` | devvm group leave |
Take this folder's VM out of its group | 16.0 KB |
| CLI reference | `/docs/cli/devvm_group/` | devvm group | Show the
group this folder's VM is in | 15.9 KB |
| CLI reference | `/docs/cli/devvm_history_export/` | devvm history
export | Save this folder's VM's agent history to a .tar.gz | 16.5 KB |
| CLI reference | `/docs/cli/devvm_history_import/` | devvm history
import | Put an export of agent history into this folder's VM | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_history/` | devvm history | List the
saved exports of agents' history | 16.0 KB |
| CLI reference | `/docs/cli/devvm_host/` | devvm host | Get this
folder's VM ready for ssh and editors, and show its host name | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_images_rm/` | devvm images rm |
Delete images, by name or by key | 15.9 KB |
| CLI reference | `/docs/cli/devvm_images/` | devvm images | List the
images and the shared tools | 15.9 KB |
| CLI reference | `/docs/cli/devvm_layer_add/` | devvm layer add | Make
this folder's VM again with more layers, then open a shell in it | 16.6
KB |
| CLI reference | `/docs/cli/devvm_layer_new/` | devvm layer new | Start
a layer of your own | 15.8 KB |
| CLI reference | `/docs/cli/devvm_layer_rm/` | devvm layer rm | Make
this folder's VM again without some of its layers, then open a shell in
it | 16.6 KB |
| CLI reference | `/docs/cli/devvm_layer/` | devvm layer | Make image
layers of your own, or change this folder's VM's layers | 16.6 KB |
| CLI reference | `/docs/cli/devvm_limactl/` | devvm limactl | Run
Lima's limactl for debugging, which starts VMs unconfined, whatever
their tier | 16.6 KB |
| CLI reference | `/docs/cli/devvm_link_add/` | devvm link add | Link
this folder's VM to a port of another VM | 16.0 KB |
| CLI reference | `/docs/cli/devvm_link_publish/` | devvm link publish |
Show or add the ports this folder's VM offers to links | 16.3 KB |
| CLI reference | `/docs/cli/devvm_link_rm/` | devvm link rm | Remove
one of this folder's VM's links | 15.8 KB |
| CLI reference | `/docs/cli/devvm_link_unpublish/` | devvm link
unpublish | Stop offering ports of this folder's VM to links | 16.1 KB |
| CLI reference | `/docs/cli/devvm_link/` | devvm link | List this
folder's VM's links to your other VMs | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ls/` | devvm ls | List the project
VMs | 15.7 KB |
| CLI reference | `/docs/cli/devvm_network_allow/` | devvm network allow
| Allow hosts for this folder's VM | 15.9 KB |
| CLI reference | `/docs/cli/devvm_network_deny/` | devvm network deny |
Deny hosts for this folder's VM | 15.9 KB |
| CLI reference | `/docs/cli/devvm_network_log/` | devvm network log |
Show what this folder's VM connected to and what its proxy blocked |
16.5 KB |
| CLI reference | `/docs/cli/devvm_network_rm/` | devvm network rm |
Remove rules from this folder's VM | 15.8 KB |
| CLI reference | `/docs/cli/devvm_network/` | devvm network | Show or
change the network tier of this folder's VM | 16.2 KB |
| CLI reference | `/docs/cli/devvm_ports_add/` | devvm ports add |
Forward more ports from this folder's VM | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ports_rm/` | devvm ports rm | Stop
forwarding some ports from this folder's VM | 16.1 KB |
| CLI reference | `/docs/cli/devvm_ports/` | devvm ports | Show or
change which ports this folder's VM forwards | 16.3 KB |
| CLI reference | `/docs/cli/devvm_rebuild/` | devvm rebuild | Build an
image again, and delete the old one | 16.0 KB |
| CLI reference | `/docs/cli/devvm_restart/` | devvm restart | Restart
this folder's VM and open a shell in it | 16.0 KB |
| CLI reference | `/docs/cli/devvm_retention/` | devvm retention | Show
or change what devvm deletes on its own | 15.9 KB |
| CLI reference | `/docs/cli/devvm_rm/` | devvm rm | Delete this
folder's VM, or a VM whose folder is gone | 16.1 KB |
| CLI reference | `/docs/cli/devvm_secret_rm/` | devvm secret rm |
Delete a saved secret | 15.7 KB |
| CLI reference | `/docs/cli/devvm_secret_set/` | devvm secret set |
Save a secret on this machine | 15.8 KB |
| CLI reference | `/docs/cli/devvm_secret_unuse/` | devvm secret unuse |
Stop this folder's VM using a secret | 16.0 KB |
| CLI reference | `/docs/cli/devvm_secret_use/` | devvm secret use | Let
this folder's VM use a secret | 15.8 KB |
| CLI reference | `/docs/cli/devvm_secret/` | devvm secret | List the
secrets kept on this machine, for VMs to use | 16.2 KB |
| CLI reference | `/docs/cli/devvm_setup/` | devvm setup | Choose base's
features, and new VMs' size, network tier, coding agents and layers |
16.6 KB |
| CLI reference | `/docs/cli/devvm_size/` | devvm size | Show or change
this folder's VM's size | 15.9 KB |
| CLI reference | `/docs/cli/devvm_space/` | devvm space | Show what
devvm keeps on this machine and the space it takes | 16.3 KB |
| CLI reference | `/docs/cli/devvm_ssh-agent_add/` | devvm ssh-agent add
| Load a key into devvm's own SSH agent | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ssh-agent_rm/` | devvm ssh-agent rm |
Remove a key from devvm's own SSH agent | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ssh-agent/` | devvm ssh-agent | Show
or change SSH agent forwarding for this folder's VM | 16.4 KB |
| CLI reference | `/docs/cli/devvm_stop/` | devvm stop | Stop this
folder's VM | 15.6 KB |
| CLI reference | `/docs/cli/devvm_tools_add/` | devvm tools add | Add
shared tools to this folder's VM, then open a shell in it | 16.3 KB |
| CLI reference | `/docs/cli/devvm_tools_rm/` | devvm tools rm | Take
shared tools out of this folder's VM, then open a shell in it | 16.3 KB
|
| CLI reference | `/docs/cli/devvm_tools_update/` | devvm tools update |
Move this folder's VM to the newest shared tools, then open a shell in
it | 16.5 KB |
| CLI reference | `/docs/cli/devvm_tools/` | devvm tools | Show or
choose this folder's VM's shared tools | 15.9 KB |
| CLI reference | `/docs/cli/devvm_update/` | devvm update | Bring this
folder's VM up to date, then open a shell in it | 16.3 KB |
| CLI reference | `/docs/cli/devvm_upgrade/` | devvm upgrade | Install
devvm's newest release | 15.8 KB |
| CLI reference | `/docs/cli/devvm/` | devvm | Open a shell in this
folder's VM, creating it first | 16.1 KB |
| Docs | `/docs/cli/` | CLI reference | Every devvm command, with its
arguments and flags | 16.1 KB |
| Docs | `/docs/contributing/` | Contributing | Build devvm, run its
tests and follow its rules | 15.8 KB |
| Contributing | `/docs/contributing/maintaining/` | Maintaining | Bump
pinned versions, release devvm and run the docs sites | 16.3 KB |
| Contributing | `/docs/contributing/testing/` | Testing on other hosts
| Run devvm's tests on Linux, x86_64 and other hosts | 16.3 KB |
| Getting started | `/docs/getting-started/commands/` | Everyday
commands | The commands you use most, in their groups | 16.0 KB |
| Getting started | `/docs/getting-started/first-vm/` | Your first VM |
Make a project's VM and start an agent in it | 16.0 KB |
| Docs | `/docs/getting-started/` | Getting started | From installing
devvm to your first VM | 15.9 KB |
| Getting started | `/docs/getting-started/install/` | Installing |
Install devvm and check what it needs | 15.8 KB |
| (none) | `/docs/` | Docs | The guides, in the order you'll need them |
15.6 KB |
| How it works | `/docs/internals/backends/` | Backends | What a backend
gives devvm, and how VMs are named | 16.1 KB |
| How it works | `/docs/internals/design/` | Design notes | Why devvm is
built this way, and what's open | 15.9 KB |
| How it works | `/docs/internals/desktop/` | The desktop | How devvm
desktop serves a VM's desktop | 15.9 KB |
| How it works | `/docs/internals/git-protection/` | .git protection |
What devvm locks in .git, and when | 15.9 KB |
| How it works | `/docs/internals/images/` | Images and caching | How
images and shared tools are built and cached | 16.2 KB |
| Docs | `/docs/internals/` | How it works | How devvm works, for
reviewers and contributors | 15.9 KB |
| How it works | `/docs/internals/install/` | Installing and updating |
What the install script and devvm doctor check | 16.1 KB |
| How it works | `/docs/internals/lima/` | Lima | How devvm sets up,
confines and clones Lima's VMs | 16.0 KB |
| How it works | `/docs/internals/network/` | Network tiers | How the
proxy confines VMs and keeps your secrets | 16.2 KB |
| How it works | `/docs/internals/overview/` | Overview | What devvm
does at each step of a VM's life | 15.8 KB |
| How it works | `/docs/internals/ports/` | Port forwarding | How devvm
forwards a VM's ports to this machine | 16.1 KB |
| How it works | `/docs/internals/security/` | Security model | What
devvm protects, how, and what it doesn't | 16.0 KB |
| Staying safe | `/docs/safety/attack-vectors/` | Attack vectors |
Common attacks, and what devvm does about each | 15.9 KB |
| Staying safe | `/docs/safety/git-protection/` | .git protection | Keep
code in the VM out of your .git | 16.0 KB |
| Docs | `/docs/safety/` | Staying safe | How devvm keeps untrusted code
off your machine | 16.0 KB |
| Staying safe | `/docs/safety/network/` | Network tiers | Choose what
each VM can reach on the network | 15.9 KB |
| Using devvm | `/docs/using/clone/` | Working on a clone | Give a VM
its own clone of the repo | 15.9 KB |
| Using devvm | `/docs/using/coding-agents/` | Coding agents | Run
Claude Code, Codex and opencode in a VM | 16.0 KB |
| Using devvm | `/docs/using/command-line/` | The command line | Help,
flags, questions, JSON output and completion | 16.3 KB |
| Using devvm | `/docs/using/customizing/` | Customizing images | Add
your own layers and choose base's features | 16.1 KB |
| Using devvm | `/docs/using/desktop/` | A VM's desktop | Add a desktop
to a VM and open it | 15.8 KB |
| Using devvm | `/docs/using/devcontainer/` | devcontainer.json | Set up
a VM from a project's devcontainer.json | 16.1 KB |
| Using devvm | `/docs/using/from/` | Starting from a container image |
Start base from a Debian, Ubuntu or Alpine image | 16.6 KB |
| Using devvm | `/docs/using/images/` | Images and tools | The images
VMs are made from, and their tools | 16.1 KB |
| Docs | `/docs/using/` | Using devvm | What you change in your VMs as
you work | 15.9 KB |
| Using devvm | `/docs/using/limits/` | Known limits | What devvm can't
do, and where | 15.7 KB |
| Using devvm | `/docs/using/links/` | Links between VMs | Let one VM
reach a service in another by name | 16.1 KB |
| Using devvm | `/docs/using/ports-size/` | Ports and size | Forward a
VM's ports and change its size | 15.9 KB |
| Using devvm | `/docs/using/settings/` | Settings and files | The files
you edit and the files devvm keeps | 16.2 KB |
| Using devvm | `/docs/using/space/` | What devvm keeps on this machine
| Each file devvm keeps, and how it's cleaned up | 16.5 KB |
| Using devvm | `/docs/using/ssh/` | SSH and editors | Reach VMs by name
from ssh and VS Code | 15.9 KB |
| Using devvm | `/docs/using/toolchains/` | Toolchains | The toolchains
VMs get, and the files that choose them | 16.2 KB |
| Using devvm | `/docs/using/troubleshooting/` | Troubleshooting | What
to do when something fails | 15.9 KB |
| Using devvm | `/docs/using/upgrading/` | Upgrading and uninstalling |
Upgrade devvm, or remove it and what it keeps | 16.5 KB |
| Using devvm | `/docs/using/vms/` | Managing VMs | Open, stop, delete
and list your VMs | 15.9 KB |
| (none) | `/` | One VM for every project | An isolated sandbox for you
or a coding agent | 16.1 KB |
| (none) | `/tags/` | Tags | (none) | 14.9 KB |
## How it was tested
- `mise run fmt && mise run lint && mise run test` passes on macOS.
`mise run lint:docs` passes: markdownlint, Vale, lychee, `TestDocLinks`,
`TestCommandLines`, `TestExplainers` and the `--panicOnWarning` build.
- I built devvm.dev and next.devvm.dev, checked that every HTML page has
exactly one `og:image`, and opened the cards for the home page, a short
title, the longest title, the longest CLI explainer, a section index, a
How it works page and the 404. I checked each card's color histogram:
four colors, so there's no antialiasing and no marks from the template.
- No e2e: the change is docs only.
## Checklist
- [x] The title is a Conventional Commit, `type(scope): summary`,
because it becomes the squashed commit's subject.
- [x] `mise run fmt && mise run lint && mise run test` passes.
- [x] New behaviour has tests, and every behaviour change updates its
page in `docs/content/docs/`.
- [x] A changed command follows the cli skill, and `mise run cli-docs`
is rerun when its help changed. (No command changed. `cli-docs` was
rerun for the generated explainers.)
- [x] Nothing here belongs in a private security advisory instead (see
SECURITY.md).
**Ready to merge:** the previews are removed and main (#25) is merged
in. The gate passes on macOS (2362 tests).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Adds `dotnet`, the .NET SDK, as a fifth shared toolchain next to node,
python, rust and go. `--tools dotnet`, `devvm tools add dotnet` and the
picker offer it, and a folder with `*.sln`, `*.slnx`, `*.csproj`,
`*.fsproj` or `global.json` at its top level suggests it in the new VM's
summary, the way `package.json` suggests node.
Refs #2. Thanks to @jsskeen-utah for the detailed request.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Base's size rule lives in using/ports-size (behaviour) and internals/images
(mechanism); the policy-file list in safety/network's Allowlists, with
internals/network naming the files; a folder made again and a subfolder's
VM in getting-started/commands, with internals/overview keeping the
mechanism; the minimum macOS and Lima versions in backends/lima's
Requirements; the new VM summary in using/images. Contributing points at
the cli skill for which test checks each rule. A folder made again is
refused by every command that opens, stops or changes the VM, not three;
the overview's ask tier and design's old field are gone.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude Code logs in from inside a VM, so this machine never needs it, and
devvm keeps one Claude Code login on the host for every VM with Claude
Code: the subscription's OAuth login, or a Claude Code token from claude
setup-token. The newest replaces the other. The VM holds placeholders
alone, so claude /login in a VM no longer leaves real tokens there.
- Capture: every VM's proxy captures at platform.claude.com and
console.anthropic.com /v1/oauth/token (agentlogin.Endpoints), only for
a VM whose image has Claude Code (netpolicy.Capturer). setup-token's
code grant (expires_in, agentlogin.SetupToken) gives the claude secret
(agentlogin.ClaudeToken, secrets.Token's checks) and the VM the
secret's placeholder. Any other code grant goes in the store's
.claude/.credentials.json (a File of kind agentlogin.ClaudeOAuth:
claudeAiOauth accessToken, refreshToken, expiresAt ms, scopes); the
VM's reply holds sk-ant-oat01-devvm-proxy-managed-oauth-<salt> and a
managed refresh token, and the VM's own refresh is answered from the
store. Refused: a new login without user:inference (Console), any
login or refresh with org:create_api_key, an access token that isn't
sk-ant-oat01- shaped.
- One login: saving the claude secret (captured or devvm secret set
claude) removes the OAuth login, and an OAuth capture deletes the saved
token, both under the claude logins folder's lock
(agentlogin.LockFolder); a token that can't be deleted is a warning.
CLAUDE_CODE_OAUTH_TOKEN in devvm's environment wins, as in Claude Code
(secrets.ClaudeOf(store).Login). A launch gives the VM either
CLAUDE_CODE_OAUTH_TOKEN or ~/.claude/.credentials.json (placeholder,
managed refresh token, expiry 2099), never both. Both bindings
(claude, claude-oauth) go into Authorization for api.anthropic.com
while either login exists, and Store.Get gives each the login devvm
keeps now, so a running VM survives the switch.
- Refresh: the host refreshes the OAuth login when due, JSON to
platform.claude.com with Claude Code's client ID and the login's
scopes, through the company proxy (proxy.RouteOf), under the file's
lock; claude_refresh_failed says to log in again.
- devvm agent login claude [--setup-token]: claude auth login --claudeai
or claude setup-token in the VM without CLAUDE_CODE_OAUTH_TOKEN, the
code pasted back on this terminal (no forward); the VM is set up again
once the store has a new login of the kind asked for
(secrets.ClaudeOf(store).Sums); claude_env_token_wins when the
environment's token wins. --device-code, --api-key and --stdin are
usage errors with claude, --setup-token without it.
- Confirmed in Claude Code 2.1.317's linux-arm64 bundle (sha256 checked):
TOKEN_URL platform.claude.com/v1/oauth/token, client ID
9d1c250a-e61b-44d9-88ed-5944d1962f5e, the JSON code and refresh
bodies, setup-token's expires_in 31536000 and user:inference scope,
the claudeAiOauth fields, the anthropic-beta oauth-2025-04-20 header
Claude Code sends itself, claude auth login's pasted code#state on
stdin. The real claude auth login logged in in e2e against the fake.
- Messages: agent_login_claude_paste, claude_login_saved,
claude_setup_token_saved, claude_env_token_wins,
agent_login_claude_flag, agent_login_setup_token_alone,
claude_refresh_failed, claude_no_login; no_claude_token,
claude_token_invalid, claude_token_howto and not_setup_token point at
devvm agent login claude.
- Tests: TestClaudeCapture, TestClaudeSetupToken, TestClaudeOAuthGet,
TestCaptureRefuses' Claude cases (agentlogin); TestOneClaudeLogin,
TestClaudeBindings, TestClaudeOAuthVMCopy (secrets); TestCapturer's
Claude cases (netpolicy); agent_login.txtar's Claude section;
network.txtar's bindings.
- e2e (network): the fake company proxy fakes Claude's token endpoint
and Anthropic's API too; setup-token's request makes the claude secret;
devvm agent login claude runs the real claude auth login, the store
keeps the login, the claude secret goes, the VM holds placeholders and
no token, the API gets the store's token for the VM's placeholder; a
due login makes the host refresh through the company proxy (which
fails there, as the host doesn't trust the run's CA).
- Docs: Claude Code login (using/coding-agents.md), first VM, the home
page, README, commands, settings, safety/network.md, internals
network.md, the design note's risk that this path is unofficial,
Contributing's e2e, the proxy README; the CLI reference.
Security review (security-audit skill, an independent read):
- Fixed: a login granting org:create_api_key would let a VM make an API
key through the binding and get it unread: refused, on refresh too.
- Fixed: a refresh could install a Console login when the store had
none: the scope check applies to every new login.
- Fixed: any VM, without Claude Code, could replace the login or delete
the token with a refresh grant: only a VM with Claude Code captures.
- Fixed: two captures at once could leave neither login: one lock.
- Fixed: a saved token that couldn't be deleted gave the VM a 502 for a
saved login: a warning instead.
- Fixed: captured and refreshed access tokens are shape-checked.
- Accepted, documented: the bound login reaches every api.anthropic.com
path its scopes allow (profile, sessions); any VM with Claude Code can
replace the login; a token Claude Code mints in a VM for another use
(install-github-app) becomes devvm's login.
- Unconfirmed: whether another Anthropic host also answers
/v1/oauth/token (it would pass unguarded).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every page that spoke of network policy as on or off now speaks of the
four tiers: confined (internet, allowlist, none) or open. safety/network.md
is titled Network tiers, its company-proxy subsection is "Open VMs and
builds", and a new section lists tools that ignore HTTP(S)_PROXY on the
open tier (Node's fetch without NODE_USE_ENV_PROXY, aiohttp without
trust_env, Go programs with their own transport, Java, the Docker daemon).
internals/lima.md says how each tier reaches its proxy; design.md names
link_tier_mismatch and group_tier_mismatch; the help texts of stop,
network log, layer new, limactl and _proxy drop "network policy".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Quick start is now the install tabs, then three cards side by side from
1024px: go to your project, run devvm, start your agent. Each card has a
terminal that loops on its own: cd ~/some-project typed out, devvm typed
and claude checked in its list, and claude typed in the VM's shell. They
are SVG and CSS only, drawn in their end state for reduced motion.
- step-cd.svg, step-pick.svg, step-agent.svg; the type, caret,
caret-blink, pick-list, pick-cursor, pick-check and key classes in
custom.css; three-column cards' art at most twice its size
- What's supported's Backends card is now Layers (layers.svg: the image
docker+nix as a stack, the built-in layers beside it); the Lima fact
moves to the FAQ; backends.svg goes
- the hero's art is centered, and a gap sits above Quick start's cards
- install's unused step parameter goes, from the shortcode, its Markdown
copy and install-tabs.html
- hugo.yaml: Hugo's module fetches use the environment's proxy
- Contributing describes the new cards, drawings and animations
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every VM gets its agents' settings and logins from devvm's own store,
never from the agents' files in the home folder: settings in
~/.config/devvm/agents/<agent>/, logins in
~/.local/share/devvm/logins/<agent>/ (folders 700, files 600, each
agent's logins folder kept out of Time Machine), each laid out as in a
home folder. The store's settings folders are mounted read-only and
linked into the VM's home; its files and logins are copied in, with
network policy as placeholders the proxy fills from the store.
devvm agent import [AGENT...] [--force] copies the home folder's agent
settings and logins into the store once: only agentDirs, agentFiles and
secrets.LoginRel's paths, never history; .claude.json reduced to its
settings, account state and MCP servers; read through each agent's
folder as an os.Root, so no link out of it is followed (a link to a file
inside becomes a copy, any other is left out with a warning, and so is
a login file that's a link); Claude Code's plugin records renamed to the
store's folders. It asks before replacing what the store has (refused
without a terminal, naming --force), replaces in place, keeping the
mounted folders, and prunes what the home folder no longer has.
- paths: Dirs.AgentSettings, Dirs.AgentLogins
- secrets: LoginRel, LoginFile(Dirs, kind), SaveLogin, HasLogin,
Store.ExcludeFromBackup; Logins, VMLogin, ClaudeCopy, MCPSecrets and
the proxy's Get read the store
- vm: agentStore, agentMounts/homeSkips/Inventory.Mounts take Dirs,
syncer.stageAgents, AgentImport; the guest's links file holds each
folder's home path and its mount's (host_home is gone)
- structure: callers takes methods (pkg.Type.Name);
Dirs.AgentSettings only in vm/agents.go, Dirs.AgentLogins only in
secrets/secrets.go
- messages: agent_import_none, agent_import_nothing,
agent_import_replace, nothing_imported, agent_settings_imported,
agent_login_imported, agent_import_link_left_out,
agent_login_read_failed, agent_import_failed; the login refresh
messages point at devvm agent import
- tests: agentimport_test.go, testdata/script/agent.txtar, sync and
network scripts through the store, e2e project and network sections
- docs: coding agents (devvm's agent store, importing from this
machine), README, getting started, safety, internals, contributing
Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm reads base's features only from its own files (assets/features):
~/.config/devvm/features is no longer a folder devvm knows. An extra of
your own for every new VM is a layer of yours (devvm layer new), chosen
with devvm setup --layers, which each VM's list can uncheck.
- build: Features returns devvm's features alone; featureStep gives each
its prelude; FeatureScript, the shadowing check and its
feature_shadowed warning are gone. A chosen name devvm has no script
for is skipped with unknown_feature, as before.
- paths: Dirs.Features is gone.
- Tests: TestFeatures, TestOwnFeatures, TestPickFeatures,
TestSetFeatures, TestBuildRunsFeatures and the key tests use devvm's
features only and check that a script in ~/.config/devvm/features is
neither a feature nor in any key; features.txtar likewise.
- Docs: customizing's Extras of your own (a layer chosen in devvm
setup), settings, install, space, overview, internals/images and the
landing page drop the user features folder.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Attack vectors' Narrowed, not closed and Left to you are the one
residual-risk list, each entry linking to its mechanism. The security
model's What it doesn't protect list goes, its facts moved there (and
its set-id mechanism into a section of its own); safety/network's Not
covered, the Nix cache's What stays open and design notes' user-facing
Not covered items link to the list instead.
Fixes the drift: the CA entry gives the next CA's key on disk up to 23
days (a copy working up to 53 days), the Nix side channel is listed,
devcontainer.json's image lookup through a company proxy and its ports
are listed, and remote forwards say what the VM's sshd refuses and what
it doesn't. Adds the proxy and login residuals: keys devvm can't tell apart, the
company proxy's reach and password (Lima's files, run-log redaction
gaps, Lima's log, host mise's environment), the internal-address
refusal reason, the CONNECT limit's uncounted requests, and the company
CA.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lima is devvm's only backend. The backend architecture stays (Backend,
Caps, Features, Review/Require, the registry, backendtest.Fake), so
another backend is an addition.
State from a smolvm VM reads as an unknown backend (backend_unknown_vm,
gc_orphans_unknown); nothing migrates it. The image keys of
layers/docker.sh, layers/nix.sh and features/desktop.sh change, so images
rebuild once.
Lima's port forwarder moves off smolvm's files first: newForwarderCmd and
forwarderMain from internal/cli/smolvmports.go to limaports.go, and
assets/container/ports.sh to assets/guest/ports.sh (sent by the forwarder
at run time, so no image key changes).
Removed:
- internal/backend/smolvm (4,070 lines with tests), _smolvm-ports, its
registry entry, registry.Experimental and backend_experimental.
- The decider: backend.Decider/UsesDecider, Confinement.Decider and
DeciderToken, internal/proxy/decider.go and its test, the proxy's
-decider, -decider-to and -decider-token-file, netpolicy's
KeyDeciderPort, KeyDeciderToken and deciderToken, the decider port in
vm's forwarding and UsedPorts.
- backend.AgentStarter/AgentUnchosen, vm's checkAgentStart and
agent_unchosen_stop.
- vmssh/key.go (EnsureKey, Public, HostKey, ServicesArgs, Capped).
- paths.Smolvm/SmolvmImage and space's smolvm folders; paths.VM's
Record, Key, KnownHosts and ProxyURL; project.Detect, which nothing
called (a test helper now).
- ubuntu.ContainerRepo/ContainerDigest/ContainerRef/ContainerOrigin and
bump.sh's ubuntu_image, with its part of bump.txtar.
- assets/smolvm/ and assets/container/; the no-init-system branches of
layers/docker.sh, layers/nix.sh and guest/sync.sh, and the notes in
features/desktop.sh and guest/ca.sh.
- Messages: smolvm_* (14), vm_no_ssh, vm_no_sshd, ports_no_ssh,
creating_from_image, packing_image, pack_failed, backend_experimental,
agent_unchosen_stop; descriptions naming smolvm reworded.
- Tests: smolvm.txtar, the smolvm stub, registry, decider, netpolicy and
sshagent cases; gc_backend, gc_skipped, gc_orphans and space test a
failing or hanging Lima listing instead (the limactl stub's list-fails
and list-hangs); the --backend smolvm examples; e2e's --backend smolvm
and its section (about 1,130 lines), the smol_* helpers and the
link section's backend switch.
- Coverage: internal/backend/smolvm's lines in both baselines.
- Docs: backends/smolvm.md, internals/smolvm.md, design.md's smolvm
notes (Ports on Lima now holds the forwarder's description), the
backends table's smolvm column, every page naming smolvm, the README,
the home page's backends art, and AGENTS.md's smolvm rows and gotchas
(and the Docker bind-mount gotcha, which nothing refers to).
Kept: the docker layer, on Lima; --from's local Docker; --backend, the
BACKEND column and setup's backend choice, which the next commit removes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm is about VMs, and Docker's containers aren't VMs: Lima is the
default backend and smolvm stays experimental. The backend architecture
(Backend, Caps, Require, the registry, backendtest.Fake) stays, so
another backend is an addition.
Removed:
- internal/backend/docker, its registry entry and Names/Experimental's
docker half; devvm _docker-connect and _docker-ports
(internal/cli/dockerssh.go); assets/docker/unpack.sh.
- Test-build overrides DEVVM_DOCKER_KIND, DEVVM_DOCKER_PROC_SYS,
DEVVM_LINUX_BUILD_URL/_SHA256, the registry.linuxURL/linuxSHA256
ldflags vars and the CLI tests' Linux-build archive (linux_release).
- Interfaces only Docker implemented, with their callers:
backend.ProxySocket/ProxySocketOf (the proxy's -listen-unix),
DiskUser (ls's and size's disk-over warning, size's disk_used and
--json disk_used_gib), Reporter (doctor), LeftoverLister and Leftover
(gc --orphans' volumes, networks, containers and images),
DockerLayerVM and VMSpec.DockerLayer, SSHTarget.ProxyCommand and
vmssh.SSH.Proxy, vmssh.SSH.SessionArgs, CacheEntry.Name.
- The docker layer's runtime on a backend that makes VMs for it:
vm/dockerlayer.go, KeyDockerLayer, chooseNet's refusal (chooseNet
returns a bool now), the refusals at start and devvm network on, ls's
"(sysbox)" and --json docker_layer, size_disk_default_unused.
- The proxy's relay mode (relay.go, -relay, -relay-to, -listen-unix).
- paths.Dirs.Docker and paths.VM.Lifeline.
- assets/guest/tools.sh's linked-folder branch; services.sh's
DEVVM_LOOP, DEVVM_DOCKERD and DEVVM_SSHD=inetd.
- Messages: every docker_* the backend used, docker_layer_runtime,
net_docker_layer, net_off_docker_layer, committing_image,
pulling_image, unpacking_tools, disk_over, size_disk_default_unused,
gc_orphan_volume/_network/_container/_image, docker_connect_failed;
gc_orphan_elsewhere reworded.
- Tests: docker.txtar, the docker stub's engine (its --from half
stays), the ssh stub's login-shell branch; e2e's --backend docker,
--engine, the docker host VM and Docker Desktop runs.
- Release: one GoReleaser pass, no Linux-build pin in the macOS builds,
no Linux devvm in the Homebrew formula's libexec. Linux builds stay.
- Docs: backends/docker.md and internals/docker.md, design.md's Docker
notes, the Docker column of the feature table, and every page's
mentions of the Docker backend, Docker Desktop as one, and Sysbox.
Kept: the docker layer in Lima VMs, devcontainer docker-in-docker,
--from with images only a local Docker has, Docker Hub references.
State written by a Docker VM before this reads as an unknown backend
(backend_unknown_vm).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The picker change's review:
- --tools claude, --layers node, --agents node and the like are refused
with part_other_flag, which names the flag that takes the name, as in
devvm --agents claude; a name no part has keeps unknown_part or its
did-you-mean. checkPartFlag checks the three parts' names together.
TestCheckFlagValue, up.txtar, up_checks.txtar and setup.txtar cover it.
- image.ToolName is back, with its TestValuePatterns row: ToolFile and
ParseToolFile check a tool's name with it.
- internals/design.md's Docker layer checks name parts_flags_ignored for
--layers docker on a VM that exists, as e2e checks, in place of a
message that's gone.
- The home page and the README give the Claude Code token before
claude's first start, the home page's list says which rows it shows
checked, and the FAQ says the agents' config comes from your machine.
The README says the first run asks for new VMs' size and agents before
the list.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm takes no IMAGE word any more than any other: in a terminal a new VM's
toolchains, coding agents and layers are checked in one picker, under three
headings, before the network-policy question; --tools, --agents and
--layers (each an exact list, or none) skip it, and a part left out takes
its default: the detected toolchains, devvm setup's agents, no layers (a
devcontainer.json's features still count). Without a terminal, or with
--no-input, the VM gets the defaults and new_vm_gets says so in one line.
devvm setup --agents (and its first-run question) chooses new VMs' agents.
devvm tools in a terminal opens the same picker for the VM, its layers
fixed, and turns the changes into tools add and rm.
An image is base and layers only: tools are the VM's tool_names state key.
build, rebuild and images rm refuse a shared tool (tool_not_layer), and
devvm build builds no tool images. devvm ls gains a TOOLS column and
--json tools. gc's --tools is --tool-images, so --tools has one meaning.
Gone: image.Reserved, checkWord's image half (devvm WORD is no_command or
no_command_like, did-you-mean over commands, msg.Closest), the lacks path
in internal/vm/existing.go, and the messages vm_lacks_tools,
vm_lacks_layer, layer_is_command, layer_name_command, no_image_for,
no_command_or_image*, tools_not_images, tools_not_images_rm, detected,
vm_is_now (vm_tools_now), secret_with_image (secret_with_claude).
New: ui.Pick takes headed sections with fixed rows, ui.CanPick,
vm.PickPart/PickRow/AgentsChoice/CheckPart (internal/vm/parts.go),
state.KeyToolNames, state.ReadAgents/WriteAgents, paths.Dirs.Agents,
project.DetectFiles. Image keys are unchanged in form: images never held
tools; docker.sh's and nix.sh's comments changed, so those layers rebuild.
Docs: the home page's quick start steps, diagram (sandbox.svg), cards and
FAQ; README; getting started; using (images' What a new VM gets, coding
agents' Running an agent, settings' agents); internals; contributing;
the cli skill; AGENTS.md.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm ssh is devvm host. devvm tools shows this folder's VM's shared
tools (TOOL VERSION NEWER BUILT, from the lock as it is, never online);
devvm tools add/rm TOOL... add and take out shared tools, each a word of
its own (joined with + refused: tools_joined; add takes only shared
tools: unknown_tool), and devvm tools update moves the VM to the newest.
devvm IMAGE on a VM that exists adds nothing and asks nothing: it fails
with vm_lacks_tools, naming the devvm tools add command, or
vm_lacks_layer, as only a new VM gets a layer. devvm export is devvm
history export [FILE]; devvm history lists the exports in the exports
folder (FILE VM FOLDER DATE SIZE), the folder from a <export>.folder
file written beside devvm's own exports and deleted with them. gc
--exports is gc --history, retention's exports.age/count are
history.age/count, and devvm space's row is history.
The in-place layer machinery goes: Launch.addLayers and runLayers,
dockerLayers' inPlace/set/unset, backend.DockerLayerVM.SetDockerLayer
and the Docker backend's SetDockerLayer, with the add_in_place,
restart_for_mounts, no_terminal_confirm, keeping, adding and
add_layer_failed messages. vm.Tools (tools.go) holds Add, Remove,
Update and List; tools.VMs.Show lists a VM's tools; tools.Remove takes
names as a list; VMs.Update compares a VM's files as a set.
New messages: vm_lacks_tools, vm_lacks_layer, has_tools, tools_joined,
history_failed, tools_failed; renamed: unknown_tool, gc_history,
gc_history_export, deleted_history, gc_older_than_needs_history.
Command files: host.go, tools.go, history.go, refreshtools.go
(_refresh-tools); ssh.go, remove.go, update.go, export.go and
gc_exports.go gone. Tests: TestImageLacks, TestToolsAdd, TestShow,
TestCompleteToolNames; history.txtar, gc_history.txtar, host_code.txtar
and the e2e tools, docker layer and host checks updated. Docs, the CLI
reference, AGENTS.md and the e2e header follow.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
hugo.yaml turns on Hextra's llms output at the site root, a markdown
output beside each page and section, and params.page.contextMenu. The
home page keeps html and rss, and sections keep rss. The search index
comes out byte-identical.
- layouts/llms.txt replaces Hextra's. Each section's own page is listed
first, followed by its pages. Each line is the page's description, or
else its first paragraph as plain text on one line, cut at 200
characters (_partials/llms-summary.txt). Hextra's version left out the
section pages, printed HTML entities and newlines, and let the
experimental badge and the CLI "Synopsis" heading into the summaries.
- page/section.markdown.md and _partials/markdown-copy.md render the
shortcodes through .markdown.md versions (install, os-tabs, yes, no,
experimental, section-card, Hextra's cards). They also point links to
a section's _index.md at index.md, so all 867 relative links between
the copies resolve. The install commands live in
_partials/install-tabs.html, which the HTML tabs use too.
- The branding page sets outputs: [html], contextMenu: false and
llms: false. The home page sets contextMenu: false.
- Coding agents gets a description, because its first paragraph is a
heading and a code block.
- custom.css styles the menu in the site's border, surface and lime.
- Contributing's Writing docs describes all of this, including what to
check after adding a page or a shortcode.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The navbar uses Hextra's image logo, devvm-logo-on-dark.svg at its own
size, with the site's title as its alt text, in place of the CSS logo.
The footer's link to the branding page and its styles are gone;
right-clicking the logo still opens the page. Why use devvm?'s fourth
point gets its period.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The FAQ's requirements answer says devvm needs one of the supported
backends: Lima, the default, or the experimental smolvm or Docker. The
Toolchains card and Why use devvm? get the user's own wording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The feature shortcode takes an icon, drawn before the title in the
title's own color at 24px. Toolchains gets code, Coding agents and Made
for coding agents robot, Backends cube, Developer ready prompt, Ready in
seconds the new high-voltage icon (Dinkie 0.4.6), Isolated sandbox
locked and Make it yours wrench.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
blast-radius.svg: two machines side by side. Without devvm, four attacks
(prompt injection, leaked secrets, supply chain, rogue agent) land on your
machine and ~/web, ~/.aws, ~/.ssh and ~/api turn red one after another. With
devvm, they land in the VM, each path toward your machine ends at the VM's
border with a cross, and the machine's folders stay as they are.
- --devvm-red (#ff5370) and the .r class, only for compromised parts
- threat-1..4 and hit-1..4: an 8 s story with a hold and a rest
- the beside shortcode: text and art side by side from 1024px, the art
below the text on narrower screens
- Writing docs: the red, the drawing, its animation and the shortcode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The navbar's GitHub icon is Dinkie's, added to Hextra's icons through
docs/data/icons.yaml. hero-button takes an icon: Install shows a download
arrow and Read the docs an open book, both new from Dinkie Icons 0.4.6.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Heading icons: a heading's icon attribute ({icon="rocket"}) puts a pixel
icon before its text, through a heading render hook in place of Hextra's;
the anchor stays the text's. The home page's five section headings get
rocket, view-grid, shield, speech-balloon-question and prompt, lime at
24px (2px per icon pixel, as Departure Mono's at 22px).
- A 404 page (layouts/404.html) on the site's navbar and footer: a VM's
terminal (assets/home/not-found.svg) answering cd ./this-page with "no
such page" and the blink cursor, Hextra's search box, and links to
Getting started and the docs.
- Callouts: GitHub's > [!NOTE], [!TIP] and [!WARNING] alerts, drawn by a
blockquote alert render hook in the site's palette with
information-circled, a new light-bulb icon and warning; other types fail
the build. Used for keeping network policy on (Your first VM), Docker's
isolation (Docker), --unsafe-folder (Settings) and the VM boundary note
(Staying safe), each moving the existing text.
- Contributing > Writing docs: heading icons, callouts, the 404 page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The docs' first page is a card per section (section-card on Hextra's
cards), each with its pixel icon: rocket, wrench, locked, cube, prompt,
gear and the GitHub mark. The install and os-tabs shortcodes put the
Apple icon before macOS and the penguin before Linux (os-tab-name.html).
The experimental shortcode (flask, Departure Mono, the site's blue) marks
smolvm and Docker on their pages, in the backends' comparison table and on
the home page's Backends card. yes and no put a check or a cross before a
table cell's word, in the comparison table and Installing's install
script column. Writing docs describes each.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
postgres is planned as a built-in layer, whose name would be reserved, so
the home page's Make it yours card, its illustration and Customizing images
use mailpit: a pinned download with devvm-fetch, a systemd service, and its
SMTP and web ports forwarded to localhost.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Developer ready, zero config gets a new drawing: a browser at
localhost:5173 tied to the VM's :5173, a devvm code editor tab over SSH,
and a commit authored by you. The old detection drawing becomes
toolchains.svg, smaller, on the Toolchains card; Coding agents and
Backends get small drawings too (a terminal running claude beside the
three agents; Lima default, smolvm and Docker experimental). agents.svg
shows the history that stays; make-it-yours.svg stacks base with your
features, your layer and the VM, with node:24 feeding base by --from.
Animations are CSS only, in custom.css, turned on by classes in the SVGs
(pulse, pulse-2/3, pulse-slow, lit, lit-chip, lit-2..4, blink, mover,
mover-token, mover-egress), and prefers-reduced-motion turns them all off.
Texts that held tspans separated by spaces are split into texts at their
own x, as Hugo's minifier removed those spaces. Contributing describes
the drawings and the classes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Developer ready, zero config gains a bullet on forwarded ports, and its
devcontainer.json bullet moves to a new Make it yours card (your own layers,
your own features, --from, devcontainer.json), placed in the right column
with feature's new column option. Feature cards' art fills the card.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On wide screens, features puts the first and third cards in the left
column and the others in the right, so a short card leaves no gap; on
narrow screens the columns drop out and the cards' order styles keep
the page's order. Ready in seconds is the second card again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hero drops the backends, which the What's supported card names; the
quick start drops the base image build, which Ready in seconds covers; the
Coding agents card and Developer ready's first bullet stop repeating the
feature cards; Why use devvm? ends on the sandbox; the FAQ merges Linux
and requirements into What does it run on?; the page ends on a short call
to action instead of the install tabs again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Its third step is devvm, and the sentence after it names devvm claude and
devvm codex for a VM with a coding agent.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The home page's quick start and Install devvm, and Installing's Installing devvm, show the install command in Hextra's tabs, from a new install shortcode: macOS with Homebrew, Linux with the install script. The macOS tab is selected in the HTML; a small partial selects the Linux tab for Linux visitors as the page loads. custom.css styles the tabs in the site's palette. README says which command is for which system, and Contributing describes the shortcode.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hero names Lima as the default and smolvm and Docker as experimental.
A three-step quick start replaces the recording, followed by a What's
supported row (toolchains, coding agents, backends), feature-card bullets
for devvm code and devcontainer.json, a link to what devvm doesn't
protect, a short FAQ and the install commands again at the bottom.
Claims now match their pages: .git protection is macOS only, and the VM
also gets the agents' config read-only.
The features shortcode takes columns="3" and feature takes level="3".
Contributing's home page notes describe the page's sections and drop the
recording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The edit link's box at the bottom of the table of contents had Hextra's
dark #111 shadow, a gray band on the black background: custom.css drops it.
The home page's four sections are feature cards in a grid (the features and
feature shortcodes), one centered column, then two per row from 1024px,
their art at 364px or 728px. The art shortcode and the cards share the
art.html partial. Contributing > Writing docs describes the shortcodes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
README: the landing page's pitch and what a VM gets, install, a first VM
with the network policy prompt and the build lines, working on a clone,
staying safe, and links to every docs section on devvm.dev.
Landing page: network policy on by default, --clone in its own bullet,
agents' secrets instead of API keys.
SECURITY.md: Verifying a release in full sentences with a link to the
signature's page, secrets in What counts, VMs without network policy
spelled out in Out of scope.
assets/oci/README.md, internal/proxy/README.md: a light docs-voice pass;
container image, a secret, the decider token.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Message links: actionable warnings and errors point at the user page that
says what to do (backends, troubleshooting, ports and size, clone, from,
images, .git protection, network policy); internal failures keep How it
works. Sixteen messages without a link get one.
Pages: "Saving and binding secrets" loses its old custom ID and every link
uses its own anchor; Known limits has Linux hosts, smolvm and Docker
headings; anchors added to links without them; the forwarder's rules have
one home (Ports and size), with How it works linking to it and each
backend's Ports section; the net= state detail moves to How it works;
landing page links match their sentences.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sections move verbatim; new pages open with a one-sentence placeholder.
Moved pages: safety/clone.md -> using/clone.md; safety/security.md ->
internals/security.md.
New pages: using/ports-size.md, using/settings.md,
using/troubleshooting.md, internals/overview.md, internals/install.md,
internals/images.md, internals/ports.md (placeholder only),
internals/network.md, internals/git-protection.md,
internals/backends.md, internals/lima.md, internals/smolvm.md,
internals/docker.md.
Moved sections:
- getting-started/install.md: the install script's steps, the Docker
Linux-build fetch, the signature paragraph, doctor --fixes and its
keys, "devvm is one binary", removing old versions -> internals/install.md
- getting-started/commands.md: An existing VM, Stopping a VM, Deleting a
VM -> internals/overview.md; Size and ports -> using/ports-size.md;
Environment -> using/settings.md
- using/images.md: Ubuntu's cloud image, Versions, Building tools,
Building, Caching (Rebuilding, Outdated VMs) -> internals/images.md;
Ports, Size, Disk use -> using/ports-size.md; Where state lives ->
using/settings.md; Build logs and interrupts -> using/troubleshooting.md
- using/from.md: How it's converted (The image is untrusted), Digests ->
internals/images.md
- using/coding-agents.md: MCP servers, Keys in settings files ->
internals/network.md
- safety/network.md: the start-up list, The proxy, The self-check, How
the proxy puts them in, Agents' logins and settings, devvm _proxy ->
internals/network.md
- safety/git-protection.md: What's locked, On each launch, What a lock
can't stop -> internals/git-protection.md
- safety/attack-vectors.md: Staying safe -> safety/_index.md (The
habits), with a copy of the security model's reach table
- backends/_index.md: Features, Missing and unreviewed features, VM names
-> internals/backends.md
- backends/lima.md: A Lima home of its own, Confinement, Clones and
overlays, Ports -> internals/lima.md
- backends/smolvm.md: Its machines through No init system ->
internals/smolvm.md
- backends/docker.md: What's devvm's in Docker, Building images, What
devvm sets on a VM, Network policy, No init system, ssh for editors,
Ports, SSH agent forwarding, Shared tools -> internals/docker.md
Titles and weights follow the target tree; How it works is weight 95,
after the CLI reference. Index pages list the new pages. Links, message
doc links (internal/msg/docs.go), the home page, README.md, SECURITY.md,
internal/proxy/README.md and AGENTS.md point at the new places.
Contributing and AGENTS.md say what goes on user pages, How it works and
Contributing.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The docs move into a folder per sidebar section, in the order a new user
needs them: getting-started (install, first-vm, commands), using (images,
customizing, from, devcontainer, coding-agents, ssh, limits), safety
(attack-vectors, network, clone, git-protection, security), backends
(backends.md as the section's _index.md, lima, smolvm, docker), internals
(design), cli, and contributing (contributing.md as its _index.md,
testing, maintaining). Each section has an _index.md listing its pages,
and the docs index is grouped the same way. Commands is now Everyday
commands, SSH is SSH and editors.
New pages:
- safety/attack-vectors.md: Staying safe first (seven habits), then
common attacks sorted into Blocked, Kept inside the VM, Narrowed, not
closed, and Left to you.
- getting-started/first-vm.md: making a VM, the first run, what's in it,
coding agents, coming back to it.
Links to Staying safe from the home page, README, security, install,
coding agents and clone. Every relative link, the home page's, the
README's, SECURITY.md's, CONTRIBUTING.md's, AGENTS.md's, the proxy and
oci READMEs', release.sh's hints and the recording's URL use the new
paths. internal/msg/docs.go names pages by path (using/images#...), and
checkDoc takes a section's _index.md for its folder (backends#...).
contributing/_index.md describes the sections and how links name them.
Also carries the docs edits made alongside the forwarder work in the
tree (backends, images, limits, security, design, commands and the
generated devvm ports page), whose code isn't in this commit.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sentence-case headings, full sentences, the backends in the subtitle,
the toolchain bullets merged, the agents' config folders named among
the mounts, and the shared tools and base image features links fixed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
What you get out of the box gets an ASCII-inspired SVG per section, in
docs/assets/home/ and inlined by a new art shortcode so they use the
page's Departure Mono and palette: toolchain detection, isolation (the
project folder mounted, .git locked, the proxy and its allowlist), VMs
as copies of a cached image, and agents' config and tokens. They're
drawn on the font's 7x14 cell at 11px and shown at twice their size.
The One command code block becomes an asciinema recording of a real
devvm run in a project folder, played by Hextra's asciinema shortcode
with a devvm player theme (the recording terminal's colors), retimed so
commands are typed a letter at a time. The palette gains #0086b3, the
blue of commands in Hextra's highlighting, for the illustrations. Also
the home page's headline, section order and Get started section, and
contributing.md on the illustrations and the recording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>