diff --git a/CHANGELOG.md b/CHANGELOG.md index d3a6ab10..790e550f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,21 +50,21 @@ Each change below links its section on [the 0.2.0 page](https://next.devvm.dev/d - **devvm says when it can't read a project folder:** it now names the folder and why it can't be read, where it used to say that the folder's VM was made for an earlier folder, so make the folder readable again ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-project-folder-devvm-cant-read), [cb7177b](https://github.com/devvmhq/devvm/commit/cb7177b32c3f40c38848c8c5740073e245f79eca)). - **A warning no longer lands on the status line:** a message now prints above the status line, and a question, the picker and an agent's login in the VM take the status line away until they're done, so its redraw no longer erases what you typed ([details](https://next.devvm.dev/docs/releases/0.2.0/#warnings-and-the-status-line), [2b176c9](https://github.com/devvmhq/devvm/commit/2b176c92b3a4e44f83df5a94d8abc710ff5e8097)). -- **`devvm agent login claude --setup-token` shows Claude Code's address:** when devvm runs in a terminal, an agent's login in the VM gets a terminal of its own, so Claude Code shows the address to open and the prompt for its code ([details](https://next.devvm.dev/docs/releases/0.2.0/#claude-codes-setup-token-login), #57, [6965efc](https://github.com/devvmhq/devvm/commit/6965efcc0a97f7f6334f00d0530007ecf459972c)). +- **`devvm agent login claude --setup-token` shows Claude Code's address:** when devvm runs in a terminal, an agent's login in the VM gets a terminal of its own, so Claude Code shows the address to open and the prompt for its code ([details](https://next.devvm.dev/docs/releases/0.2.0/#claude-codes-setup-token-login), [#57](https://github.com/devvmhq/devvm/issues/57), [6965efc](https://github.com/devvmhq/devvm/commit/6965efcc0a97f7f6334f00d0530007ecf459972c)). - **Ctrl-C ends an agent's login in the VM,** in a terminal, and devvm puts the terminal back as it was before the login ([details](https://next.devvm.dev/docs/releases/0.2.0/#ctrl-c-in-an-agents-login), [6965efc](https://github.com/devvmhq/devvm/commit/6965efcc0a97f7f6334f00d0530007ecf459972c)). -- **The VM's shell gets your terminal's 24-bit color:** devvm's shell in a VM, `devvm agent login` and `ssh` to a VM by name now pass on your terminal's `COLORTERM` when it's `truecolor` or `24bit`, so programs in the VM no longer fall back to fewer colors ([details](https://next.devvm.dev/docs/releases/0.2.0/#24-bit-color-in-a-vm), #54, [947decb](https://github.com/devvmhq/devvm/commit/947decb301c609cb8eba59a92fa6fa2c373945a4)). -- **MCP servers' logins in a VM finish and stay:** with your subscription's login, devvm now replaces only the Claude login in the VM's `~/.claude/.credentials.json`, so the MCP servers' logins you make in a VM stay in that VM ([details](https://next.devvm.dev/docs/releases/0.2.0/#mcp-servers-logins), #62, [ea3037b](https://github.com/devvmhq/devvm/commit/ea3037bc157903525be51c83aedfd72c37da3cbb)). -- **Your claude.ai connectors work in a VM:** with your subscription's login, the VM's proxy now puts the login into the connectors' requests too, from each VM's next launch. Code in the VM can then read and act through your connectors, so disconnect the ones you don't want VMs to use, or deny `mcp-proxy.anthropic.com` with `devvm network deny` ([details](https://next.devvm.dev/docs/releases/0.2.0/#your-claudeai-connectors), #61, [c1db911](https://github.com/devvmhq/devvm/commit/c1db911d1ba3856299bd59b1c4d74620b7d49408)). -- **Claude Code's plugins work in a VM:** each VM's `~/.claude/plugins` is now its own folder, with the store's plugins as Claude Code's read-only seed, so a plugin's data, installing a plugin and updating a marketplace work in a VM ([details](https://next.devvm.dev/docs/releases/0.2.0/#claude-codes-plugins-in-a-vm), #56, [e97db05](https://github.com/devvmhq/devvm/commit/e97db057fd93873a14b075e7d46615dc2d020ac4)). -- **A project folder's VM works after your Mac restarts:** devvm no longer takes an unchanged folder for another one when a restart gives its disk another device number. A folder that moved after a restart, before its VM started again, isn't offered the VM, so `devvm adopt VM` moves it ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-project-folder-after-your-mac-restarts), #60, [2c0a894](https://github.com/devvmhq/devvm/commit/2c0a894a1cb7347f3d6ebbcb3c39390d07ab4ed8)). +- **The VM's shell gets your terminal's 24-bit color:** devvm's shell in a VM, `devvm agent login` and `ssh` to a VM by name now pass on your terminal's `COLORTERM` when it's `truecolor` or `24bit`, so programs in the VM no longer fall back to fewer colors ([details](https://next.devvm.dev/docs/releases/0.2.0/#24-bit-color-in-a-vm), [#54](https://github.com/devvmhq/devvm/issues/54), [947decb](https://github.com/devvmhq/devvm/commit/947decb301c609cb8eba59a92fa6fa2c373945a4)). +- **MCP servers' logins in a VM finish and stay:** with your subscription's login, devvm now replaces only the Claude login in the VM's `~/.claude/.credentials.json`, so the MCP servers' logins you make in a VM stay in that VM ([details](https://next.devvm.dev/docs/releases/0.2.0/#mcp-servers-logins), [#62](https://github.com/devvmhq/devvm/issues/62), [ea3037b](https://github.com/devvmhq/devvm/commit/ea3037bc157903525be51c83aedfd72c37da3cbb)). +- **Your claude.ai connectors work in a VM:** with your subscription's login, the VM's proxy now puts the login into the connectors' requests too, from each VM's next launch. Code in the VM can then read and act through your connectors, so disconnect the ones you don't want VMs to use, or deny `mcp-proxy.anthropic.com` with `devvm network deny` ([details](https://next.devvm.dev/docs/releases/0.2.0/#your-claudeai-connectors), [#61](https://github.com/devvmhq/devvm/issues/61), [c1db911](https://github.com/devvmhq/devvm/commit/c1db911d1ba3856299bd59b1c4d74620b7d49408)). +- **Claude Code's plugins work in a VM:** each VM's `~/.claude/plugins` is now its own folder, with the store's plugins as Claude Code's read-only seed, so a plugin's data, installing a plugin and updating a marketplace work in a VM ([details](https://next.devvm.dev/docs/releases/0.2.0/#claude-codes-plugins-in-a-vm), [#56](https://github.com/devvmhq/devvm/issues/56), [e97db05](https://github.com/devvmhq/devvm/commit/e97db057fd93873a14b075e7d46615dc2d020ac4)). +- **A project folder's VM works after your Mac restarts:** devvm no longer takes an unchanged folder for another one when a restart gives its disk another device number. A folder that moved after a restart, before its VM started again, isn't offered the VM, so `devvm adopt VM` moves it ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-project-folder-after-your-mac-restarts), [#60](https://github.com/devvmhq/devvm/issues/60), [2c0a894](https://github.com/devvmhq/devvm/commit/2c0a894a1cb7347f3d6ebbcb3c39390d07ab4ed8)). - **A folder that moved across a restart keeps its VM:** each VM now records its folder's volume, so devvm offers a folder that moved while a restart renumbered its disk the VM it had, where it used to make it a second VM ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-folder-moved-across-a-restart), [ba510ee](https://github.com/devvmhq/devvm/commit/ba510eec1f55a7cd656050eabe14c5b52ba5ed38)). - **A folder on another volume needs `devvm adopt`:** a folder at the VM's own path on another volume than the one recorded, such as a copy of the disk, or a Btrfs snapshot rolled back there on Linux, gets the VM only after `devvm adopt` ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-folder-on-another-volume), [4ccdbf8](https://github.com/devvmhq/devvm/commit/4ccdbf8125fe4a655980e77a7454c209e98ada70)). - **Two devvms no longer write the agent store at once:** `devvm agent import`, `devvm agent save` and a start that cleans the store now take turns, so a second one says it's waiting and goes on once the first is done ([details](https://next.devvm.dev/docs/releases/0.2.0/#two-devvms-at-the-agent-store), [b04a1a9](https://github.com/devvmhq/devvm/commit/b04a1a9f1217cbf8069738b42d2072d4d84c53bd)). - **A failed `devvm agent save` leaves the store as it was,** because a save now saves all or nothing, as an import does ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-failed-save-changes-nothing), [f80fd2d](https://github.com/devvmhq/devvm/commit/f80fd2df6031e1bb3ac86e5ec7d410cac0551104)). - **`devvm agent save` and a VM's new Claude Code login take turns,** and Ctrl-C while the save waits ends the wait ([details](https://next.devvm.dev/docs/releases/0.2.0/#devvm-agent-save-and-a-new-claude-code-login), [f80fd2d](https://github.com/devvmhq/devvm/commit/f80fd2df6031e1bb3ac86e5ec7d410cac0551104)). - **Names that differ only in case no longer lose a file on a Mac:** `devvm agent save` and `devvm agent import` now treat `foo.md` and the store's `Foo.md` as one file, where they used to delete the store's file, and they refuse two names that would be one file, naming both ([details](https://next.devvm.dev/docs/releases/0.2.0/#names-that-differ-only-in-case), [888078c](https://github.com/devvmhq/devvm/commit/888078c9cd830a68b04665a5d3217d041624aefb)). -- **Names you choose in an agent's settings are no longer taken for secrets:** a plugin, a marketplace or an MCP server with a name such as `secret-scanner` keeps its settings in the VM's copy, so Claude Code no longer refuses the VM's `settings.json`. Thanks to @jspiro for the report and @dhruv1220 for the tests' idea in #58 ([details](https://next.devvm.dev/docs/releases/0.2.0/#names-you-choose-in-an-agents-settings), #55, [f384829](https://github.com/devvmhq/devvm/commit/f3848294d8e1095f115ae13e224697484b38c47c)). -- **A folder whose name has separators in a row gets a VM:** a folder named `x--y`, `foo (copy)` or `C++ stuff` now gets one, so run devvm there again. Thanks to @se6a for the report ([details](https://next.devvm.dev/docs/releases/0.2.0/#folder-names-with-separators-in-a-row), #52, [ba5613e](https://github.com/devvmhq/devvm/commit/ba5613e1ed9bc1c2592f1fa1af81a6e89f97f513)). +- **Names you choose in an agent's settings are no longer taken for secrets:** a plugin, a marketplace or an MCP server with a name such as `secret-scanner` keeps its settings in the VM's copy, so Claude Code no longer refuses the VM's `settings.json`. Thanks to @jspiro for the report and @dhruv1220 for the tests' idea in [#58](https://github.com/devvmhq/devvm/pull/58) ([details](https://next.devvm.dev/docs/releases/0.2.0/#names-you-choose-in-an-agents-settings), [#55](https://github.com/devvmhq/devvm/issues/55), [f384829](https://github.com/devvmhq/devvm/commit/f3848294d8e1095f115ae13e224697484b38c47c)). +- **A folder whose name has separators in a row gets a VM:** a folder named `x--y`, `foo (copy)` or `C++ stuff` now gets one, so run devvm there again. Thanks to @se6a for the report ([details](https://next.devvm.dev/docs/releases/0.2.0/#folder-names-with-separators-in-a-row), [#52](https://github.com/devvmhq/devvm/issues/52), [ba5613e](https://github.com/devvmhq/devvm/commit/ba5613e1ed9bc1c2592f1fa1af81a6e89f97f513)). - **A VM's host keys are pinned whatever its ports,** so `devvm clone fetch` and `devvm rm`'s fetch no longer fail with `clone_fetch_failed` on a VM that forwards no ports ([details](https://next.devvm.dev/docs/releases/0.2.0/#host-keys-whatever-a-vms-ports), [c1cf96e](https://github.com/devvmhq/devvm/commit/c1cf96e4b6c757d17519c6796fbb6e49dd75d5f6)). - **A removed link's connections end with it,** within a few seconds of `devvm link rm` ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-removed-links-connections), [c63f9a3](https://github.com/devvmhq/devvm/commit/c63f9a3340c507430108eb9e806b189f09346fdf)). - **An agent's settings file that's one string no longer crashes `devvm agent save`** ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-settings-file-thats-one-string), [1ecd1fa](https://github.com/devvmhq/devvm/commit/1ecd1faa735c32521c193b1b7ab710a2aea10906)). @@ -94,7 +94,7 @@ These fixes close ways that code in a VM could reach past what devvm lets it do. - **A VM can't fill a Linux host with processes** ([details](https://next.devvm.dev/docs/releases/0.2.0/#connections-to-the-proxy-on-linux-hosts), [f37c70a](https://github.com/devvmhq/devvm/commit/f37c70a5cd9ea6dcb3f86ffcb6346bba0ee65136)). - **A closed connection's ssh process ends** once the VM has sent nothing for 30 seconds, so a program that waits longer for an answer to begin has its connection cut ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-closed-connections-ssh-process), [c63f9a3](https://github.com/devvmhq/devvm/commit/c63f9a3340c507430108eb9e806b189f09346fdf)). - **A VM's proxy lets go of what a VM leaves** ([details](https://next.devvm.dev/docs/releases/0.2.0/#what-a-vms-proxy-holds), [f37c70a](https://github.com/devvmhq/devvm/commit/f37c70a5cd9ea6dcb3f86ffcb6346bba0ee65136)). -- **A `NO_PROXY` address with a zone no longer goes direct** ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-no_proxy-address-with-a-zone), #59, [8afdec7](https://github.com/devvmhq/devvm/commit/8afdec7de4bc2fbb5fb02a2f92f7918eae4dd5c4)). +- **A `NO_PROXY` address with a zone no longer goes direct** ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-no_proxy-address-with-a-zone), [#59](https://github.com/devvmhq/devvm/issues/59), [8afdec7](https://github.com/devvmhq/devvm/commit/8afdec7de4bc2fbb5fb02a2f92f7918eae4dd5c4)). - **A `NO_PROXY` entry with port 0 matches nothing** ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-no_proxy-entrys-port), [a7cc125](https://github.com/devvmhq/devvm/commit/a7cc12521e8d5361a87f179348c3cedff42bac1d)). - **A VM never runs on without its proxy** ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-vm-never-runs-without-its-proxy), [4a4aabe](https://github.com/devvmhq/devvm/commit/4a4aabe9a8dd4d85f08b8dbeaf4b3c0ec9aaf3a5)). - **A VM's logs are held to their caps** ([details](https://next.devvm.dev/docs/releases/0.2.0/#a-vms-logs-and-their-caps), [9c74dac](https://github.com/devvmhq/devvm/commit/9c74dac11ea6100f3a583dd79fe3380b45573fab)). @@ -117,8 +117,8 @@ A release candidate for 0.1.1, adding to 0.1.1-rc.2. Install it with `devvm upgr ### New -- **Cursor (#44, thanks to @barnesoir):** `--agents cursor` gives a VM Cursor's CLI, as `cursor-agent` or `agent`, and `devvm agent login cursor` logs it in from a browser on any machine, with the login kept on this machine ([Cursor CLI login](https://next.devvm.dev/docs/using/coding-agents/#cursor-cli-login)). `devvm cursor` opens the folder's VM in the Cursor editor, as `devvm code` does in VS Code. Recent Cursor runs its Agent in the VM with your Cursor sign-in in memory, so `devvm cursor` warns unless your Cursor settings send Agent's requests through the app on this machine, and you should open only VMs you trust with it ([Cursor's Agent](https://next.devvm.dev/docs/using/ssh/#cursors-agent)). -- **`devvm paste` (#38, thanks to @DustyPolk):** sends the image, PDF or file you copied on this machine into the running VM and puts its path in the VM on your clipboard, so you can paste it into a coding agent. A copied file goes only after you say yes, and `devvm paste rm` deletes what it sent ([pasting images](https://next.devvm.dev/docs/using/coding-agents/#pasting-images)). +- **Cursor ([#44](https://github.com/devvmhq/devvm/pull/44), thanks to @barnesoir):** `--agents cursor` gives a VM Cursor's CLI, as `cursor-agent` or `agent`, and `devvm agent login cursor` logs it in from a browser on any machine, with the login kept on this machine ([Cursor CLI login](https://next.devvm.dev/docs/using/coding-agents/#cursor-cli-login)). `devvm cursor` opens the folder's VM in the Cursor editor, as `devvm code` does in VS Code. Recent Cursor runs its Agent in the VM with your Cursor sign-in in memory, so `devvm cursor` warns unless your Cursor settings send Agent's requests through the app on this machine, and you should open only VMs you trust with it ([Cursor's Agent](https://next.devvm.dev/docs/using/ssh/#cursors-agent)). +- **`devvm paste` ([#38](https://github.com/devvmhq/devvm/pull/38), thanks to @DustyPolk):** sends the image, PDF or file you copied on this machine into the running VM and puts its path in the VM on your clipboard, so you can paste it into a coding agent. A copied file goes only after you say yes, and `devvm paste rm` deletes what it sent ([pasting images](https://next.devvm.dev/docs/using/coding-agents/#pasting-images)). - **`devvm agent import` can follow your dotfiles' links:** a link out of an agent's folder, such as `~/.claude/skills/x` into a dotfiles repo, is copied when you say yes in a terminal, when you pass `--follow-links`, or when it leads into a folder that `config.toml`'s `follow-links` names, such as `["~/dotfiles"]`. The store gets copies, never links, and devvm never follows a link to your home folder, its own folders, places that hold secrets, such as `~/.ssh`, or an agent's logins or history ([links out of an agent's folder](https://next.devvm.dev/docs/using/coding-agents/#links-out-of-an-agents-folder)). - **`--clone` copies your repo as it is here:** the VM's clone gets every branch, tag and remote-tracking branch, a detached HEAD, what you've staged and what you haven't, a rebase, merge or other operation in progress, and your stash. It also gets your remotes without credentials, the repo's hooks and its own settings, your initialised submodules, each with a clone of its own, and the Git LFS objects your checked-out files point to, as every VM now has `git-lfs`. A partial clone is copied with the objects it has, and the VM's git fetches the rest from its remote. Untracked and ignored files, such as `.env`, and credential helpers stay on this machine, and devvm names anything it leaves out that you'd expect in the VM. Because `origin` is real in the VM, code there that may use your GitHub token can push to it, which a network rule can stop ([what's copied](https://next.devvm.dev/docs/using/clone/#whats-copied), [the settings](https://next.devvm.dev/docs/using/clone/#the-settings), [submodules](https://next.devvm.dev/docs/using/clone/#submodules), [a partial clone](https://next.devvm.dev/docs/using/clone/#a-partial-clone), [Git LFS](https://next.devvm.dev/docs/using/clone/#git-lfs)). - **All of a `--clone` VM's work comes back:** `devvm clone fetch` also saves commits that only the VM's detached HEAD has as `saved/devvm/HEAD` and the VM's stash entries as `saved/devvm/stash-N`, and it brings back each submodule's branches and the LFS objects the VM's work points to, without `git-lfs` on this machine. `devvm rm` and `devvm clone off` check all of these and ask before any of them goes ([deleting the VM](https://next.devvm.dev/docs/using/clone/#deleting-the-vm)). @@ -134,7 +134,7 @@ A release candidate for 0.1.1, adding to 0.1.1-rc.2. Install it with `devvm upgr ### Fixed -- **`--clone` of a shallow or SHA-256 repo (#40):** a repo from `git clone --depth 1` or one that uses SHA-256 failed after devvm made the VM. Both work now, and a VM whose copy failed gets its clone the next time you run devvm in its folder. Thanks to @Josuesp1620 for the report and @dhruv1220 for finding the cause in #42 ([a copy that didn't finish](https://next.devvm.dev/docs/using/clone/#a-copy-that-didnt-finish)). +- **`--clone` of a shallow or SHA-256 repo ([#40](https://github.com/devvmhq/devvm/issues/40)):** a repo from `git clone --depth 1` or one that uses SHA-256 failed after devvm made the VM. Both work now, and a VM whose copy failed gets its clone the next time you run devvm in its folder. Thanks to @Josuesp1620 for the report and @dhruv1220 for finding the cause in [#42](https://github.com/devvmhq/devvm/pull/42) ([a copy that didn't finish](https://next.devvm.dev/docs/using/clone/#a-copy-that-didnt-finish)). - **A stopped VM no longer keeps its listed ports from other VMs:** only a running VM holds a port. When the first VM starts again, devvm and `devvm ports` say that the other VM has the port, and the first VM takes it back within about 20 seconds of the other one stopping. Meanwhile, both VMs' apps share that port's site data and service workers in your browser ([two VMs and one port](https://next.devvm.dev/docs/using/ports-size/#two-vms-and-one-port)). - **`devvm ports` says why a listed port isn't forwarded,** such as the forwarder's limit of 256 ports or Linux refusing a port below 1024, instead of always blaming a program on this machine ([a listed port isn't forwarded](https://next.devvm.dev/docs/using/troubleshooting/#a-listed-port-isnt-forwarded)). When a port's forward ends, so do its connections ([how it reaches the VM](https://next.devvm.dev/docs/internals/ports/#how-it-reaches-the-vm)). - **A name that doesn't resolve says why:** a block now says whether this machine's DNS has no address for the name or didn't answer in time, and after a failure that may pass, the proxy asks once more before it blocks the name ([log files](https://next.devvm.dev/docs/internals/network/#log-files)). @@ -156,31 +156,31 @@ A release candidate for 0.1.1, adding to 0.1.1-rc.1. Install it with `devvm upgr ### New -- **Transparent mode (#35), on by default:** on every tier but open, tools that ignore the proxy settings, such as `wrangler dev`, static Go binaries and containers, reach the VM's proxy and its allowlist anyway. A VM made before needs `devvm update` first, and `devvm network transparent off` turns it off for a VM ([what it covers](https://next.devvm.dev/docs/safety/network/#tools-that-ignore-the-proxy)). -- **Folders of repos with `--clone` (#3):** one VM gets a clone of each repo you pick, at the same paths. `devvm clone fetch` brings back every repo's work, and `devvm clone add PATH` adds one ([folders of repos](https://next.devvm.dev/docs/using/clone/#folders-of-repos)). +- **Transparent mode ([#35](https://github.com/devvmhq/devvm/issues/35)), on by default:** on every tier but open, tools that ignore the proxy settings, such as `wrangler dev`, static Go binaries and containers, reach the VM's proxy and its allowlist anyway. A VM made before needs `devvm update` first, and `devvm network transparent off` turns it off for a VM ([what it covers](https://next.devvm.dev/docs/safety/network/#tools-that-ignore-the-proxy)). +- **Folders of repos with `--clone` ([#3](https://github.com/devvmhq/devvm/issues/3)):** one VM gets a clone of each repo you pick, at the same paths. `devvm clone fetch` brings back every repo's work, and `devvm clone add PATH` adds one ([folders of repos](https://next.devvm.dev/docs/using/clone/#folders-of-repos)). - **Rules by HTTP method and path:** `--method` and `--path` on `devvm network allow`, `deny` and `rm`, such as `devvm network deny api.github.com --method POST,PUT,PATCH,DELETE`. - **Your own secrets:** `devvm secret set NAME --host HOST --env VARIABLE`, then `devvm secret use NAME`. The VM only ever sees a placeholder, and `--method` and `--path` limit where the real value goes. -- **Learning a VM's hosts (#17):** `--network learn`, then `devvm network lock` to keep the hosts you choose. -- **`.git` protection on Linux (#4, #20):** `.git` is locked read-only around QEMU, without root. Where a host can't, such as Ubuntu with AppArmor, devvm watches `.git`, warns at each launch, and names what changed. -- **Nested repos (#3):** a VM protects the `.git` of each repo up to 4 folders down. `devvm doctor` suggests `safe.bareRepository explicit`. -- **pi and more providers (#23, #31, #32):** pi is a fourth agent, and Gemini, Groq, Mistral, xAI and DeepSeek keys stay on this machine. -- **Prereleases on Homebrew (#19):** `brew install devvmhq/tap/devvm-rc`. +- **Learning a VM's hosts ([#17](https://github.com/devvmhq/devvm/issues/17)):** `--network learn`, then `devvm network lock` to keep the hosts you choose. +- **`.git` protection on Linux ([#4](https://github.com/devvmhq/devvm/issues/4), [#20](https://github.com/devvmhq/devvm/pull/20)):** `.git` is locked read-only around QEMU, without root. Where a host can't, such as Ubuntu with AppArmor, devvm watches `.git`, warns at each launch, and names what changed. +- **Nested repos ([#3](https://github.com/devvmhq/devvm/issues/3)):** a VM protects the `.git` of each repo up to 4 folders down. `devvm doctor` suggests `safe.bareRepository explicit`. +- **pi and more providers ([#23](https://github.com/devvmhq/devvm/pull/23), [#31](https://github.com/devvmhq/devvm/pull/31), [#32](https://github.com/devvmhq/devvm/pull/32)):** pi is a fourth agent, and Gemini, Groq, Mistral, xAI and DeepSeek keys stay on this machine. +- **Prereleases on Homebrew ([#19](https://github.com/devvmhq/devvm/pull/19)):** `brew install devvmhq/tap/devvm-rc`. ### Changed -- **The 9p cache on Linux (#36):** Lima's default cache could write files to this machine empty or cut short, and made SQLite and Gradle fail. New Linux VMs use `none`, and `devvm mount-cache none` switches existing ones. Under `none`, keep SQLite WAL databases and other files that programs map for writing on the VM's own disk, or use `--clone`. macOS doesn't change. +- **The 9p cache on Linux ([#36](https://github.com/devvmhq/devvm/issues/36)):** Lima's default cache could write files to this machine empty or cut short, and made SQLite and Gradle fail. New Linux VMs use `none`, and `devvm mount-cache none` switches existing ones. Under `none`, keep SQLite WAL databases and other files that programs map for writing on the VM's own disk, or use `--clone`. macOS doesn't change. - **A `--clone` VM in a folder another VM mounts** is refused, and `devvm rm` asks before deleting one made earlier. -- **Logins:** a VM's copy of Codex's and Claude Code's login files keeps only the fields devvm knows. opencode, like pi, gets no key devvm doesn't bind, unless you list the provider in `config.toml`'s `[pass-keys]` (#30). +- **Logins:** a VM's copy of Codex's and Claude Code's login files keeps only the fields devvm knows. opencode, like pi, gets no key devvm doesn't bind, unless you list the provider in `config.toml`'s `[pass-keys]` ([#30](https://github.com/devvmhq/devvm/pull/30)). - **Warnings** print once per command. - **Nix** is 2.35.5. ### Removed -- **`devvm git-protect strict` (#37):** it couldn't keep git on this machine out of submodules the VM adds, so it's a usage error now. Strict VMs become `on`, and devvm takes out the `diff.ignoreSubmodules = all` it set, keeping a value of your own ([VMs that were strict](https://next.devvm.dev/docs/safety/git-protection/#vms-that-were-strict)). +- **`devvm git-protect strict` ([#37](https://github.com/devvmhq/devvm/issues/37)):** it couldn't keep git on this machine out of submodules the VM adds, so it's a usage error now. Strict VMs become `on`, and devvm takes out the `diff.ignoreSubmodules = all` it set, keeping a value of your own ([VMs that were strict](https://next.devvm.dev/docs/safety/git-protection/#vms-that-were-strict)). ### Fixed -- opencode's history copy with SQLite 3.54 (#26), a NUL byte in an ssh socket's path (#25), a build VM reusing its clone's ssh port, a login saved for an agent the VM lacks (#27), and `.git` protection locking a folder that only looks like a git folder (#28). +- opencode's history copy with SQLite 3.54 ([#26](https://github.com/devvmhq/devvm/pull/26)), a NUL byte in an ssh socket's path ([#25](https://github.com/devvmhq/devvm/pull/25)), a build VM reusing its clone's ssh port, a login saved for an agent the VM lacks ([#27](https://github.com/devvmhq/devvm/pull/27)), and `.git` protection locking a folder that only looks like a git folder ([#28](https://github.com/devvmhq/devvm/pull/28)). ## 0.1.1-rc.1 diff --git a/docs/content/docs/contributing/maintaining.md b/docs/content/docs/contributing/maintaining.md index 45a9a131..3d175deb 100644 --- a/docs/content/docs/contributing/maintaining.md +++ b/docs/content/docs/contributing/maintaining.md @@ -113,7 +113,7 @@ Until a fix ships, users can still build base, because devvm's fallback to the r - **Breaking and After you upgrade** stay complete and precise, because they tell users what to do: each bullet says what changes for you and every step to take, and leaves out only how devvm does it, which goes on the release page. - **New, Changed, Removed and Fixed** give each change in one or two sentences, saying what changed for you and what to do, with the label in bold. - **Hardening** has one line for each security-hardening fix, a way that code in a VM could reach past what devvm lets it do, most of which change nothing a user sees. - - **Every bullet ends with its links,** in this form and order: the user page to act on, for Breaking and After you upgrade, then the change's section on the release page, then its issue, then its commit, as in `([details](https://next.devvm.dev/docs/releases/0.2.0/#claude-codes-setup-token-login), #57, [6965efc](https://github.com/devvmhq/devvm/commit/6965efcc0a97f7f6334f00d0530007ecf459972c))`. The issue is a bare `#57`, as earlier entries write it, which GitHub links in the release's notes. The commit is the one that made the change, or the main one of several, linked by its full SHA and shown by its first seven characters. Find each one with `git log v..main` and its messages, and `git log -G` on `CHANGELOG.md` names the commit that added a bullet. Credits, such as thanks for a report, stay in the bullet's text. + - **Every bullet ends with its links,** in this form and order: the user page to act on, for Breaking and After you upgrade, then the change's section on the release page, then its issue, then its commit, as in `([details](https://next.devvm.dev/docs/releases/0.2.0/#claude-codes-setup-token-login), [#57](https://github.com/devvmhq/devvm/issues/57), [6965efc](https://github.com/devvmhq/devvm/commit/6965efcc0a97f7f6334f00d0530007ecf459972c))`. The issue is a full link, such as `[#57](https://github.com/devvmhq/devvm/issues/57)`, or `/pull/N` in place of `/issues/N` for a pull request, because a bare `#57` links only in GitHub's view of the release's notes, and not in `CHANGELOG.md` or anywhere else the entry is read. `gh api repos/devvmhq/devvm/issues/N --jq .pull_request` tells them apart: it prints nothing for an issue. Every reference to an issue or a pull request in the changelog is written this way, a credit's included, and the release page writes them the same way. The commit is the one that made the change, or the main one of several, linked by its full SHA and shown by its first seven characters. Find each one with `git log v..main` and its messages, and `git log -G` on `CHANGELOG.md` names the commit that added a bullet. Credits, such as thanks for a report, stay in the bullet's text. - **The links point at next.devvm.dev** in a release candidate's entry, because devvm.dev shows the latest release's docs, which don't have its release page yet, and at devvm.dev in a release's entry. Each anchor is the heading's ID as Hugo makes it, such as `#a-no_proxy-entrys-port` for A `NO_PROXY` entry's port, so check a new one against the built page. lychee checks the docs' links offline, so it doesn't check these. - **The release page** is `docs/content/docs/releases/..0.md`, such as `releases/0.2.0.md`, which covers the release and its release candidates. Each release candidate adds its changes there, in the same commit as its changelog entry, so the page is written as the release is made. Each change gets a section of its own with its full story, under Breaking changes, Changes, Fixes and Hardening, as [Writing docs](docs.md#writing-docs) describes, and the Releases section's own page lists the page. A change that a Breaking bullet and a Fixed or Hardening bullet both describe can share one section, which both link. - **A prerelease's changelog entry** lists what changed since the version before it, whether that's a release or another prerelease, and it becomes that prerelease's notes on GitHub. When the release itself goes out, its entry, such as `## 0.2.0`, replaces its prereleases' entries and lists everything since the last release, so someone who upgrades from that release reads one entry. Each prerelease's notes stay on its GitHub release.