internal/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agentembed exposes the Go source files for the in-guest binaries clawk ships: clawk-pty-agent (PTY-backed shell sessions over vsock), clawk-init (PID 1 for OCI-image sandboxes), and clawk-time-sync.
Package agentembed exposes the Go source files for the in-guest binaries clawk ships: clawk-pty-agent (PTY-backed shell sessions over vsock), clawk-init (PID 1 for OCI-image sandboxes), and clawk-time-sync.
Package debug is a single-knob diagnostic gate.
Package debug is a single-knob diagnostic gate.
Package envspec parses and evaluates the entries of a clawk.mod `env ( … )` block — the small expression language that maps a guest-side environment variable to a host variable, a literal, or a host variable with a fallback.
Package envspec parses and evaluates the entries of a clawk.mod `env ( … )` block — the small expression language that maps a guest-side environment variable to a host variable, a literal, or a host variable with a fallback.
Package guestbuild cross-compiles the guest-side binaries (clawk-init, clawk-pty-agent, clawk-time-sync) on the host, for injection into OCI-image sandbox disks.
Package guestbuild cross-compiles the guest-side binaries (clawk-init, clawk-pty-agent, clawk-time-sync) on the host, for injection into OCI-image sandbox disks.
cmd/gen-prebuilt command
gen-prebuilt cross-compiles the in-guest binaries and writes them, with a manifest, into internal/agentembed/prebuilt/ for go:embed to pick up.
gen-prebuilt cross-compiles the in-guest binaries and writes them, with a manifest, into internal/agentembed/prebuilt/ for go:embed to pick up.
Package guestcfg defines the boot manifest consumed by clawk-init (the injected PID 1 of OCI-image sandboxes) and writes it as a raw config disk.
Package guestcfg defines the boot manifest consumed by clawk-init (the injected PID 1 of OCI-image sandboxes) and writes it as a raw config disk.
Package ninep serves a host directory to guest VMs over the 9p2000.L protocol, as a replacement for Apple's VZVirtioFileSystemDevice for the toolchain caches (internal/sandbox.ToolchainCacheShares).
Package ninep serves a host directory to guest VMs over the 9p2000.L protocol, as a replacement for Apple's VZVirtioFileSystemDevice for the toolchain caches (internal/sandbox.ToolchainCacheShares).
Package pr resolves PR state for a list of (repo, branch) pairs by shelling out to `gh`.
Package pr resolves PR state for a list of (repo, branch) pairs by shelling out to `gh`.
Package revfwd is the wire protocol for reverse port forwarding: host loopback services made reachable on the guest's own loopback.
Package revfwd is the wire protocol for reverse port forwarding: host loopback services made reachable on the guest's own loopback.
Firecracker provider (Linux).
Firecracker provider (Linux).
Package serialfwd is the wire protocol for serial forwarding: a physical serial port on the host presented as a PTY inside the guest.
Package serialfwd is the wire protocol for serial forwarding: a physical serial port on the host presented as a PTY inside the guest.
Package serialport opens and configures a physical serial port on the host.
Package serialport opens and configures a physical serial port on the host.
Package sessions models a coding agent's Claude Code conversation history as a git repository so it survives VM recreates and follows a project across sandboxes.
Package sessions models a coding agent's Claude Code conversation history as a git repository so it survives VM recreates and follows a project across sandboxes.
Package template implements clawk's resource file language.
Package template implements clawk's resource file language.
Package vsockclient is the Mac-side end of the vsock PTY transport.
Package vsockclient is the Mac-side end of the vsock PTY transport.
Package vsockproto is the framed wire protocol shared by the Mac-side client (internal/vsockclient) and the in-guest agent (cmd/clawk-pty-agent).
Package vsockproto is the framed wire protocol shared by the Mac-side client (internal/vsockclient) and the in-guest agent (cmd/clawk-pty-agent).
Package vzdctl is the control channel between the clawk CLI and a running vzd daemon: a tiny HTTP API served over a unix socket in the sandbox's VM dir.
Package vzdctl is the control channel between the clawk CLI and a running vzd daemon: a tiny HTTP API served over a unix socket in the sandbox's VM dir.

Jump to

Keyboard shortcuts

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