| @@ -1,683 +0,0 @@ |
| 1 | | −删除:# Upstream agent-vm changelog |
| 2 | | −删除: |
| 3 | | −删除:The entries below retain the upstream agent-vm version history. Cage release notes and validation scope are published in [Cage Releases](https://github.com/Lee-xeo/Claude-Cage/releases); Cage uses its own `VERSION` and macOS packaging workflow. These upstream version numbers and platform artifacts do not describe Cage desktop releases. |
| 4 | | −删除: |
| 5 | | −删除:## 0.3.1 |
| 6 | | −删除: |
| 7 | | −删除:### Added |
| 8 | | −删除: |
| 9 | | −删除:- Releases have a `.deb` and an `.rpm` for Linux (amd64, arm64): the binary in |
| 10 | | −删除: `/usr/bin` and the docs, with QEMU and ssh recommended. Not in a package |
| 11 | | −删除: repository yet: install the file with `apt install ./agent-vm_X.Y.Z_arm64.deb` |
| 12 | | −删除: or `dnf install ./agent-vm-X.Y.Z-1.aarch64.rpm`. |
| 13 | | −删除:- A Nix flake (Linux): `nix run github:sylvinus/agent-vm`. QEMU comes with it, |
| 14 | | −删除: ssh is the system's. |
| 15 | | −删除:- `agent-vm setup --preinstall=code-opencode`: the OpenCode extension |
| 16 | | −删除: (`sst-dev.opencode`) in code-server (#37). Unlike the other extensions it |
| 17 | | −删除: runs the `opencode` command, so `opencode` is installed with it, and its |
| 18 | | −删除: config allows every tool, as `agent-vm opencode` does with `--auto`. |
| 19 | | −删除: |
| 20 | | −删除:### Fixed |
| 21 | | −删除: |
| 22 | | −删除:- Linux: VMs turned Broken seconds to minutes after a start. The end of the |
| 23 | | −删除: agent-vm command that started a VM (closing its terminal, a kill, and at |
| 24 | | −删除: random a plain exit) killed Lima's host agent, which left QEMU running |
| 25 | | −删除: without it, cut off, and failing every later start. The host agent now |
| 26 | | −删除: outlives that command. On macOS, the same killed the VM. |
| 27 | | −删除:- A VM left in that state is stopped by force, then started again, on the |
| 28 | | −删除: next run; `agent-vm stop` stops it too. `stop` no longer says "VM stopped." |
| 29 | | −删除: for a Broken VM it did not stop. |
| 30 | | −删除:- A start that fails (the VM never came up) now stops the VM, which Lima's |
| 31 | | −删除: host agent would otherwise keep running. The force-stop of a VM left without |
| 32 | | −删除: its host agent checks that the process is QEMU first: the PID file of a QEMU |
| 33 | | −删除: that aborted may name another program's process by now. |
| 34 | | −删除:- The missing-QEMU hint no longer says `apt-get` where there is neither apt |
| 35 | | −删除: nor dnf (NixOS): it points to the distribution's package, or the Nix flake. |
| 36 | | −删除:- Linux: a VM could lose its network and stop in the middle of `agent-vm |
| 37 | | −删除: setup` or any download (`exit status 255`, the VM Stopped), with QEMU |
| 38 | | −删除: 10.2 and a KVM host. QEMU aborted on `net_fill_rstate: Assertion 'size == |
| 39 | | −删除: 0' failed`, a bug of its `socket` network backend, which handled a failed |
| 40 | | −删除: read of the stream badly. The VMs' network now goes through QEMU's `dgram` |
| 41 | | −删除: backend (QEMU 7.2 or later): no stream, nothing to lose. An older QEMU keeps |
| 42 | | −删除: the former backend, and so does Windows (it has no unix datagram sockets). |
| 43 | | −删除: |
| 44 | | −删除:## 0.3.0 |
| 45 | | −删除: |
| 46 | | −删除:agent-vm 0.3 is one Go binary with Lima built in. The |
| 47 | | −删除:bash version (`agent-vm.sh`, `lib/`) is gone from the repository: 0.2.x |
| 48 | | −删除:stays on its tags. Changes against 0.2.1: |
| 49 | | −删除: |
| 50 | | −删除:### Added |
| 51 | | −删除: |
| 52 | | −删除:- Network isolation: a VM reaches the internet, not your machine (its |
| 53 | | −删除: loopback, where the other VMs' ports are forwarded, and its own |
| 54 | | −删除: addresses) nor your local networks. `~/.agent-vm/network` opens holes, |
| 55 | | −删除: one per line: `allow 192.168.1.10:5432`, `allow 10.0.0.0/8`, `allow |
| 56 | | −删除: localhost:11434` (a service on your machine's loopback, which the VM |
| 57 | | −删除: reaches at 192.168.5.2). `domain github.com` lines make those domains |
| 58 | | −删除: and their subdomains the only names of the internet the VMs reach: |
| 59 | | −删除: other names do not resolve, and an address is reachable once agent-vm's |
| 60 | | −删除: DNS gave it for one of them. A line agent-vm cannot read stops a start, |
| 61 | | −删除: and `setup`, with the line named; `doctor` checks the file. |
| 62 | | −删除: `AGENT_VM_UNSAFE_OPEN_NETWORK=1` turns isolation off. QEMU VMs get their own network stack, as vz ones have, so |
| 63 | | −删除: this holds for both. |
| 64 | | −删除:- A desktop notification when a port the VM listens on is forwarded to your |
| 65 | | −删除: machine, and when it is not because a program of yours uses it. |
| 66 | | −删除: `AGENT_VM_NOTIFY=0` turns them off. |
| 67 | | −删除:- Ports 32768-60999 are no longer forwarded: the guest gives them to |
| 68 | | −删除: programs asking for any free port (Chromium's DevTools port, language |
| 69 | | −删除: servers...), which nobody opens from the host. |
| 70 | | −删除:- Files your machine runs without asking are guarded: when the VM writes, |
| 71 | | −删除: creates, renames or removes `.envrc`, `.vscode/tasks.json`, |
| 72 | | −删除: `.vscode/settings.json`, `.vscode/launch.json`, `.pre-commit-config.yaml`, |
| 73 | | −删除: `lefthook.yml` or `mise.toml`, a dialog asks you first (allowed until the |
| 74 | | −删除: VM stops; a no holds a minute). Without a dialog to show, the write is |
| 75 | | −删除: refused and a notification says so. `~/.agent-vm/guarded` adds paths, one |
| 76 | | −删除: per line, `!path` removes one of the defaults, and `*.ext` guards an |
| 77 | | −删除: extension. `AGENT_VM_GUARDED_WRITES=deny` refuses them all without asking. |
| 78 | | −删除:- On a Windows host, `*.library-ms`, `*.searchConnector-ms`, `*.lnk`, `*.url`, |
| 79 | | −删除: `*.scf` and `desktop.ini` are guarded too (names Windows makes into them, |
| 80 | | −删除: like `a.lnk.` or `a.lnk:stream`, included): Explorer sends your NTLM hash to |
| 81 | | −删除: the server they name when it shows them (CVE-2025-24054, CVE-2025-50154, |
| 82 | | −删除: CVE-2025-59214). There is no dialog on Windows yet: the writes are refused. |
| 83 | | −删除:- Windows, natively (experimental): host |
| 84 | | −删除: paths are kept as C:/Users/me/proj, drive-aware, and the VM sees them as |
| 85 | | −删除: 0.2 did, /c/Users/me/proj, under the same VM names. The volumes file takes |
| 86 | | −删除: C:/x and C:\x, and 0.2's /c/x, in its sources and project filters. QEMU's |
| 87 | | −删除: folder goes on PATH at every start, a failed start says when the Windows |
| 88 | | −删除: Hypervisor Platform feature is off, and `install` gives the PATH line in |
| 89 | | −删除: PowerShell's syntax. QEMU 7.2 or later is needed, for the VM's own |
| 90 | | −删除: network stack. |
| 91 | | −删除:- Releases have Windows binaries too (amd64, arm64), signed when |
| 92 | | −删除: `release.sh` is given a code-signing certificate. |
| 93 | | −删除: |
| 94 | | −删除:### Changed |
| 95 | | −删除: |
| 96 | | −删除:- A port the VM listens on is no longer forwarded when a program of your |
| 97 | | −删除: machine uses it: on macOS, the forward took that program's local |
| 98 | | −删除: connections (a Lima patch). |
| 99 | | −删除:- A VM name too long for Lima's socket paths under your home is cut in its |
| 100 | | −删除: folder part, the hash of the whole path kept: such a folder could not get |
| 101 | | −删除: a VM. |
| 102 | | −删除:- The binary leaves out the formats of yq that Lima does not use: about 10% |
| 103 | | −删除: smaller. |
| 104 | | −删除: |
| 105 | | −删除:- Lima is built in, with the patches that keep `.git` read-only and fix the |
| 106 | | −删除: SFTP server (patches/README.md): no limactl to install, no Lima build to |
| 107 | | −删除: download, and `setup` no longer offers one. A start never asks about a |
| 108 | | −删除: Lima that cannot protect `.git`: `info`'s `security_questions` no longer |
| 109 | | −删除: has `lima` or `lima-unknown`, `doctor`'s Lima section says which Lima is |
| 110 | | −删除: built in, and `help` says so. |
| 111 | | −删除:- The VMs live in `~/.agent-vm/lima` (`AGENT_VM_LIMA_HOME` overrides), apart |
| 112 | | −删除: from your own Lima's. The first command that needs them offers to move |
| 113 | | −删除: 0.2's from `~/.lima` (or `$LIMA_HOME`), once, stopping running ones first: |
| 114 | | −删除: they keep their shares and settings. Lima's `_config` there is not taken. |
| 115 | | −删除: `AGENT_VM_LIMA_HOME` may not be your own Lima's home. |
| 116 | | −删除:- VM names lose their `agent-vm-` prefix, needed only while they shared |
| 117 | | −删除: `~/.lima` with your own VMs: `proj-1a2b3c4d`, and `base` for the base |
| 118 | | −删除: template. 0.2's VMs are renamed as they are moved. This gives back to |
| 119 | | −删除: folder names the room `~/.agent-vm/lima` takes in Lima's socket paths |
| 120 | | −删除: (104 characters on macOS). `stop` and `rm` take any name `list` shows. |
| 121 | | −删除:- With `--unsafe-writable-git`, the shares stay reverse-sshfs, served by the |
| 122 | | −删除: built-in SFTP server confined to them, without the read-only names; 0.2 |
| 123 | | −删除: went back to Lima's default mount type. |
| 124 | | −删除:- A VM from a base built by 0.1.0 is no longer migrated in place: a start |
| 125 | | −删除: refuses it and says to run `setup`, then `--reset`. |
| 126 | | −删除:- `install` links the agent-vm binary (a copy where no link can be made, |
| 127 | | −删除: replaced by the next `install`); `uninstall` removes it. Both replace or |
| 128 | | −删除: remove 0.2's link to `agent-vm.sh`. |
| 129 | | −删除:- A release is a tarball per platform (macOS and Linux, arm64 and |
| 130 | | −删除: x86_64): the binary and `agent-vm.sh`, which runs it. The curl installer |
| 131 | | −删除: takes the one of the machine; its `--version` and `--git` work as in |
| 132 | | −删除: 0.2. In a clone, `agent-vm.sh` builds agent-vm first (Go, and on macOS |
| 133 | | −删除: the Xcode command line tools), and again after a `git pull`. The Linux |
| 134 | | −删除: binaries are built without cgo: the VMs' DNS lookups go through Go's |
| 135 | | −删除: resolver there. |
| 136 | | −删除:- What 0.2 left keeps working: its link to `agent-vm.sh` on the PATH runs |
| 137 | | −删除: the new binary (built first in a clone), and a shell rc that sources |
| 138 | | −删除: `agent-vm.sh` gets an `agent-vm` function running it. Running the curl |
| 139 | | −删除: installer again, or `install`, replaces the link with one to the binary. |
| 140 | | −删除:- `agent-vm.sh` sourced from a shell rc no longer loads agent-vm into the |
| 141 | | −删除: shell: it defines a function running it. `install` says the line can go. |
| 142 | | −删除:- `version --min`'s "Update it" line is always the curl installer's, until |
| 143 | | −删除: 0.3's install methods are settled. |
| 144 | | −删除:- agent-vm makes and starts no VM while Lima's `default.yaml` or |
| 145 | | −删除: `override.yaml` is in `~/.agent-vm/lima/_config`: they add to every VM's |
| 146 | | −删除: config (shares, mount type), which agent-vm sets alone. `doctor` names |
| 147 | | −删除: them. Its `base.yaml` is not mixed into the base VM either. |
| 148 | | −删除:- Messages that named `limactl list` name `agent-vm list`. |
| 149 | | −删除:- `--tty` also gives the command a terminal when only stdin is one. |
| 150 | | −删除:- `help` says how deep the git check looks: the repository holding each |
| 151 | | −删除: share, and those up to two folders below it, 50 per share. |
| 152 | | −删除:- A VM config Lima refuses is reported with Lima's reason, and `--reset`. |
| 153 | | −删除:- `env get` and `project-env get` read non-ASCII values as written (`café` |
| 154 | | −删除: came back mangled), and as the VM sources the file: CRs ending lines are |
| 155 | | −删除: dropped, inside quoted values too; a value with a CR left in it is |
| 156 | | −删除: refused. |
| 157 | | −删除:- A volume's project filter with non-ASCII characters matches as written. |
| 158 | | −删除:- A project or volume path with `&`, `<` or `>` is shared as is (they came |
| 159 | | −删除: out escaped, as another folder). One with `{{`, which Lima expands as a |
| 160 | | −删除: template, or bytes that are not UTF-8 is refused: Lima would share |
| 161 | | −删除: another folder. agent-vm checks that Lima keeps every share as written. |
| 162 | | −删除:- `doctor` and `info` only look: they no longer move 0.2's VMs (which stops |
| 163 | | −删除: running ones); `doctor` says when some are still to move. |
| 164 | | −删除:- A single-file volume that is a symlink (stow's dotfiles) reaches the VM. |
| 165 | | −删除:- When the first sshfs mount fails, Lima's retry keeps the share's options |
| 166 | | −删除: (`cache=no`) instead of replacing them (a Lima patch). |
| 167 | | −删除:- A running VM with more read-only names than the project now needs (a |
| 168 | | −删除: hooks folder moved) keeps running: extra names protect more, and the next |
| 169 | | −删除: boot drops them. 0.2 asked to restart it, and aborted without a terminal. |
| 170 | | −删除: |
| 171 | | −删除:### Security |
| 172 | | −删除: |
| 173 | | −删除:- A failed `setup` prints the end of its log without escape sequences: the |
| 174 | | −删除: log holds what the VM printed. |
| 175 | | −删除:- A hooks folder name declined at start no longer hides the other risks |
| 176 | | −删除: under it: with `core.hooksPath tools/hooks` and `core.fsmonitor |
| 177 | | −删除: tools/fsmon.sh`, a no to making every `tools` read-only now lists |
| 178 | | −删除: fsmonitor too. |
| 179 | | −删除:- A git config file in a folder with non-ASCII characters is found: git |
| 180 | | −删除: quotes such paths, and 0.2 missed them. |
| 181 | | −删除:- A git setting whose path goes through a symlink in the project, halfway |
| 182 | | −删除: along a chain of links, is now caught: 0.2 resolved the whole path at |
| 183 | | −删除: once and never saw that link, which the VM could retarget. |
| 184 | | −删除:- A hooks folder in a writable volume inside the repository (a volume on |
| 185 | | −删除: `.husky` with `core.hooksPath .husky/_`) is warned about and asked: no |
| 186 | | −删除: read-only name covers it. 0.2 made `_` read-only and left |
| 187 | | −删除: `.husky/pre-commit` writable. |
| 188 | | −删除:- More git settings that name a command are checked: `mergetool`, |
| 189 | | −删除: `difftool`, `browser` and `man` tool paths, `guitool.*.cmd`, |
| 190 | | −删除: `trailer.*.cmd`, `submodule.*.update`, `remote.*.uploadpack` and |
| 191 | | −删除: `receivepack`, `tar.*.command`, `instaweb.httpd`, the `sendemail` |
| 192 | | −删除: commands and `gpg.ssh.defaultKeyCommand`. |
| 193 | | −删除:- Your own Lima home (`~/.lima` or `$LIMA_HOME`) is refused as a project, |
| 194 | | −删除: as in 0.2: its `_config/user` key logs into your other Lima VMs. |
| 195 | | −删除:- A git setting's command that names a file without a `/` (`alias.b = |
| 196 | | −删除: !bash build.sh`) is checked against the shares: it runs from the top of |
| 197 | | −删除: the repository, which the VM can write. |
| 198 | | −删除:- On macOS, a read-only name is matched as APFS matches names: whatever |
| 199 | | −删除: the Unicode normalization (`é` or `e` and a combining accent) and with |
| 200 | | −删除: full case folding (`ß` as `ss`). 0.2 compared case only, so a hooks |
| 201 | | −删除: folder with such a name could be written under another spelling. |
| 202 | | −删除:- What the VM printed during `setup` (its window and, on failure, its log) |
| 203 | | −删除: is shown without any control character: bell, backspace, and the C1 |
| 204 | | −删除: controls some terminals take for escape sequences, not only ESC. |
| 205 | | −删除:- No VM starts with a share served by anything but the built-in SFTP |
| 206 | | −删除: server over reverse-sshfs, the one confined to its folder, whatever the |
| 207 | | −删除: options: Lima's default SFTP server lets the VM read (or write) any file |
| 208 | | −删除: you can. 0.2 allowed it with `.git` left writable, and refused a writable |
| 209 | | −删除: share from Lima's `_config` under `--readonly` only after the VM had |
| 210 | | −删除: booted and got your env. |
| 211 | | −删除: |
| 212 | | −删除:## 0.2.1 |
| 213 | | −删除: |
| 214 | | −删除:### Added |
| 215 | | −删除: |
| 216 | | −删除:- `agent-vm code`: VS Code (code-server) served from the VM, until Ctrl-C. |
| 217 | | −删除: Its address and password are printed in a box, for you to open in the |
| 218 | | −删除: browser. Opt-in at setup: `--preinstall=code-server` |
| 219 | | −删除: for the editor alone, `code-claude`, `code-codex` and `code-vibe` for it |
| 220 | | −删除: with that agent's extension, each starting with no permission prompts. |
| 221 | | −删除: The wizard asks about the editor after the agents, then whether the |
| 222 | | −删除: agents that have an extension get it, the command line, or both. An |
| 223 | | −删除: extension ships its own copy of its agent: without the command line, |
| 224 | | −删除: `agent-vm claude` (or `codex`, `vibe`) says it is not installed. Dark |
| 225 | | −删除: theme, GitHub Copilot disabled, no telemetry, no welcome page, tips, |
| 226 | | −删除: recommendations or experiments. The JSON schemas the editor validates |
| 227 | | −删除: files with (`package.json`, `tsconfig.json`...) are downloaded once by |
| 228 | | −删除: `setup`, in parallel, each stored under the URL the editor asks for (a |
| 229 | | −删除: schema's references followed from its `$id`, as the editor does): |
| 230 | | −删除: opening a file sends no request. |
| 231 | | −删除:- The editor's password is made in each VM on first use, never in the base, |
| 232 | | −删除: of which every VM is a copy, and printed. Each VM's editor is at |
| 233 | | −删除: `http://<vm-name>.localhost:<port>/`, the first of ten ports from 20000 to |
| 234 | | −删除: 29999 picked from its name that is free, so the same on every start while |
| 235 | | −删除: it is: browsers keep cookies per host name, not per port, so a page a VM |
| 236 | | −删除: serves at `127.0.0.1` does not get the session of every editor. Safari may |
| 237 | | −删除: not resolve `*.localhost`: then `127.0.0.1` in a private window kept for |
| 238 | | −删除: the editor. code-server's port proxy is off: links to `localhost:<port>` |
| 239 | | −删除: open at that port on your machine, where Lima forwards it. Claude Code's |
| 240 | | −删除: login pages open without the editor's link prompt; other links still ask. |
| 241 | | −删除:- Not a boundary between VMs: a VM can listen on a port Lima forwards to |
| 242 | | −删除: your machine and send your browser to another VM's editor host name on |
| 243 | | −删除: it, getting that editor's session. Keeping VMs apart needs network |
| 244 | | −删除: isolation, on the roadmap; until then, stop `agent-vm code` when not |
| 245 | | −删除: using it. |
| 246 | | −删除:- With code-server picked in the wizard, the base gets 4 GB of memory |
| 247 | | −删除: instead of 3, unless `--memory` says otherwise. |
| 248 | | −删除: |
| 249 | | −删除:### Changed |
| 250 | | −删除: |
| 251 | | −删除:- A command that is not in the VM (`agent-vm run foo`, or an agent not |
| 252 | | −删除: installed) says so, with status 127, instead of `env`'s error. A path |
| 253 | | −删除: (`./build.sh`) is still `env`'s to run, with its reason: a script without |
| 254 | | −删除: +x is denied, status 126. |
| 255 | | −删除:- The protected writable shares turn sshfs's cache off: with it, a file the |
| 256 | | −删除: host changed showed as it was for up to 20 seconds, and an agent writing |
| 257 | | −删除: back what it read undid the change. `AGENT_VM_SSHFS_CACHE=1` in the shell |
| 258 | | −删除: turns it back on, faster on many files (a repeated `git status` sends |
| 259 | | −删除: about 20 times fewer requests). The read-only shares keep it. Existing VMs |
| 260 | | −删除: get it on their next start from stopped. |
| 261 | | −删除:- A project share that is no longer mounted (sshfs died) is caught: the VM |
| 262 | | −删除: must see a file this machine just put in the project. The VM is restarted |
| 263 | | −删除: with its shares, with a warning that what it wrote meanwhile is on its own |
| 264 | | −删除: disk. No probe file is left anywhere, a `--scratch` folder included. |
| 265 | | −删除:- `agent-vm code` finds the ports something in the VM listens on with `ss`, |
| 266 | | −删除: whatever it speaks, and never through the VM's HTTP proxy, which made |
| 267 | | −删除: every port look taken. |
| 268 | | −删除:- A start reads `~/.agent-vm/volumes` and scans the repositories of each |
| 269 | | −删除: share once: about 4 times fewer processes with a writable volume holding |
| 270 | | −删除: many repositories. |
| 271 | | −删除: |
| 272 | | −删除:### Security |
| 273 | | −删除: |
| 274 | | −删除:- The check for a Lima with `sshfs.readonlyNames` no longer depends on the |
| 275 | | −删除: mount type: with `mountType: reverse-sshfs` in Lima's |
| 276 | | −删除: `_config/override.yaml`, a Lima that has it was taken for one that does |
| 277 | | −删除: not. |
| 278 | | −删除:- A VM recorded as protected is checked against the shares Lima has for it: |
| 279 | | −删除: a share without the read-only names, set by hand or by Lima's `_config`, |
| 280 | | −删除: makes it unprotected, and no boot (a first start, a repair, a restart for |
| 281 | | −删除: `--readonly`, the 0.1.0 migration) happens with one; the error says which |
| 282 | | −删除: share, or that the mount type is wrong. A VM that shares nothing |
| 283 | | −删除: (`--scratch`, the migration) boots with no share at all. A running VM |
| 284 | | −删除: served by another `limactl` build than the one on `PATH` (a stock Lima |
| 285 | | −删除: started it) is not taken as protected either, by a start, by `--readonly` |
| 286 | | −删除: or by `doctor`: on macOS the running binary is asked of `lsof`, which a |
| 287 | | −删除: Homebrew link does not fool, and the same build reinstalled since is not |
| 288 | | −删除: taken for another. `--readonly` is refused when Lima's `_config` gives the |
| 289 | | −删除: VM a writable share. |
| 290 | | −删除:- What git on this machine runs from a share, found wherever it points: |
| 291 | | −删除: hooks folders, hooks, commands and included config in the project, in a |
| 292 | | −删除: writable volume, or pointing from one to another (`core.hooksPath` or |
| 293 | | −删除: `core.fsmonitor` into a volume), and git's own global config kept in one. |
| 294 | | −删除: A hooks folder becomes a read-only name; anything else is a risk to |
| 295 | | −删除: accept. Every symlink on the way is followed, a link not there yet |
| 296 | | −删除: included (the VM could create its target), and a link inside the |
| 297 | | −删除: project on the way is protected as well. Writable volumes reached through |
| 298 | | −删除: a symlink are searched, bare repositories in them get their folder's name |
| 299 | | −删除: read-only, and more than 50 repositories in one share is said. A hook |
| 300 | | −删除: linked to another inside its own read-only folder is no risk any more. |
| 301 | | −删除: Names printed from the shares have their control characters made |
| 302 | | −删除: visible. |
| 303 | | −删除:- A `.git` or `.hg`, a bare repository, or a folder inside one, is refused as |
| 304 | | −删除: the project, and as a writable volume: the read-only names apply below a |
| 305 | | −删除: share's root only. A volume is refused when it is, contains or is inside |
| 306 | | −删除: agent-vm's state, Lima's or agent-vm itself, or contains the home folder, |
| 307 | | −删除: read-only or not, and when it would be mounted at or above the project, or |
| 308 | | −删除: where another volume is, whatever the spelling or with no destination. |
| 309 | | −删除: |
| 310 | | −删除:## 0.2.0 |
| 311 | | −删除: |
| 312 | | −删除:### Security |
| 313 | | −删除: |
| 314 | | −删除:- The host no longer reads the project's `.agent-vm.runtime.sh` by its |
| 315 | | −删除: path. The VM can write the project and make it a symlink to any file of |
| 316 | | −删除: yours: the host followed it on every start and handed the content to the |
| 317 | | −删除: VM (`ln -s ~/.ssh/id_ed25519 .agent-vm.runtime.sh` got the key on the next |
| 318 | | −删除: command). The VM now reads it itself, where a link only reaches the VM's |
| 319 | | −删除: own files. The project's `.agent-vm.env`, new here, is read the same way, |
| 320 | | −删除: and `project-env` refuses a file that is a link, or reached through one, |
| 321 | | −删除: without a window the VM could race; it needs `perl` for that. Whether a |
| 322 | | −删除: file is in the project is decided by where its path leads, not by how it |
| 323 | | −删除: is spelled (the project's real path while it is used through a link). A |
| 324 | | −删除: file kept outside the project with `AGENT_VM_PROJECT_ENV` or |
| 325 | | −删除: `AGENT_VM_PROJECT_RUNTIME` is read on the host. |
| 326 | | −删除:- The home directory, `/`, agent-vm's own directory, its state directory, |
| 327 | | −删除: Lima's, any directory containing one of them, and any directory inside one |
| 328 | | −删除: of the last three are refused as a project: `cd ~ && agent-vm shell` |
| 329 | | −删除: shared `~/.ssh` and every dotfile read-write, and from inside agent-vm's |
| 330 | | −删除: folder the VM could change the files the host runs next. |
| 331 | | −删除: `--unsafe-disable-security-prompts` shares agent-vm's own directory |
| 332 | | −删除: anyway, with a warning, to work on agent-vm from a clone. |
| 333 | | −删除:- `--readonly` on a stopped VM that last ran writable makes it read-only |
| 334 | | −删除: before it boots. It used to start it writable, then stop it and apply the |
| 335 | | −删除: change. |
| 336 | | −删除:- Whether `--readonly` is enforced on the host is decided from what Lima |
| 337 | | −删除: reports for the VM, not by asking the guest, which could lie. |
| 338 | | −删除:- A `limactl stop` that did not stop the VM is caught before its shares are |
| 339 | | −删除: changed. |
| 340 | | −删除:- Every `.git` in the shared folders is read-only for the VMs, at any depth, |
| 341 | | −删除: when Lima has `sshfs.readonlyNames`. Before, a VM could write a project's |
| 342 | | −删除: `.git/config` or hooks, and git on the host (editors and shell prompts |
| 343 | | −删除: included) would run what they name: commands on your machine. Lima's SFTP |
| 344 | | −删除: server enforces it on the host, so root in the VM cannot lift it. The shares |
| 345 | | −删除: then use `reverse-sshfs` with the builtin SFTP driver, and existing VMs |
| 346 | | −删除: switch on their next start. A VM made by agent-vm 0.1.0, or cloned from a |
| 347 | | −删除: base it built, has no `sshfs`: it boots once without shares to install it, |
| 348 | | −删除: with a warning, before it gets them. Without it, Lima installed Debian's at |
| 349 | | −删除: boot, which needs apt then and breaks symlinks (see #22 below). `doctor` |
| 350 | | −删除: reports a base built by 0.1.0. This migration will be removed in a future |
| 351 | | −删除: release: `setup`, then `--reset`. The field is not in upstream Lima yet |
| 352 | | −删除: (lima-vm/lima#5529): `setup` checks for it, says what is at stake without |
| 353 | | −删除: it, and offers to install `sylvinus/tap/lima-sylvinus` with Homebrew. |
| 354 | | −删除: `doctor` reports it too. `--unsafe-writable-git`, or |
| 355 | | −删除: `AGENT_VM_UNSAFE_WRITABLE_GIT=1` in the shell, turns it off, for those who |
| 356 | | −删除: let the agent commit in the project, with a warning on every run. |
| 357 | | −删除:- Every `.hg` is read-only as well: Mercurial runs the hooks of `.hg/hgrc` |
| 358 | | −删除: in a repository you own. When git's `core.hooksPath` puts the hooks in the |
| 359 | | −删除: project (husky sets `.husky/_`), the first folder of that path, from the |
| 360 | | −删除: top of its repository, joins the names too, so the agent cannot change the |
| 361 | | −删除: hooks git runs on your commits. The repository holding the project and |
| 362 | | −删除: those up to two levels below it are checked, with git before 2.31 too. A |
| 363 | | −删除: name that does not start with a dot would lock every folder of that name |
| 364 | | −删除: in the project, so the start asks first (yes by default). Hooks at the top |
| 365 | | −删除: of a repository cannot be protected by name. `doctor` reports all of it. |
| 366 | | −删除:- Before a VM boots with writable shares, agent-vm stops on each risk it |
| 367 | | −删除: cannot remove and asks whether to go on; Enter, or no terminal, aborts, |
| 368 | | −删除: and nothing has changed. The risks: a Lima that cannot keep `.git` |
| 369 | | −删除: read-only (on Windows, where the shares are then `reverse-sshfs`, the |
| 370 | | −删除: rest of the disk is at stake, and the box says so); hooks that cannot be |
| 371 | | −删除: protected, or a name declined; a git config file included from the |
| 372 | | −删除: project, there yet or not, or a setting (`core.fsmonitor`, a |
| 373 | | −删除: filter, a `!` alias...) whose command is a file in it; and |
| 374 | | −删除: `safe.bareRepository=explicit` missing from the global git config, which |
| 375 | | −删除: it offers to set, or ignored by a git older than 2.38. Without that |
| 376 | | −删除: setting, a folder holding `HEAD`, `objects/`, `refs/` and a `config` is a |
| 377 | | −删除: repository to git under any name, which `readonlyNames` does not cover, |
| 378 | | −删除: and git on the host runs the commands its `config` names (`core.pager` as |
| 379 | | −删除: soon as `git log` is typed there). A question is only asked when stderr is |
| 380 | | −删除: a terminal too, so a caller capturing it gets "no" rather than a question |
| 381 | | −删除: nobody sees. For a VM that already runs, the warnings are printed without |
| 382 | | −删除: a question; one that lacks a protection it should have is offered a |
| 383 | | −删除: restart, and continuing without it is the same kind of risk. A running VM |
| 384 | | −删除: that is stopped to boot again (new resources, a protection, a repair) is |
| 385 | | −删除: asked once stopped, as any VM about to boot. `--readonly` asks none of |
| 386 | | −删除: these questions, and `--unsafe-writable-git` none about `.git`. |
| 387 | | −删除: `--unsafe-disable-security-prompts`, or |
| 388 | | −删除: `AGENT_VM_UNSAFE_DISABLE_SECURITY_PROMPTS=1` in the shell, goes on without |
| 389 | | −删除: asking, and without offering to change the git config; the warnings are |
| 390 | | −删除: still printed. |
| 391 | | −删除:- A Lima whose answer to the `readonlyNames` probe cannot be read (a failing |
| 392 | | −删除: `limactl validate`, a wording agent-vm does not know) stops the start with |
| 393 | | −删除: an error, rather than being taken for a Lima without `readonlyNames`, |
| 394 | | −删除: which would drop the protection of a stopped VM on its next start. |
| 395 | | −删除:- The home directory and agent-vm's directories are refused as a project |
| 396 | | −删除: whatever the case they are typed in, on macOS and Windows: Git Bash keeps |
| 397 | | −删除: the spelling typed, so `cd /c/users/me` got past the check. |
| 398 | | −删除:- `--readonly` is now set on the Lima shares, so the host refuses the writes |
| 399 | | −删除: and root in the VM cannot lift it. It used to be a remount inside the |
| 400 | | −删除: guest. Under `reverse-sshfs` without `readonlyNames`, where Lima only passes |
| 401 | | −删除: the flag to the guest, agent-vm refuses `--readonly` instead of pretending. |
| 402 | | −删除: Switching the mode of a running VM restarts it, asked first (no by |
| 403 | | −删除: default): declined, or with no terminal, the command fails, in both |
| 404 | | −删除: directions, so another session's `--readonly` VM is not made writable |
| 405 | | −删除: under it. |
| 406 | | −删除:- `--readonly` is refused on virtiofs under QEMU, where Lima's virtiofsd has no |
| 407 | | −删除: read-only mode and the flag only reaches the guest. It was accepted there as |
| 408 | | −删除: enforced on the host. 9p, QEMU's default, and virtiofs on `vz` are enforced. |
| 409 | | −删除:- `--readonly` covers every share, `rw` entries of `~/.agent-vm/volumes` |
| 410 | | −删除: included. Read-only is enforced per share, so a writable volume containing |
| 411 | | −删除: the project was a second way to write it. |
| 412 | | −删除:- `agent-vm env get/has` read the file instead of sourcing it, as the new |
| 413 | | −删除: `project-env get/has` do: the project env file sits in a directory the VM |
| 414 | | −删除: can write to. Values that need a shell to be interpreted are refused with |
| 415 | | −删除: exit status 2, and so is every key once one line is: after an open quote, |
| 416 | | −删除: a trailing backslash or a command, the shell reads the file differently |
| 417 | | −删除: than it looks, and could assign any key. |
| 418 | | −删除:- A project path containing a quote, a backslash or a control character is |
| 419 | | −删除: refused. It was spliced into the Lima mount config and could add mounts of |
| 420 | | −删除: its own (the home directory, read-write). |
| 421 | | −删除:- Declining to stop a running VM for a `--disk`, `--memory`, `--cpus` or |
| 422 | | −删除: `--ssh-port` change, or having no terminal to accept it on, no longer skips |
| 423 | | −删除: the rest of the start: `--readonly` was then never applied and the command |
| 424 | | −删除: ran on a writable VM. The VM now keeps its settings and everything else |
| 425 | | −删除: applies. |
| 426 | | −删除: |
| 427 | | −删除:### Removed |
| 428 | | −删除: |
| 429 | | −删除:Both flags claimed a restriction they could not hold: inside the VM the agent |
| 430 | | −删除:has passwordless sudo, so anything enforced there is advisory at best. |
| 431 | | −删除: |
| 432 | | −删除:- `--offline` set `iptables` rules in the guest; one |
| 433 | | −删除: `sudo iptables -P OUTPUT ACCEPT` undid them. Blocking outbound traffic has to |
| 434 | | −删除: happen on the host, and Lima exposes no setting for it: see |
| 435 | | −删除: [the roadmap](https://www.agent-vm.org/#roadmap). |
| 436 | | −删除:- `--git-read-only` bind-mounted `.git` read-only in the guest; one |
| 437 | | −删除: `sudo umount` undid it. A nested read-only share over a writable parent is not |
| 438 | | −删除: a boundary either, since unmounting the child exposes the same files through |
| 439 | | −删除: the parent. Keep commits on the host and review the diff yourself. |
| 440 | | −删除:- `iptables` is no longer in the base packages (Docker still pulls it in). |
| 441 | | −删除:- `runtime.example.sh` no longer suggests copying an SSH private key into every |
| 442 | | −删除: VM. Use a revocable `GH_TOKEN` in `~/.agent-vm/env`. |
| 443 | | −删除: |
| 444 | | −删除:### Changed |
| 445 | | −删除: |
| 446 | | −删除:- For scripts and tools that run agent-vm without a terminal: a start can |
| 447 | | −删除: now stop on a security question (see Security above), with the reason on |
| 448 | | −删除: stderr and a failing status. `agent-vm info` says beforehand what it would |
| 449 | | −删除: stop on (`security_questions=`). Pass `--unsafe-disable-security-prompts`, |
| 450 | | −删除: or set `AGENT_VM_UNSAFE_DISABLE_SECURITY_PROMPTS=1`, once the user has |
| 451 | | −删除: agreed; or use `--readonly`. |
| 452 | | −删除:- `agent-vm.sh` loads the rest of agent-vm from `lib/`, next to it, and stops |
| 453 | | −删除: with the name of the missing file when it is not there: a copy of |
| 454 | | −删除: `agent-vm.sh` on its own no longer works. Clones, the curl installer and |
| 455 | | −删除: release tarballs have it. |
| 456 | | −删除:- Sourced by zsh (the `~/.zshrc` line of the 0.1.0 installer), `agent-vm.sh` |
| 457 | | −删除: only defines an `agent-vm` function that runs it with bash, like the |
| 458 | | −删除: command on `PATH`: agent-vm no longer runs inside zsh, with its semantics |
| 459 | | −删除: and your options. Its internal `_agent_vm_*` functions are no longer |
| 460 | | −删除: defined there. Sourcing it from bash is unchanged. |
| 461 | | −删除:- agent-vm's options are read the same way before the command and right after |
| 462 | | −删除: its name: `agent-vm claude --disk=50` resizes the VM instead of passing |
| 463 | | −删除: `--disk=50` to Claude, and `agent-vm claude --disk 10G` is refused with the |
| 464 | | −删除: reason instead of failing later with a bash error. |
| 465 | | −删除:- `--readonly` is applied before the runtime scripts run, not after. A |
| 466 | | −删除: `~/.agent-vm/runtime.sh` or `.agent-vm.runtime.sh` that writes into the project |
| 467 | | −删除: fails under the flag. |
| 468 | | −删除:- VM options are only read before the command or right after its name: |
| 469 | | −删除: `agent-vm run docker run --rm alpine` passes `--rm` to docker. It used to be |
| 470 | | −删除: taken as agent-vm's own `--rm`, which deleted the VM afterwards. |
| 471 | | −删除:- `destroy-all` says it deletes the base template too, and forgets it properly. |
| 472 | | −删除:- `agent-vm setup` asks before installing Lima with Homebrew, offering the |
| 473 | | −删除: build that keeps `.git` read-only first, and without a terminal prints the |
| 474 | | −删除: command instead. |
| 475 | | −删除:- The setup wizard is skipped when no terminal can be opened. It used to test |
| 476 | | −删除: `-r /dev/tty`, which is true in CI too. |
| 477 | | −删除:- `--cpus` and `--memory` are clamped to half the host (`AGENT_VM_HOST_SHARE` |
| 478 | | −删除: changes the divisor), with a notice. |
| 479 | | −删除:- Runtime scripts run under the shell their shebang names (bash, sh; zsh |
| 480 | | −删除: otherwise). |
| 481 | | −删除:- `agent-vm shell` rejects arguments it does not know instead of skipping them. |
| 482 | | −删除:- `setup` rejects `--reset` and `--readonly` instead of ignoring them, and |
| 483 | | −删除: the other commands that start no VM (`stop`, `status`, `env`…) reject |
| 484 | | −删除: every VM option: `agent-vm --readonly stop` read as if something had been |
| 485 | | −删除: made read-only. |
| 486 | | −删除:- The wizard's per-component prompts default Ruby, Rust and Go to no, like |
| 487 | | −删除: the default set. |
| 488 | | −删除:- The base VM is about 300 MB smaller and runs fewer daemons: apt no longer |
| 489 | | −删除: installs Recommends. Those brought in, through Chromium, printer |
| 490 | | −删除: configuration, Samba libraries, `avahi-daemon`, `upower` and Vulkan |
| 491 | | −删除: drivers. The recommended packages that are used (`docker-buildx-plugin`, |
| 492 | | −删除: `xauth`, `python3-dev`...) are installed by name, as is `pkgconf`, which |
| 493 | | −删除: mise builds use and which was only there with Go. |
| 494 | | −删除:- Node.js comes from the NodeSource repository configured directly, instead |
| 495 | | −删除: of running NodeSource's setup script as root, which also installed `gnupg`. |
| 496 | | −删除:- `fonts-dejavu-core` is installed with Chromium. With Liberation alone, pages |
| 497 | | −删除: asking for the generic `sans-serif` or `serif` rendered in Liberation Mono. |
| 498 | | −删除:- The base VM is created without Lima's containerd. Its unit shadowed Docker's |
| 499 | | −删除: `containerd.service`, and `docker` could not reach its daemon. Existing VMs |
| 500 | | −删除: keep it until `agent-vm setup` and `--reset`. |
| 501 | | −删除:- Every agent-vm command that uses a VM makes one `limactl shell` round trip |
| 502 | | −删除: fewer: the env push and the check that the project share is writable share |
| 503 | | −删除: one. |
| 504 | | −删除:- `setup` shows the creation and first start of the base VM (which downloads |
| 505 | | −删除: the Debian image) and the package install in a 10-line window that scrolls |
| 506 | | −删除: in place and is cleared when done. The full output goes to |
| 507 | | −删除: `~/.agent-vm/setup.log`, whose end is printed again if a step fails. Without |
| 508 | | −删除: a terminal, the output is printed as before. |
| 509 | | −删除:- `setup` opens on the wizard, agents first, and runs its security check |
| 510 | | −删除: (`.git` protection) last, before creating the VM. Its warnings are |
| 511 | | −删除: shorter, in a box fitted to the terminal, with the question right below. |
| 512 | | −删除: |
| 513 | | −删除:### Added |
| 514 | | −删除: |
| 515 | | −删除:- `--scratch`: a new VM with nothing of yours mounted, neither the project |
| 516 | | −删除: nor `~/.agent-vm/volumes`, deleted when the command ends, Ctrl-C included. |
| 517 | | −删除: On a terminal the deletion is asked first, yes by default: no opens a |
| 518 | | −删除: shell in the VM, to look at what the command left, and leaving it asks |
| 519 | | −删除: again. It has a name of its own (`agent-vm-<folder>-scratch-<random>`), so the |
| 520 | | −删除: folder's VM is left alone and several can run at once. The project's env |
| 521 | | −删除: file and runtime script stay out; `~/.agent-vm/env` and |
| 522 | | −删除: `~/.agent-vm/runtime.sh` go in. Sharing nothing, it asks none of the |
| 523 | | −删除: security questions and works on any Lima. A run killed outright leaves its |
| 524 | | −删除: VM recorded, and the next `--scratch` run deletes it; `doctor` lists it |
| 525 | | −删除: meanwhile. |
| 526 | | −删除:- `agent-vm env set KEY` and `project-env set KEY` without a value read it |
| 527 | | −删除: from stdin, or have you type it unseen: a value on the command line lands |
| 528 | | −删除: in the shell history and in `ps`. |
| 529 | | −删除:- `info` prints `git_protected=` (whether a start keeps `.git` read-only) |
| 530 | | −删除: and `security_questions=` (what a start would stop on: `lima`, |
| 531 | | −删除: `lima-unknown`, `hooks`, `git-config`, `bare-repo`, or `none`). |
| 532 | | −删除:- Windows, experimental, from Git Bash, with QEMU. `setup` offers to |
| 533 | | −删除: download a Lima build for Windows that keeps `.git` read-only (checked |
| 534 | | −删除: against checksums pinned in agent-vm, not the release's `SHA256SUMS`, and |
| 535 | | −删除: replaced when agent-vm moves to a newer one), |
| 536 | | −删除: finds winget's QEMU where it installs it, and explains a start that fails |
| 537 | | −删除: on WHPX: QEMU needs the "Windows Hypervisor Platform" feature, which only |
| 538 | | −删除: an administrator can turn on. Paths go to Lima in Windows form, with Git |
| 539 | | −删除: Bash's argument rewriting off for `limactl`. `install` writes a small |
| 540 | | −删除: launcher where Git Bash makes no symlinks. Runtime scripts and env files |
| 541 | | −删除: saved with CRLF reach the VM without the CRs. |
| 542 | | −删除:- Inside WSL, `setup` and `doctor` say when KVM is missing because of WSL1 or |
| 543 | | −删除: of nested virtualization on the Windows side. |
| 544 | | −删除:- An entry of `~/.agent-vm/volumes` can be limited to some projects with a |
| 545 | | −删除: fourth field, after an explicit mode: `source:destination:mode:project`, |
| 546 | | −删除: where `project` is a path, `~` expanded, and `*` matches anything |
| 547 | | −删除: (`~/.cache/pip:/home/you.guest/.cache/pip:rw:~/work/*`). An entry that |
| 548 | | −删除: does not read that way (an empty project, a project without a mode before |
| 549 | | −删除: it, a mode after it, more fields, a control character) is skipped with a |
| 550 | | −删除: warning rather than mounted in every project. Based on #30 by Manuel |
| 551 | | −删除: Raynaud. |
| 552 | | −删除:- A relative destination in `~/.agent-vm/volumes` is inside the project |
| 553 | | −删除: (`~/.claude-vm/webapp:.claude:ro:~/work/webapp`). The mount point is created in |
| 554 | | −删除: the project on the host when missing. One that leaves the project with `..` |
| 555 | | −删除: or goes through a symlink in it is skipped. It used to reach Lima as is, |
| 556 | | −删除: which refuses a relative mount point. |
| 557 | | −删除:- `--ssh-port N` gives a VM a fixed host port for SSH, for IDEs and GUI agents |
| 558 | | −删除: that save the port rather than an alias (#28). `0` goes back to a new port on |
| 559 | | −删除: each start. A port another agent-vm VM has is refused. `info` gains |
| 560 | | −删除: `ssh_host` and `ssh_config`: Lima's alias for the VM and the SSH config file |
| 561 | | −删除: it keeps current. [The website](https://www.agent-vm.org/#ssh-from-your-machine) |
| 562 | | −删除: has the `~/.ssh/config` lines to use them, which keep the host's SSH agent out |
| 563 | | −删除: of the VM. |
| 564 | | −删除:- `curl -fsSL https://www.agent-vm.org/install.sh | sh` installs the latest |
| 565 | | −删除: release, checked against its `SHA256SUMS`, in `~/.local/share/agent-vm`, and |
| 566 | | −删除: runs `agent-vm install`. Running it again updates. `--version X.Y.Z` picks a |
| 567 | | −删除: release, `--git` installs a clone instead. `version --min` now names the |
| 568 | | −删除: update command that fits the install: `git pull`, `brew upgrade` or the |
| 569 | | −删除: installer, with `--dir` when it is not in the installer's default place. |
| 570 | | −删除:- `agent-vm install` and `agent-vm uninstall` replace `install.sh`, which |
| 571 | | −删除: stays for now as a wrapper (`--uninstall` included). `uninstall` works from |
| 572 | | −删除: anywhere, not only from the clone, and `install` refuses a dangling link in |
| 573 | | −删除: the way instead of failing on it. When the base VM is not built yet, |
| 574 | | −删除: `install` offers to run `setup` right away. It no longer adds |
| 575 | | −删除: `source agent-vm.sh` to a shell rc: the command on `PATH` works from every |
| 576 | | −删除: shell, fish included, and an rc line left by an earlier install is named |
| 577 | | −删除: as no longer needed. |
| 578 | | −删除:- `agent-vm doctor`: read-only checks of the host, Lima, the base template and |
| 579 | | −删除: the current directory, with what to run about each problem. It also says |
| 580 | | −删除: whether Lima and the current directory's VM keep `.git` read-only, and |
| 581 | | −删除: whether git ignores repositories not named `.git`. |
| 582 | | −删除:- `sshfs` in the base packages, for the `reverse-sshfs` shares. |
| 583 | | −删除:- `agent-vm version --min X.Y.Z`, `agent-vm project-env`, |
| 584 | | −删除: `AGENT_VM_PROJECT_ENV`, `AGENT_VM_PROJECT_RUNTIME` and `AGENT_VM_STATE_DIR`, |
| 585 | | −删除: and `project_env=` / `state_dir=` in `agent-vm info`. |
| 586 | | −删除:- `test-e2e.sh`, which builds a real VM in a throwaway `LIMA_HOME` and checks |
| 587 | | −删除: that root in the guest cannot lift `--readonly`, nor write `.git` when Lima |
| 588 | | −删除: has `readonlyNames`. |
| 589 | | −删除:- `agent-vm pi` runs [Pi](https://pi.dev), opt-in at setup (`pi` in |
| 590 | | −删除: `--preinstall`, not in `default`). It pulls in `node`. Pi has no permission |
| 591 | | −删除: prompts, so it takes no flag; setup trusts a project's `.pi/` extensions and |
| 592 | | −删除: skills, which `pi -p` would skip otherwise. Pi has no MCP support, so the |
| 593 | | −删除: `mcp-*` servers are not wired into it. |
| 594 | | −删除:- Starting a VM prints when its base VM was built (`Base VM: built |
| 595 | | −删除: 2026-09-28`): its agents and packages are that old. |
| 596 | | −删除:- `list` adds a BASE column: the agent-vm version that built the base each |
| 597 | | −删除: VM was cloned from, and the day (`0.2.0 2026-09-28`). A base built before |
| 598 | | −删除: 0.2.0 shows `0.1.0`. It marks the current directory's VM with `>`, as |
| 599 | | −删除: `status` did: `status` is now the same command. |
| 600 | | −删除: |
| 601 | | −删除:### Fixed |
| 602 | | −删除: |
| 603 | | −删除:- With zsh, two or more files in `~/.agent-vm/volumes` no longer break the |
| 604 | | −删除: VM's shares: a variable of the loop was printed into the mounts config |
| 605 | | −删除: (agent-vm now runs under bash, see Changed). |
| 606 | | −删除:- `agent-vm run -i foo` (any command starting with `-`) runs it, instead of |
| 607 | | −删除: handing the option to `env` in the VM. |
| 608 | | −删除:- Sourced into a shell with `noclobber` (`set -C`), agent-vm rewrites its |
| 609 | | −删除: files: `env set` failed, and the record of a VM's shares kept its old |
| 610 | | −删除: value. |
| 611 | | −删除:- `env set KEY a b`, and `get`, `has`, `unset` or `list` with a word too |
| 612 | | −删除: many, are refused instead of keeping the first word. |
| 613 | | −删除:- `list` fails, saying so, when Lima cannot be queried, instead of printing |
| 614 | | −删除: "(no VMs)". |
| 615 | | −删除:- `info` and `name` refuse a directory whose name holds a control |
| 616 | | −删除: character: a newline added lines of its own to `info`'s output. |
| 617 | | −删除:- `setup` only marks the base ready once it has stopped: Lima cannot clone a |
| 618 | | −删除: running instance, so every new project VM failed after a stop that did not |
| 619 | | −删除: take. |
| 620 | | −删除:- `setup --disk`, `--memory` or `--cpus` without a value is one clear error, |
| 621 | | −删除: also under a caller's `set -u`. |
| 622 | | −删除:- The base setup script no longer loses its own lines to a command reading |
| 623 | | −删除: standard input (a dpkg prompt, an npm install script): it reaches bash on |
| 624 | | −删除: stdin, so such a command read the rest of the script, which never ran. |
| 625 | | −删除:- Creating a VM fails loudly, with Lima's message, when `limactl clone` or |
| 626 | | −删除: the edit that gives the VM its shares, memory, CPUs and SSH port fails, and |
| 627 | | −删除: the half-made VM is deleted so the next run starts over (#21). Both used to |
| 628 | | −删除: be silent: the VM then ran with the template's config, without the |
| 629 | | −删除: `~/.agent-vm/volumes` entries or the requested resources. |
| 630 | | −删除:- Symlinks to an absolute path or through `..` work again in `reverse-sshfs` |
| 631 | | −删除: shares, `node_modules/.bin` included (#22). Debian's sshfs security update |
| 632 | | −删除: (CVE-2026-47187) refuses them by default, with `EPERM`, to protect a client |
| 633 | | −删除: from a rogue server. Here the server is your host, so the base VM runs sshfs |
| 634 | | −删除: with `-o no_contain_symlinks`. Rebuild the base with `setup`, then `--reset` |
| 635 | | −删除: the project VMs. |
| 636 | | −删除:- VM names fall back to `sha256sum` when `shasum` is missing, and naming fails |
| 637 | | −删除: rather than dropping the hash (two projects with the same directory name |
| 638 | | −删除: would have shared one VM). |
| 639 | | −删除:- When an agent, a shell or `run` in the VM ends, the terminal's mouse |
| 640 | | −删除: tracking, focus reports, bracketed paste and keyboard modes are turned off. |
| 641 | | −删除: A program that did not restore them (a crash, a dropped connection) left |
| 642 | | −删除: the host shell typing escape sequences on every mouse move. The screen is |
| 643 | | −删除: not cleared. |
| 644 | | −删除:- `status` says "(no VMs)" when there are none. |
| 645 | | −删除:- A new VM prints its resources once instead of twice. |
| 646 | | −删除:- `destroy-all` no longer risks skipping VMs when `limactl` reads stdin. |
| 647 | | −删除:- Prompts no longer print a `/dev/tty` error when there is no terminal. |
| 648 | | −删除:- The VM's mise install uses `curl -f`, so an HTTP error fails setup instead of |
| 649 | | −删除: piping an error page into `sh`. |
| 650 | | −删除:- Version checks compare each component as a decimal number: `1.0.1000` no |
| 651 | | −删除: longer outranks `1.1.0`, and `08` is no longer an octal error. |
| 652 | | −删除:- `AGENT_VM_HOST_SHARE` that is not a positive integer falls back to 2 with a |
| 653 | | −删除: warning, instead of a division error or being evaluated as a variable name. |
| 654 | | −删除:- A shared env file without a final newline no longer merges its last line |
| 655 | | −删除: into the project env's first one. |
| 656 | | −删除:- Removing every env entry on the host now empties `~/.agent-vm.env` in the |
| 657 | | −删除: VM, instead of leaving the previous values there. |
| 658 | | −删除:- `env set` and `env unset` on a key holding a multi-line value remove all of |
| 659 | | −删除: it. They removed the first line only, leaving an unterminated quote that |
| 660 | | −删除: broke the file in the VM for every key after it. `unset` also removes an |
| 661 | | −删除: `export KEY=` line, and `list` no longer shows a line inside a value as a |
| 662 | | −删除: key. |
| 663 | | −删除:- `--reset`, `rm` and `destroy-all` fail, naming the VM, when Lima still |
| 664 | | −删除: lists it after the delete. `--reset` used to carry on with the old VM and |
| 665 | | −删除: the shares it was given, and `rm` to report it destroyed. |
| 666 | | −删除:- Behind a proxy, `sudo` in the VM keeps the proxy settings Lima copies from |
| 667 | | −删除: the host (`env_keep` in `/etc/sudoers.d/10-agent-vm-proxy`). Debian's sudo |
| 668 | | −删除: dropped them, so `setup` failed at its first `apt-get` (#25), and so did |
| 669 | | −删除: `sudo apt install` in the VMs. Rebuild the base with `setup`, then |
| 670 | | −删除: `--reset` the project VMs. |
| 671 | | −删除:- The VM's zsh keeps its history in `~/.zsh_history`, across sessions and |
| 672 | | −删除: restarts (#20); a command typed with a leading space is left out. New |
| 673 | | −删除: bases only: `setup`, then `--reset`. |
| 674 | | −删除:- `LIMA_HOME` is honoured when cleaning up an interrupted VM creation and in |
| 675 | | −删除: the log paths printed on a failed start. |
| 676 | | −删除:- A runtime script with an option in its shebang (`#!/bin/bash -e`, |
| 677 | | −删除: `#!/usr/bin/env -S bash -e`) runs under bash, not zsh. |
| 678 | | −删除: |
| 679 | | −删除:## 0.1.0 |
| 680 | | −删除: |
| 681 | | −删除:- `install.sh` puts `agent-vm` on the `PATH`, so other tools can call it. |
| 682 | | −删除:- New commands for integrators: `version`, `name`, `info`, `env`. |
| 683 | | −删除:- `mcp-chrome` and `mcp-playwright` in `--preinstall`. |