Environment variables

Variable
HEED_SESSION_ID The session the pane belongs to
HEED_SOCKET The socket to report to
HEED_PANE_ID The pane
HEED_SESSION_TOKEN Who the pane is, as heed vouches for it: its session and pane, signed by heed. Every hook message and heed command from the pane carries it, and heed takes the session and pane from it, so a process speaks only for the pane it runs in
HEED_BIN The bundled heed helper
HEED_PROMPT Your prompt, while an agent starts with one; the start line reads it and unsets it
PATH The PATH Heed found (see Finding git and gh), with the helper first
Variable
CLAUDE_CODE_ENABLE_TELEMETRY, CLAUDE_CODE_ENHANCED_TELEMETRY_BETA, OTEL_METRICS_EXPORTER, OTEL_LOGS_EXPORTER, OTEL_TRACES_EXPORTER, OTEL_EXPORTER_OTLP_PROTOCOL, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_<SIGNAL>_ENDPOINT and _PROTOCOL, OTEL_METRIC_EXPORT_INTERVAL, OTEL_LOGS_EXPORT_INTERVAL, OTEL_TRACES_EXPORT_INTERVAL, OTEL_LOG_TOOL_DETAILS (and OTEL_LOG_USER_PROMPTS with [telemetry] prompts) claude's own OpenTelemetry, to heed's receiver on 127.0.0.1, while the receiver listens. With telemetry of your own, only the endpoints and protocols, per signal: heed forwards your exports on (OpenTelemetry)
OPENCODE_CONFIG_CONTENT heed's opencode plugin
Variable
XDG_CONFIG_HOME Where heed/config.toml lives, if set
OTEL_* (not *_HEADERS), CLAUDE_CODE_ENABLE_TELEMETRY In heed's environment and your login shell's: where claude exported before, which heed then forwards to
CODEX_HOME Where Codex's config.toml is, for its [otel] exporters
HEED_CONTROL Where heed sessions, heed goal and the other control commands look for heed's control socket. Agents' hooks do not read it: their command lines name heed's own heed and sockets, so a repo's config cannot point them anywhere else
Variable
HEED_SESSION_ID, HEED_PANE_ID, HEED_SESSION_TOKEN The pane a hook or heed goal runs in, written into each line of the event log; heed takes a line only when its token is the pane's
HEED_CALL_TIMEOUT How many seconds heed goal and heed swarm on a host wait for heed on your Mac to answer. The default is 60, and 1800 for ask. After that the command prints that heed did not answer and exits 3

These are for working on heed itself. mise run shots uses HEED_SHOTS to regenerate every image in these docs from the fake world, and mise run tutor-check sets HEED_TUTOR_CHECK.

Variable
HEED_FIXTURE Open on made-up data, with no IO: main, empty, pr-storm, fresh-repos, chats, resume, firstrun
HEED_OUTSIDE With a fixture, show the Dock badge and the menu bar item, and ask before quitting, as the live app does
HEED_SNAPSHOT Render the window to this PNG and quit (HEED_SNAPSHOT_KEYS, _SIZE, _DELAY, _SETTLE)
HEED_SHOTS Render every docs screenshot into this folder and quit (HEED_SHOTS_ONLY, HEED_DOCS)
HEED_TUTOR_CHECK Play every tutor lesson with the real keys and report steps that do not tick off