internal/

directory
v0.0.0-...-73ddf49 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT

Directories

Path Synopsis
Package config loads mdev's two configuration files:
Package config loads mdev's two configuration files:
guest
process
Package process spawns and tracks the sandbox's local workload processes inside the supervisor's container.
Package process spawns and tracks the sandbox's local workload processes inside the supervisor's container.
host
controller
Package controller is the per-sandbox reconciliation loop that converges desired state (parsed mdev.yaml on disk) toward observed state (the tunnel session's currently-registered routes + the supervisor's actually-spawned workloads).
Package controller is the per-sandbox reconciliation loop that converges desired state (parsed mdev.yaml on disk) toward observed state (the tunnel session's currently-registered routes + the supervisor's actually-spawned workloads).
daemon
Package daemon is the mdev host control plane.
Package daemon is the mdev host control plane.
runtime
Package runtime is mdev's compute-backend seam: the contract every sandbox backend (Docker, Kubernetes, a cloud VM provider like Hetzner, …) satisfies.
Package runtime is mdev's compute-backend seam: the contract every sandbox backend (Docker, Kubernetes, a cloud VM provider like Hetzner, …) satisfies.
runtime/docker
Package docker is the local-Docker backend: a runtime.Compute (per-sandbox network + the main toolchain container the supervisor runs in, delivered via `docker cp` + `docker exec`) and a runtime.Backing (the compose engine).
Package docker is the local-Docker backend: a runtime.Compute (per-sandbox network + the main toolchain container the supervisor runs in, delivered via `docker cp` + `docker exec`) and a runtime.Backing (the compose engine).
runtime/k8s
Package k8s is the Kubernetes backend: a runtime.Compute (namespace + token Secret + a main Pod whose init container seeds the supervisor into a shared volume) and a runtime.Backing (apply the sandbox's manifests).
Package k8s is the Kubernetes backend: a runtime.Compute (namespace + token Secret + a main Pod whose init container seeds the supervisor into a shared volume) and a runtime.Backing (apply the sandbox's manifests).
sandboxmcp
Package sandboxmcp serves the sandbox-management MCP tools mdev exposes to Claude on the host: sandbox_up, sandbox_down, sandbox_exec, sandbox_status, sandbox_events.
Package sandboxmcp serves the sandbox-management MCP tools mdev exposes to Claude on the host: sandbox_up, sandbox_down, sandbox_exec, sandbox_status, sandbox_events.
Package version carries build metadata stamped in at link time via -ldflags -X (see the CD workflow and Dockerfile).
Package version carries build metadata stamped in at link time via -ldflags -X (see the CD workflow and Dockerfile).
Package wire is the shared contract between the host daemon and the in-sandbox supervisor: the Authorization scheme and the resolved domain types (Workload, Remote) that cross the tunnel.
Package wire is the shared contract between the host daemon and the in-sandbox supervisor: the Authorization scheme and the resolved domain types (Workload, Remote) that cross the tunnel.
filesync
Package filesync is mdev's one-way file sync: a Sender streams a host worktree to a Receiver that applies it to the sandbox's workspace.
Package filesync is mdev's one-way file sync: a Sender streams a host worktree to a Receiver that applies it to the sandbox's workspace.
tunnel
Package tunnel is the wire between the host daemon and the in-sandbox supervisor.
Package tunnel is the wire between the host daemon and the in-sandbox supervisor.

Jump to

Keyboard shortcuts

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