VmConfig
Defined in: types.ts:56
Per-agent VM settings, valid only when the agent resolves to runtime: vm.
Sizes are normalised at parse time (memory: 8GiB → memory_mib: 8192).
Mounts and sizes are fixed when the machine is created; changing them
recreates the machine. [ZOD109]
Properties
image?
optionalimage?:string
Defined in: types.ts:58
OCI image booted as the microVM. Defaults to the preset’s image.
cpus?
optionalcpus?:number
Defined in: types.ts:59
memory_mib?
optionalmemory_mib?:number
Defined in: types.ts:60
disk_gib?
optionaldisk_gib?:number
Defined in: types.ts:61
allow_hosts?
optionalallow_hosts?:string[]
Defined in: types.ts:63
Hosts the guest may reach. Absent means no network at all. [ZOD128]
env?
optionalenv?:Record<string,string>
Defined in: types.ts:65
Env for the agent’s ACP process in the guest. Same rules as container.env.
mounts?
optionalmounts?:MountConfig[]
Defined in: types.ts:71
Host directories mounted into the guest, beyond the read-only workdir.
Same entries as container.mounts, minus id. Directories only: smolvm
can’t mount a single file. A credential mounted here is readable by the guest.