feat: support extra host mounts via ~/.agent-vm/volumes#9
feat: support extra host mounts via ~/.agent-vm/volumes#9jbpenrath wants to merge 1 commit intosylvinus:mainfrom
Conversation
bdce1e3 to
30ffa42
Compare
|
good idea, would be cool to support write volumes too? |
If mount points are stored in the project folder, the AI could modify writable mount points, which I think poses a security risk. But we absolutely need this feature !!! |
12ad1dc to
21edc59
Compare
|
I tried to complete this work. Furthermore like docker compose, for folder only, you can suffix volume entry by |
Lets users expose host configuration (e.g. ~/.gitconfig) inside every VM without widening the write surface of the project mount. Files are hardlinked into a per-VM staging dir so the VM never sees the source's parent directory, and bind-mounted at their final path inside the VM. Read-only by default; directories and individual files are both supported, and directories can opt into rw via a trailing ":rw" mode (docker-compose style). Files are kept ro because the hardlink/copy staging would desync silently on cross-filesystem setups.
21edc59 to
838d85a
Compare
Read-only would allow claude code to read its global skills and all which would already be great, but it would prevent claude code to write memories in |
Allow to mount extra folders. It can be useful, to mount global claude configuration or a git config for example.