internal/

directory
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent reads what coding agents are doing from their terminals.
Package agent reads what coding agents are doing from their terminals.
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.
Package buildinfo reports which build of Hive is running.
Package buildinfo reports which build of Hive is running.
Package client talks to a running Hive daemon over its unix socket.
Package client talks to a running Hive daemon over its unix socket.
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).
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.
Package environment manages workspaces: the long-lived directories agents run in.
Package environment manages workspaces: the long-lived directories agents run in.
Package event is the daemon's event bus.
Package event is the daemon's event bus.
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.
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.
Package jsonfile reads and writes JSON documents on disk.
Package jsonfile reads and writes JSON documents on disk.
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.
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.
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.
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.
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.
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.
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.
Package pgroup stops whole process groups.
Package pgroup stops whole process groups.
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.
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.
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.
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.
Package remote reaches Hive on other machines over SSH.
Package remote reaches Hive on other machines over SSH.
Package runtime is the daemon's composition root.
Package runtime is the daemon's composition root.
Package session names Hive's namespaces.
Package session names Hive's namespaces.
Package shim keeps agents alive independently of the daemon.
Package shim keeps agents alive independently of the daemon.
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.
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.
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.
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.
keymap
Package keymap maps keys to multiplexer actions.
Package keymap maps keys to multiplexer actions.
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.
theme
Package theme holds the multiplexer's colour schemes.
Package theme holds the multiplexer's colour schemes.
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.
Package vt is Hive's terminal-emulation layer.
Package vt is Hive's terminal-emulation layer.

Jump to

Keyboard shortcuts

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