Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hive
command
Command hive is the CLI.
|
Command hive is the CLI. |
|
Package distribution holds data files shipped inside the hive binary.
|
Package distribution holds data files shipped inside the hive binary. |
|
examples
|
|
|
fanout-reviewer
command
Command fanout-reviewer asks one agent per directory to review it, all in parallel, each in its own worktree, and prints what each one found.
|
Command fanout-reviewer asks one agent per directory to review it, all in parallel, each in its own worktree, and prints what each one found. |
|
test-fixer
command
Command test-fixer runs a Go module's tests and sends one agent at each failing package, in its own worktree, to make it pass.
|
Command test-fixer runs a Go module's tests and sends one agent at each failing package, in its own worktree, to make it pass. |
|
internal
|
|
|
agent
Package agent reads what coding agents are doing from their terminals.
|
Package agent reads what coding agents are doing from their terminals. |
|
apisurface
Package apisurface checks Hive's public surfaces against their frozen copies in api/v1: the wire API, the CLI, the configuration keys and the Go SDK.
|
Package apisurface checks Hive's public surfaces against their frozen copies in api/v1: the wire API, the CLI, the configuration keys and the Go SDK. |
|
buildinfo
Package buildinfo reports which build of Hive is running.
|
Package buildinfo reports which build of Hive is running. |
|
client
Package client talks to a running Hive daemon over its unix socket.
|
Package client talks to a running Hive daemon over its unix socket. |
|
config
Package config loads Hive's user configuration: a TOML file at ~/.config/hive/config.toml (or $XDG_CONFIG_HOME/hive/config.toml, or $HIVE_CONFIG).
|
Package config loads Hive's user configuration: a TOML file at ~/.config/hive/config.toml (or $XDG_CONFIG_HOME/hive/config.toml, or $HIVE_CONFIG). |
|
daemonctl
Package daemonctl starts and installs the Hive daemon from the client side: launching it detached from the terminal (autostart), and installing it as a per-user launchd agent (macOS) or systemd user service (Linux) so it starts at login and is restarted if it crashes.
|
Package daemonctl starts and installs the Hive daemon from the client side: launching it detached from the terminal (autostart), and installing it as a per-user launchd agent (macOS) or systemd user service (Linux) so it starts at login and is restarted if it crashes. |
|
environment
Package environment manages workspaces: the long-lived directories agents run in.
|
Package environment manages workspaces: the long-lived directories agents run in. |
|
event
Package event is the daemon's event bus.
|
Package event is the daemon's event bus. |
|
git
Package git reads repository state for environments (branch, ahead and behind, dirty files) and manages the worktrees Hive creates for agents.
|
Package git reads repository state for environments (branch, ahead and behind, dirty files) and manages the worktrees Hive creates for agents. |
|
integration
Package integration installs hooks into coding agents' own settings so they report their state to Hive (`hive pane report-agent --hook`), more precisely than Hive can read it from their screens, along with their session IDs for resuming them.
|
Package integration installs hooks into coding agents' own settings so they report their state to Hive (`hive pane report-agent --hook`), more precisely than Hive can read it from their screens, along with their session IDs for resuming them. |
|
jsonfile
Package jsonfile reads and writes JSON documents on disk.
|
Package jsonfile reads and writes JSON documents on disk. |
|
layout
Package layout is the tiling model of a tab: a binary space partition whose leaves are panes.
|
Package layout is the tiling model of a tab: a binary space partition whose leaves are panes. |
|
logging
Package logging builds the structured loggers Hive uses: log/slog handlers writing to a size-rotated file and, optionally, to stderr.
|
Package logging builds the structured loggers Hive uses: log/slog handlers writing to a size-rotated file and, optionally, to stderr. |
|
mcp
Package mcp serves tools over the Model Context Protocol: JSON-RPC 2.0, one message per line on stdin and stdout, as MCP clients (Claude Code, Codex, Cursor, …) run local servers.
|
Package mcp serves tools over the Model Context Protocol: JSON-RPC 2.0, one message per line on stdin and stdout, as MCP clients (Claude Code, Codex, Cursor, …) run local servers. |
|
metadata
Package metadata keeps short labels that agents, plugins and scripts put on panes and environments for the sidebar to show: tokens ("PR #12 ✓", "tests 3/40") and a title that names a pane instead of its program.
|
Package metadata keeps short labels that agents, plugins and scripts put on panes and environments for the sidebar to show: tokens ("PR #12 ✓", "tests 3/40") and a title that names a pane instead of its program. |
|
notify
Package notify tells the user when an agent wants them: it is blocked on a decision, or done.
|
Package notify tells the user when an agent wants them: it is blocked on a decision, or done. |
|
pane
Package pane is the workspace model inside an environment: tabs, each a tiling layout (package layout) of panes, plus floating popups.
|
Package pane is the workspace model inside an environment: tabs, each a tiling layout (package layout) of panes, plus floating popups. |
|
persist
Package persist keeps snapshots of a session's workspace, so a host reboot does not lose it: every environment's tabs, layout and focus, and for each pane what it ran, where it was working and which agent conversation it held.
|
Package persist keeps snapshots of a session's workspace, so a host reboot does not lose it: every environment's tabs, layout and focus, and for each pane what it ran, where it was working and which agent conversation it held. |
|
pgroup
Package pgroup stops whole process groups.
|
Package pgroup stops whole process groups. |
|
platform
Package platform hides operating-system specifics behind plain functions so domain packages stay portable.
|
Package platform hides operating-system specifics behind plain functions so domain packages stay portable. |
|
plugin
Package plugin extends Hive with programs it runs for the user: a plugin is a directory with a hive-plugin.toml manifest.
|
Package plugin extends Hive with programs it runs for the user: a plugin is a directory with a hive-plugin.toml manifest. |
|
process
Package process supervises agents: it launches them inside an environment's workspace (plainly or in a PTY), records their lifecycle, and stops them.
|
Package process supervises agents: it launches them inside an environment's workspace (plainly or in a PTY), records their lifecycle, and stops them. |
|
protocol
Package protocol is Hive's wire layer: newline-delimited JSON over a unix socket, in two flavours on the same framing.
|
Package protocol is Hive's wire layer: newline-delimited JSON over a unix socket, in two flavours on the same framing. |
|
remote
Package remote reaches Hive on other machines over SSH.
|
Package remote reaches Hive on other machines over SSH. |
|
runtime
Package runtime is the daemon's composition root.
|
Package runtime is the daemon's composition root. |
|
session
Package session names Hive's namespaces.
|
Package session names Hive's namespaces. |
|
shim
Package shim keeps agents alive independently of the daemon.
|
Package shim keeps agents alive independently of the daemon. |
|
terminal
Package terminal runs commands inside pseudo-terminals so agents that expect a real TTY (interactive CLIs, prompts, colours) behave as they would for a human.
|
Package terminal runs commands inside pseudo-terminals so agents that expect a real TTY (interactive CLIs, prompts, colours) behave as they would for a human. |
|
tui/bee
Package bee is the Overview's animated mascot.
|
Package bee is the Overview's animated mascot. |
|
tui/compositor
Package compositor draws the multiplexer's screen: panes from their terminal cells, the borders and titles between them, popups, the sidebar, the tab bar and overlays.
|
Package compositor draws the multiplexer's screen: panes from their terminal cells, the borders and titles between them, popups, the sidebar, the tab bar and overlays. |
|
tui/copymode
Package copymode is the scrollback cursor: vim motions over a pane's history and screen, frozen when copy mode starts, with / and ? search, character and line selection, and yanking the selection as text.
|
Package copymode is the scrollback cursor: vim motions over a pane's history and screen, frozen when copy mode starts, with / and ? search, character and line selection, and yanking the selection as text. |
|
tui/fuzzy
Package fuzzy ranks strings against a typed pattern, for pickers: the pattern's characters must appear in order, and matches score higher when they start words, run together, or come early.
|
Package fuzzy ranks strings against a typed pattern, for pickers: the pattern's characters must appear in order, and matches score higher when they start words, run together, or come early. |
|
tui/keymap
Package keymap maps keys to multiplexer actions.
|
Package keymap maps keys to multiplexer actions. |
|
tui/mux
Package mux is the multiplexer UI: tabs of split panes showing live agent terminals, a sidebar of environments and agents, an Overview of every agent, copy mode, pickers and prompts.
|
Package mux is the multiplexer UI: tabs of split panes showing live agent terminals, a sidebar of environments and agents, an Overview of every agent, copy mode, pickers and prompts. |
|
tui/theme
Package theme holds the multiplexer's colour schemes.
|
Package theme holds the multiplexer's colour schemes. |
|
update
Package update replaces the hive binary with a release: it finds the latest (or a given) release on GitHub, downloads the archive for this OS and architecture, checks it against the release's checksums, and swaps the binary in place.
|
Package update replaces the hive binary with a release: it finds the latest (or a given) release on GitHub, downloads the archive for this OS and architecture, checks it against the release's checksums, and swaps the binary in place. |
|
vt
Package vt is Hive's terminal-emulation layer.
|
Package vt is Hive's terminal-emulation layer. |
|
pkg
|
|
|
hiveapi
Package hiveapi is the Go SDK for Hive: it drives a running Hive daemon (the one `hive` talks to) over its socket, so Go programs can start coding agents, prompt them, wait for them and read what they did.
|
Package hiveapi is the Go SDK for Hive: it drives a running Hive daemon (the one `hive` talks to) over its socket, so Go programs can start coding agents, prompt them, wait for them and read what they did. |
|
Package skills holds the agent skills shipped inside the hive binary.
|
Package skills holds the agent skills shipped inside the hive binary. |
|
tools
|
|
|
nixhash
command
Command nixhash prints the vendorHash flake.nix needs: the Nix hash (NAR, sha256, SRI form) of the module's `go mod vendor` output, which is what buildGoModule fetches.
|
Command nixhash prints the vendorHash flake.nix needs: the Nix hash (NAR, sha256, SRI form) of the module's `go mod vendor` output, which is what buildGoModule fetches. |
|
release-sign
command
Command release-sign makes Hive's release signing key and signs release checksums with it.
|
Command release-sign makes Hive's release signing key and signs release checksums with it. |
Click to show internal directories.
Click to hide internal directories.