Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:02
· 47 commits to main since this release
fc02cdd

Added

  • Audit of boots that ended on their own: boundary.guest_computer_use
    and boundary.live_view were recorded only when iso stop stopped a
    running instance, so a boot ended by session expiry, guest poweroff, an
    owner crash or a failed stop left no record. A display or macOS owner now
    writes its changed counts to the sandbox's boot-counts.json every 30 s
    and when it stops, inspect lists ended boots as endedBoots, and the
    next iso command that inspects the instance records each boot once
    (audit).

  • Linux desktop images: a built-in desktop profile (Xorg, openbox
    and fonts from Ubuntu, Firefox alone from Mozilla's pinned apt repository) whose
    instances get a virtio-gpu display and a USB keyboard and pointer, and
    boot a second, separately pinned kernel built by
    scripts/build-desktop-kernel.sh. Releases now carry that kernel
    (vmlinux-desktop) and iso-cu-mcp, the guest MCP server built with the
    Swift Static Linux SDK, and install them beside iso-sandbox;
    apple_container.desktop_kernel overrides the kernel. The host drives them with
    iso-sandbox cu (frames read from the VM view's framebuffer surface,
    input, wait, hold, the live view), and computer_use.guest_access
    now also gives their agents the iso-cu MCP server over vsock 7802. The
    runtime adds init --desktop-kernel, create --display virtio and the
    linux-display feature; the isolation gate checks a display instance's
    display, scanout and vsock ports, and headless instances are unchanged
    (design). iso stop audits a
    desktop instance's guest computer use and live view as it does a macOS
    guest's. scripts/build-iso-sandbox.sh skips iso-cu-mcp, with a
    warning, on a host without the swift.org toolchain or the Static Linux
    SDK (--require-cu-mcp fails instead).

  • Agent skill: skills/iso/, an Agent Skill for a host coding agent to
    operate iso through --output json, with staged returns and no credential
    handling (docs/agent-skill.md). Release archives carry
    it, INSTALL_SKILL=1 install.sh installs it into ~/.claude/skills and
    ~/.agents/skills (SKILL_DIRS overrides), and this repository links it as
    .agents/skills/iso.

  • Computer use, screen sync: macOS frames and actions report a per-boot
    damageSeq, and a new wait operation (guest vsock 7802 and
    iso-sandbox macos cu wait) returns once the display, or a region of it,
    has been quiet for idleMs (settled, unchanged or timedOut). The
    guest iso-cu MCP server's input tools settle by default
    (settle_ms, 250 ms; 0 turns it off), and a new wait_for_screen tool
    waits and then takes one screenshot. The owner samples the display only on
    frames, before actions and while a wait runs; one wait runs per sandbox,
    for at most 30 s, and a host hold ends a guest's wait. The boundary audit
    adds waits and wait_outcomes to boundary.guest_computer_use
    (design).

  • Computer use, live view: iso-sandbox macos cu stream <name> starts an
    opt-in browser view of a macOS guest and prints a
    http://127.0.0.1:<port>/#<token> URL; --stop ends it, as do 60 s with
    no viewer and the VM beginning to stop, however that was asked. The owner encodes the display to H.264 with
    VideoToolbox only while a viewer is connected, and the embedded page
    decodes it with WebCodecs. Take control takes the host hold (ending
    the guest's session), each input extends it to 60 s, and held keys are
    released on release or disconnect; a paste (at most 2000 characters) ends
    with its viewer's control. This adds a host loopback listener,
    gated by a 256-bit token and exact Host and Origin checks, whose
    messages are flat, rate limited (pings included) and refused unparsed
    when nested, and whose per-viewer queue is bounded; inspect
    reports liveViewListening and the audit records boundary.live_view
    counts. The stream is Constrained Baseline with a low-delay SPS, so
    browser hardware decoders show each frame as it arrives
    (design).

  • Computer use, frames: the owner renders the guest display straight at
    framebuffer pixels instead of at the window's 2× backing and scaling
    down, cutting a frame or damage sample from ~75 ms to ~6 ms on a Retina
    host.

Changed

  • Update: install.sh and iso update remove an installed
    iso-cu-mcp or vmlinux-desktop that the release being installed does
    not carry. After updating from v0.9.0 or earlier, run iso update --force
    once so the new updater installs the desktop guest files.
  • Guest computer use: a request line nested deeper than a request can
    be is refused before it is parsed.
  • Release builds: the release and candidate workflows build the desktop
    kernel in a job on an arm64 Linux runner, because GitHub's hosted macOS
    runners cannot start Apple container's build VM (the candidate workflow
    failed there). scripts/build-desktop-kernel.sh takes --engine container|docker and --pinned, and scripts/build-release.py --desktop-kernel DIR uses a kernel built earlier after checking it and
    its source tarball against the pins.
  • Apple runtime: the owner of a Linux display sandbox refuses to boot
    if it was started without the AppKit loop that renders the display,
    rather than run a VM whose frames never arrive. The guest computer-use
    and live-view listeners now log how many refusals a minute's limit
    dropped, as the guest-helper listener does. The computer-use sources
    shared by macOS and Linux owners moved to
    iso-sandbox/Sources/IsoSandboxCore/ComputerUse/.
  • Apple runtime: iso-sandbox links apple/containerization 0.54.0 (was
    0.45.0) and pins vminit:0.54.0 by digest; the host qualifies only
    containerization 0.54.0. The runtime keys its init filesystem by
    containerization release (initfs-<version>.ext4), so the next iso setup
    pulls and verifies the new init image and removes the old one. Linux VMs
    keep the 0.45.0 sizing (requested vCPUs plus one, requested memory plus
    128 MiB): 0.54.0 sizes the VM separately and would otherwise boot every
    VM at its 4 vCPU / 1 GiB default.
  • Dependencies: swift-crypto 5.0.3, swift-nio 2.104.0, swift-nio-ssl
    2.37.5, and updated GitHub Actions pins.