{"modulePath":"github.com/css521/agentenv","version":"v0.4.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/css521/agentenv","name":"main","synopsis":"Command agentenv is a self-hostable, rewindable virtual environment for agents: it auto-snapshots the environment, rolls back to any node, and branches so an agent can explore several approaches and keep the winner.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/api","name":"api","synopsis":"Package api serves a small newline-delimited JSON protocol over a unix socket, so an agent harness can drive the environment programmatically (run commands, branch, roll back) and get structured results — including the snapshot node id produced by each command, which it can later checkout or branch from.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/backend","name":"backend","synopsis":"Package backend abstracts the two environment-specific concerns — how to run a command in a rootfs (Runner) and how to snapshot/restore that rootfs (Snapshotter) — behind interfaces, so the orchestration layer (DAG, capture, retention, serve/watch) is identical everywhere.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/btrfs","name":"btrfs","synopsis":"Package btrfs wraps btrfs subvolume/snapshot operations (cgo).","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/cli","name":"cli","synopsis":"Package cli implements the agentenv command-line interface — the command registry, one-shot handlers (commands.go), long-running modes (session.go), the out-of-band socket client (ctl.go), and shared helpers (cli.go).","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/daemonclient","name":"daemonclient","synopsis":"Package daemonclient is the in-process client for the agentenv daemon's newline-delimited JSON API (see internal/protocol).","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/dag","name":"dag","synopsis":"Package dag maintains the commit-DAG of environment snapshots.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/image","name":"image","synopsis":"Package image extracts a rootfs into a destination directory.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/mcp","name":"mcp","synopsis":"Package mcp implements an MCP (Model Context Protocol) server that bridges Claude Code (and any other MCP host) to a running `agentenv daemon`.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/protocol","name":"protocol","synopsis":"Package protocol defines the wire types for the agentenv daemon's newline-delimited JSON API.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/repo","name":"repo","synopsis":"Package repo This file defines the agentenv-specific archive (\"bundle\") format used by `agentenv export --format agentenv` / `agentenv import`.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/sandbox","name":"sandbox","synopsis":"Package sandbox runs a real binary inside a given rootfs using Linux namespaces + pivot_root, implemented directly on golang.org/x/sys/unix (no libcontainer / runc dependency).","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/upgrade","name":"upgrade","synopsis":"Package upgrade implements agentenv's zero-downtime self-upgrade: a daemon polls a release source, verifies a newer build, and hot-swaps its own binary via an in-place execve that preserves the repo flock, the listening sockets, and — crucially — every running agent child process.","isRedistributable":true},{"path":"github.com/css521/agentenv/internal/watch","name":"watch","synopsis":"Package watch provides an unprivileged, recursive inotify watcher used to detect changes to the working rootfs without polling/walking the whole tree (which is expensive on network filesystems).","isRedistributable":true}],"total":14}}
