Releases: joshuaisaact/hearth
Kernel: bzImage 5.10.245
Pre-built 5.10.245 bzImage for x86_64. Built from Firecracker CI kernel config with CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y. Required for snapshot restore (ELF vmlinux breaks resume from HLT).
Agent v0.3.0 — Fix interactive PTY stdin
Fix interactive PTY stdin not working (e.g. hearth shell, interactive spawn()).
Root cause: Firecracker's virtio-vsock doesn't reliably trigger POLLIN in the guest kernel. The agent's interactive poll loop used poll() on both the PTY master and vsock socket, but poll() never reported the vsock as readable — even when data was waiting.
Fix: Set the vsock socket to O_NONBLOCK during the interactive poll loop. Poll only the PTY master (where poll() works correctly). Try a non-blocking read() on the vsock every 50ms iteration.
Also includes WebSocket transport support in the daemon (not agent-specific, but shipped in the same commit).