internal/

directory
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT

Directories

Path Synopsis
Package bashref gives the results of the bash implementation (0.2's agent-vm.sh and lib/), for tests that compare the Go code with it.
Package bashref gives the results of the bash implementation (0.2's agent-vm.sh and lib/), for tests that compare the Go code with it.
Package cli is agent-vm's command line.
Package cli is agent-vm's command line.
Package desktop reaches the user out of any terminal: notifications and yes/no dialogs, where the desktop has a way (osascript on macOS; notify-send, zenity or kdialog on Linux).
Package desktop reaches the user out of any terminal: notifications and yes/no dialogs, where the desktop has a way (osascript on macOS; notify-send, zenity or kdialog on Linux).
Package env reads and writes agent-vm's env files, ~/.agent-vm/env and a project's .agent-vm.env, which the VM's shell sources: without ever running a shell on the host, since the VM can write the project's.
Package env reads and writes agent-vm's env files, ~/.agent-vm/env and a project's .agent-vm.env, which the VM's shell sources: without ever running a shell on the host, since the VM can write the project's.
Package gitguard finds what git on this machine runs, or reads, from the folders a VM can write: hooks, and commands its config names.
Package gitguard finds what git on this machine runs, or reads, from the folders a VM can write: hooks, and commands its config names.
Package gitx runs git on this machine in folders the VM can write.
Package gitx runs git on this machine in folders the VM can write.
Package guard asks the user before the VM changes a file their machine runs on its own (direnv's .envrc when they enter the folder, the editor's tasks, git hooks' config): the shares' SFTP server calls Allow before each write (sshocker's Guard), in the hostagent.
Package guard asks the user before the VM changes a file their machine runs on its own (direnv's .envrc when they enter the folder, the editor's tasks, git hooks' config): the shares' SFTP server calls Allow before each write (sshocker's Guard), in the hostagent.
Package host is what this machine can give a VM.
Package host is what this machine can give a VM.
Package limaembed runs what Lima's libraries expect of limactl: they start the current executable again for some commands (`hostagent`, from instance.Start), and look for the guest agent and the templates next to it.
Package limaembed runs what Lima's libraries expect of limactl: they start the current executable again for some commands (`hostagent`, from instance.Start), and look for the guest agent and the templates next to it.
Package mounts is what a project's VM is given of this machine: the project, and the entries of ~/.agent-vm/volumes, each checked first.
Package mounts is what a project's VM is given of this machine: the project, and the entries of ~/.agent-vm/volumes, each checked first.
Package netguard decides what a VM may reach on the network: the internet, never this machine, its local networks or the other VMs (through this machine's loopback, where their ports are forwarded), unless the user allows it in ~/.agent-vm/network.
Package netguard decides what a VM may reach on the network: the internet, never this machine, its local networks or the other VMs (through this machine's loopback, where their ports are forwarded), unless the user allows it in ~/.agent-vm/network.
Package paths compares and joins host paths as agent-vm's checks need: textually, as `cd` does, and whatever the case where the file system ignores it.
Package paths compares and joins host paths as agent-vm's checks need: textually, as `cd` does, and whatever the case where the file system ignores it.
Package runscript is the runtime scripts: ~/.agent-vm/runtime.sh and a project's .agent-vm.runtime.sh, run in the VM on every command that enters it, under the shell their shebang names.
Package runscript is the runtime scripts: ~/.agent-vm/runtime.sh and a project's .agent-vm.runtime.sh, run in the VM on every command that enters it, under the shell their shebang names.
Package state is agent-vm's folder, ~/.agent-vm (AGENT_VM_STATE_DIR): the user's files (env, volumes, runtime.sh, setup.sh) and agent-vm's markers, one file per VM and fact, named as 0.2 named them.
Package state is agent-vm's folder, ~/.agent-vm (AGENT_VM_STATE_DIR): the user's files (env, volumes, runtime.sh, setup.sh) and agent-vm's markers, one file per VM and fact, named as 0.2 named them.
Package ui asks questions on the terminal and prints agent-vm's boxed notices, as 0.2's lib/ui.sh did.
Package ui asks questions on the terminal and prints agent-vm's boxed notices, as 0.2's lib/ui.sh did.
Package version is agent-vm's semantic version.
Package version is agent-vm's semantic version.
vm
Copied from third_party/lima/cmd/limactl: the drivers limactl has.
Copied from third_party/lima/cmd/limactl: the drivers limactl has.
vmtest
Package vmtest is a vm.Backend for tests: VMs in memory, every call recorded.
Package vmtest is a vm.Backend for tests: VMs in memory, every call recorded.
Package vmname names the VM of a project directory, as 0.2 did but for its prefix: the VMs it made are moved under those names (FromOld).
Package vmname names the VM of a project directory, as 0.2 did but for its prefix: the VMs it made are moved under those names (FromOld).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL