Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT

Directories

Path Synopsis
Package config loads and validates the engine sections of hive's config.yaml: the settings the hive engine reads, which both the CLI and Hive Desktop run on.
Package config loads and validates the engine sections of hive's config.yaml: the settings the hive engine reads, which both the CLI and Hive Desktop run on.
domain
agent
Package agent is the catalog of coding agents that hive init and the desktop onboarding offer.
Package agent is the catalog of coding agents that hive init and the desktop onboarding offer.
deeplink
Package deeplink defines hive:// URLs, the public address of a place in Hive Desktop.
Package deeplink defines hive:// URLs, the public address of a place in Hive Desktop.
drive
Package drive models Hive Drive: one document tree under the context root, split into spaces (a repository, a Chats workspace, or the shared space) that hold folders and markdown, html, and canvas documents.
Package drive models Hive Drive: one document tree under the context root, split into spaces (a repository, a Chats workspace, or the shared space) that hold folders and markdown, html, and canvas documents.
hc
kv
messaging
Package messaging provides inter-agent communication via pub/sub topics.
Package messaging provides inter-agent communication via pub/sub topics.
multiplexer
Package multiplexer defines implementation-neutral terminal multiplexer values.
Package multiplexer defines implementation-neutral terminal multiplexer values.
server
Package server describes a remote hive server: the ssh target a client reaches its daemon through.
Package server describes a remote hive server: the ssh target a client reaches its daemon through.
session
Package session defines session domain types and interfaces.
Package session defines session domain types and interfaces.
terminal
Package terminal provides interfaces for terminal multiplexer integrations.
Package terminal provides interfaces for terminal multiplexer integrations.
terminal/assess
Package assess implements Stage 1 of the two-stage status assessment engine: a pure, stateless mapping from one terminal snapshot to one semantic assessment.
Package assess implements Stage 1 of the two-stage status assessment engine: a pure, stateless mapping from one terminal snapshot to one semantic assessment.
terminal/content
Package content scores terminal content for agent-like structure.
Package content scores terminal content for agent-like structure.
terminal/status
Package status implements Stage 2 of the two-stage status assessment engine: a stateful debounce tracker that turns per-poll assess.Assessment values into stable, published terminal.Status values.
Package status implements Stage 2 of the two-stage status assessment engine: a stateful debounce tracker that turns per-poll assess.Assessment values into stable, published terminal.Status values.
validate
Package validate provides shared validation functions.
Package validate provides shared validation functions.
Package hive is the hive engine both programs run on.
Package hive is the hive engine both programs run on.
daemon
Package daemon serves sessionapi.API for one hive data directory on a unix socket, so every client on the machine shares one writer and one status tracker.
Package daemon serves sessionapi.API for one hive data directory on a unix socket, so every client on the machine shares one writer and one status tracker.
daemon/daemonpath
Package daemonpath names the files of the hive daemon for a data directory, so a client finds them without importing the daemon.
Package daemonpath names the files of the hive daemon for a data directory, so a client finds them without importing the daemon.
daemon/wire
Package wire converts between the hive.daemon.v1 messages and the Go types sessionapi.API speaks, for both the daemon and its client.
Package wire converts between the hive.daemon.v1 messages and the Go types sessionapi.API speaks, for both the daemon and its client.
daemonclient
Package daemonclient implements sessionapi.API against a hive daemon.
Package daemonclient implements sessionapi.API against a hive daemon.
doctor
Package doctor runs health checks on a hive setup.
Package doctor runs health checks on a hive setup.
drive
Package drive is the Hive Drive service: the document tree under the context root, served from one in-memory snapshot per space.
Package drive is the Hive Drive service: the document tree under the context root, served from one in-memory snapshot per space.
driveremote
Package driveremote copies Hive Drive documents to and from a drive server.
Package driveremote copies Hive Drive documents to and from a drive server.
events
Code generated by gobusgen; DO NOT EDIT.
Code generated by gobusgen; DO NOT EDIT.
events/testbus
Package testbus provides test utilities for the event bus.
Package testbus provides test utilities for the event bus.
gitstatus
Package gitstatus reads the git state of session checkouts: branch, dirty tree, unpushed commits and the line delta against the default branch.
Package gitstatus reads the git state of session checkouts: branch, dirty tree, unpushed commits and the line delta against the default branch.
hc
Package hc is the honeycomb task service.
Package hc is the honeycomb task service.
hivetest
Package hivetest builds a hive.Engine over a temp database, a recording executor, and a tmux stand-in, for tests in any package that needs one.
Package hivetest builds a hive.Engine over a temp database, a recording executor, and a tmux stand-in, for tests in any package that needs one.
messaging
Package messaging publishes and reads inter-agent messages.
Package messaging publishes and reads inter-agent messages.
servers
Package servers is the fleet of hive servers a client works with: the local daemon (or engine) and each server under servers: in config.yaml, reached over ssh.
Package servers is the fleet of hive servers a client works with: the local daemon (or engine) and each server under servers: in config.yaml, reached over ssh.
session
Package session is the session service: create, recycle, rename, delete and prune sessions, and spawn their terminals.
Package session is the session service: create, recycle, rename, delete and prune sessions, and spawn their terminals.
session/scripts
Package scripts embeds and extracts bundled helper scripts (hive-tmux, agent-send).
Package scripts embeds and extracts bundled helper scripts (hive-tmux, agent-send).
sessionapi
Package sessionapi is the session view the hive TUI, the CLI, and Hive Desktop share.
Package sessionapi is the session view the hive TUI, the CLI, and Hive Desktop share.
status
Package status reads agent terminal status for sessions and repositories.
Package status reads agent terminal status for sessions and repositories.
todo
Package todo is the todo service and its creation limiter.
Package todo is the todo service and its creation limiter.
platform
credentials
Package credentials stores provider secrets keyed by Ref{Provider, Account}.
Package credentials stores provider secrets keyed by Ref{Provider, Account}.
driveapi
Package driveapi holds the wire types of the Hive Drive server API, shared by the server and its clients so the two cannot drift.
Package driveapi holds the wire types of the Hive Drive server API, shared by the server and its clients so the two cannot drift.
execenv
Package execenv resolves the environment the app runs subprocesses with, and answers what a variable would hold in the user's terminal.
Package execenv resolves the environment the app runs subprocesses with, and answers what a variable would hold in the user's terminal.
fswatch
Package fswatch watches a directory tree and reports which directories changed.
Package fswatch watches a directory tree and reports which directories changed.
git
Package git provides an abstraction for git operations.
Package git provides an abstraction for git operations.
observe
Package observe is the OpenTelemetry API surface the rest of the app calls.
Package observe is the OpenTelemetry API surface the rest of the app calls.
proc/process
Package process reads OS-level process information for tmux panes.
Package process reads OS-level process information for tmux panes.
promptfile
Package promptfile moves oversized agent prompts out of process arguments.
Package promptfile moves oversized agent prompts out of process arguments.
secrets
Package secrets resolves the credential references config holds in place of credentials themselves.
Package secrets resolves the credential references config holds in place of credentials themselves.
sqlite
Package sqlite opens the SQLite databases hive and Hive Desktop keep, with the DSN and pool settings every caller must agree on.
Package sqlite opens the SQLite databases hive and Hive Desktop keep, with the DSN and pool settings every caller must agree on.
sshdial
Package sshdial opens a connection to a remote hive daemon through `ssh <host> -- hive daemon dial-stdio`.
Package sshdial opens a connection to a remote hive daemon through `ssh <host> -- hive daemon dial-stdio`.
tmux/bin
Package tmuxbin locates the tmux executable and the directory to run it in.
Package tmuxbin locates the tmux executable and the directory to run it in.
tmux/control
Package tmuxcc is a tmux control-mode (`tmux -C`) client: it attaches to one existing tmux session, models that session's windows, streams each window's decoded output, and drives tmux with ordinary commands.
Package tmuxcc is a tmux control-mode (`tmux -C`) client: it attaches to one existing tmux session, models that session's windows, streams each window's decoded output, and drives tmux with ordinary commands.
tmux/exec
Package tmuxexec implements the tmux terminal multiplexer adapter.
Package tmuxexec implements the tmux terminal multiplexer adapter.
tmux/status
Package tmuxstatus implements terminal integration for tmux.
Package tmuxstatus implements terminal integration for tmux.
tmuxtest
Package tmuxtest gives tests that drive a real tmux server one of their own.
Package tmuxtest gives tests that drive a real tmux server one of their own.
Package releasenotes reads the changelog a program ships inside its binary: what changed in each release, what a build carries that no release has yet, and whether the user has seen either.
Package releasenotes reads the changelog a program ships inside its binary: what changed in each release, what a build carries that no release has yet, and whether the user has seen either.
Package store is hive.db persistence: one store per aggregate over the sqlc queries in store/db.
Package store is hive.db persistence: one store per aggregate over the sqlc queries in store/db.
db
migrate
Package migrate is a small SQLite migration runner shared across hive's databases.
Package migrate is a small SQLite migration runner shared across hive's databases.
web
Package web holds the HTTP plumbing shared by the JSON APIs in this repo: the error wire shape, build identity, and the version handler.
Package web holds the HTTP plumbing shared by the JSON APIs in this repo: the error wire shape, build identity, and the version handler.
extractors
Package extractors decodes and validates request input: Body decodes into a typed struct and runs its Validate method when it has one.
Package extractors decodes and validates request input: Body decodes into a typed struct and runs its Validate method when it has one.
mid
Package mid holds the errchain error middleware shared by the JSON APIs.
Package mid holds the errchain error middleware shared by the JSON APIs.

Jump to

Keyboard shortcuts

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