Skip to content

Releases

kido 0.6.0

Choose a tag to compare

@cocoa-xu cocoa-xu released this 28 Nov 18:13

Highlights

  • Instant container snapshot and fork (kido snapshot, kido fork): Checkpoint running KidoDarwin micro-VMs and fork isolated clones in milliseconds (138 ms snapshot, 265 ms fork on Apple M5 Max) across both macOS Virtualization.framework and ARM64 Linux KVM (MAP_PRIVATE CoW RAM and KIDOCOW1 block overlay).
  • Hardware-timestamp GPU profiling (kido trace --gpu, --gpu-trace): Record zero-overhead-when-disabled GPU execution timelines on both macOS (MTLCommandBuffer.GPUStartTime / GPUEndTime) and Linux (vendor-agnostic kmtl_proto interception), export directly to Perfetto (https://ui.perfetto.dev) with host-to-GPU flow arrows and shader compile spans, and inspect top kernels in the terminal with kido trace summary.
  • Agnostic drop-in Metal worker plugin system: Discover and probe external GPU workers via metal-workers.d/*.json manifests (--probe, --gpu-worker, KIDO_METAL_WORKER) with a documented wire contract in docs/metal-worker-protocol.md. kido-vk-worker now consumes the standalone Apache-2.0 kido-sh/air2 compiler via its versioned C99 ABI with VK_KHR_cooperative_matrix probing and real device maxComputeSharedMemorySize propagation.
  • TUF two-tier root trust for kl (kl.kido.sh): Added fail-closed 2-of-3 offline root key rotation and release-key revocation (kl key status, kl-repo root-{init,rotate,verify}) with zero new Cargo dependencies. The updated KidoDarwin 26.5 base image ships /etc/kl/root.1.json and enables root_bootstrap out of the box, with 12 zero-GPL native system library packages live on https://kl.kido.sh (Wave 1 + Wave 2: libxslt, libarchive, libpcre2, libpcre, libpcap, libxar, libpam).
  • KidoDarwin 26.5 (25F74) base image polish: Bundled the TUF-enabled /usr/bin/kl and /etc/kl/root.1.json, updated libz.1.dylib to 1.2.12 with compatibility symlinks, added libbz2.1.0.8.dylib and 7 legacy libSystem.B.dylib compatibility symlinks, and set libicucore.A.dylib compatibility/current versions (1.0.0 / 78.1.0).
  • Browser playground (https://play.kido.sh): Added in-browser live LZ4 snapshots, restore, and 50/50 split-screen Instant Fork (347 ms) alongside WebGPU Metal 3 compute powered by kido-sh/air2.

Upgrade

kido upgrade

Or with Homebrew on macOS:

brew upgrade kido

Pull the updated KidoDarwin 26.5 base image with 2-of-3 TUF kl root trust pre-installed:

kido pull darwin

kido 0.5.0

Choose a tag to compare

@cocoa-xu cocoa-xu released this 28 Nov 13:46

Highlights

  • kl system package manager (kl.kido.sh): KidoDarwin now ships /usr/bin/kl and /etc/kl.conf in the ~30 MB base image with Cocoa's embedded Ed25519 release signing key. Run kl update && kl add standard swift-runtime inside any container to install verified, zero-GPL native Darwin libraries and runtimes (python3 3.13.14, open-source swift-runtime 5.10.1, libxml2 2.15.3, libffi 3.5.2) for both portable arm64 and Apple Silicon arm64e.
  • Native VirtIO-FS and live file notifications on ARM64 Linux: -v host:guest live bind mounts and host-to-guest inotify live notifications now work natively in kido-vmm on ARM64 Linux KVM, matching the macOS Virtualization.framework experience.
  • Metal 3 compute GPU improvements: Concurrent compute dispatch fixes, AIR-to-SPIR-V LLM kernel support, ARM64 coherency sync optimizations, and clean guest client teardown across both macOS and ARM64 Linux Vulkan hosts.
  • KidoDarwin 26.5 (25F74) base image upgrades:
    • Upgraded libresolv.9.dylib to Apple OSS libresolv-96, exporting all 155/155 macOS 27.2 symbols on both arm64 and arm64e.
    • Added VirtioMetal kext, Metal.framework (IOAccelerator in IORegistry), clean-room Apache-2.0 libxcselect.dylib, /usr/bin/curl, and LibreSSL CLI tools.
    • Published reproducible SPDX 2.3 SBOM (sbom.spdx.json) alongside the OCI image.
  • Browser playground: Boot unmodified arm64 Darwin (XNU) with Metal 3 compute on WebGPU directly in Chrome and Safari at https://play.kido.sh (kido-sh/kido-wasm).

Upgrade

kido upgrade

Or with Homebrew on macOS:

brew upgrade kido

Pull the updated KidoDarwin 26.5 base image with /usr/bin/kl:

kido pull darwin

kido 0.4.0

Choose a tag to compare

@cocoa-xu cocoa-xu released this 28 Nov 05:08
  • Metal GPU compute passthrough (--gpu):
    • macOS 27+ hosts: zero-copy virtio-metal passthrough to host Metal.framework over a shared PCIe BAR4 memory window.
    • ARM64 Linux hosts: process-isolated kido-vk-worker Vulkan compute backend featuring a 4-slot async command pipeline, 64-bit hardware timestamps, Tier-1 udmabuf and Tier-2 VK_EXT_external_memory_host zero-copy imports, automatic hardware DMA coherency detection, KVM dirty-log PoC cache sync for non-coherent SoCs, GICv2 fallback for Raspberry Pi 5, and sandboxed LLVM AIR .metallib translation. Verified on RK3588 (Mali-G610 MC4, PanVK) and Raspberry Pi 5 (V3D 7.1, V3DV).
  • ARM64 Linux hardware probe (kido probe / kido-probe):
    • New 67 KB zero-Vulkan-link-dependency probe utility shipped in libexec/kido/kido-probe and as a standalone kido-probe-0.4.0-linux-arm64 asset (GLIBC_2.34+). Inspects CPU big.LITTLE topology, /dev/kvm, GICv2/GICv3, Vulkan compute limits, zero-copy memory tiers, and live DMA coherency, with --json output matching the kido.sh Linux hardware docs schema.
  • Multi-stage Kidofile builds:
    • kido build now supports multi-stage FROM ... AS <stage>, COPY --from=<stage>, and --target <stage>.

Upgrade on macOS with kido upgrade or brew upgrade kido. On ARM64 Linux, install or upgrade from v0.3.0 with curl -fsSL https://kido.sh/install.sh | sh (this picks up kido-probe; kido upgrade supports kido-probe and kido-vk-worker starting in v0.4.0).

kido 0.3.0

Choose a tag to compare

@cocoa-xu cocoa-xu released this 27 Nov 18:47
  • Native ARM64 Linux support with zero QEMU required: kido now ships a built-in Rust KVM micro-VMM (kido-vmm, ~700 KiB static binary) with VirtIO PCI block and network devices, userspace NAT and port forwarding, RK3588 big.LITTLE performance-core pinning, and a sparse block-level copy-on-write overlay for fast container creation on ext4. Set KIDO_BACKEND=qemu to use QEMU instead.
  • Native Rust guest agent (kido-agent, 431 KiB in the Darwin image): replaces the Go guest agent inside KidoDarwin with full protocol parity, ARMv8 AES and PMULL hardware acceleration, lower memory footprint, and faster boot.
  • kido build now uses Kidofile and .kidoignore by default, and kido push and kido save use best zstd compression.
  • Smaller Darwin base image (ghcr.io/kido-sh/darwin, ~30 MB download): compressed with zstd ultra level 22 and adds EL0 emulation for ARMv8.2 hosts (FEAT_LRCPC2, FLAGM, FLAGM2, SB) so Apple arm64 binaries run cleanly on RK3588 and other ARMv8.2-A Linux boards. Published under latest, 26, 26.5, and 26.5-20261128.

Upgrade on macOS with kido upgrade or brew upgrade kido, or install on macOS arm64 and ARM64 Linux with curl -fsSL https://kido.sh/install.sh | sh, then run kido pull darwin.

kido 0.2.0

Choose a tag to compare

@cocoa-xu cocoa-xu released this 27 Nov 03:58
  • Live mounts, in beta: -v mounts a directory live on the default Virtualization.framework backend. What the container writes reaches the Mac as it writes it, changes made on the Mac show up in the container within about a second, and :ro is enforced by the Mac. Live mounts need the Darwin image below, so run kido pull darwin after upgrading. --copy-mounts on kido run and kido create copies a container's directories in and back instead, as before, and kido inspect lists each mount with its mode, live or copy. Containers created before keep copying their mounts, and so do mounts of single files, the QEMU backend and images without the virtio-fs client. The Mounts section of docs/usage.md has the details.
  • kido run -d and kido create take --restart always, unless-stopped or on-failure[:max-retries]. The container restarts when its main process exits or its VM dies, after one second, then twice as long each time up to a minute, and the wait starts over after a run of ten seconds. kido stop and kido kill end the restarts until the next kido start. Containers do not come back by themselves after the Mac restarts yet.

The Darwin image ghcr.io/kido-sh/darwin:26.5 now has a virtio-fs client, which live mounts use, and mount(8) takes the noatime option. Three kernel fixes keep a store through a writable file mapping from being lost when msync(2), fsync(2) or page-out cleans the page at the same moment.

Upgrade with kido upgrade, or with brew upgrade kido, then run kido pull darwin.

kido 0.1.1

Choose a tag to compare

@cocoa-xu cocoa-xu released this 24 Nov 00:53
  • -p HOST:GUEST/udp now works on the default Virtualization.framework backend.
  • An image name without a registry comes from ghcr.io, and one without a namespace from kido-sh there. kido run darwin now works without kido setup, and kido login without a server logs in to ghcr.io.
  • kido doctor calls its registry check Credentials, and it says where your credentials come from.
  • Pull and push errors name the full remote they tried.

The Darwin image ghcr.io/kido-sh/darwin:26.5 now has libcurl, libedit and ncurses, as macOS has them in /usr/lib. python.org's Python gets line editing and curses, and CMake and cargo can download over HTTPS. Containers also pick random TCP source ports, so a restarted container no longer collides with its old connections.

Upgrade with kido upgrade, or with brew upgrade kido.

kido 0.1.0

Choose a tag to compare

@cocoa-xu cocoa-xu released this 23 Nov 17:22

The first release of kido.

curl -fsSL https://kido.sh/install.sh | sh

Or with Homebrew: brew install kido-sh/tap/kido, then kido setup.

  • Each container is a small Darwin VM. kido runs it with Apple's Virtualization.framework by default. KIDO_BACKEND=qemu runs it with QEMU instead.
  • kido setup pulls the Darwin image, ghcr.io/kido-sh/darwin.
  • kido upgrade installs later releases. Homebrew users run brew upgrade kido instead.
  • SHA256SUMS is signed with the kido release key. install.sh and kido upgrade install nothing without that signature. docs/security.md shows how to check it by hand.