Expand description
Single-instance daemon for sharing a hyperd process across MCP clients.
Modules§
- discovery
- Discovery file management for the single-instance daemon.
- health
- TCP health listener for the daemon.
- run
- Daemon main loop: spawns
hyperd, runs health listener, monitors idle timeout and hyperd liveness, restarts hyperd if it dies. - spawn
- Spawn the daemon as a detached background process.
Constants§
- DEFAULT_
DAEMON_ PORT - Default TCP port the daemon binds for health checks and single-instance locking.
- DEFAULT_
IDLE_ TIMEOUT_ SECS - Default idle timeout in seconds before the daemon shuts down.
- ENV_
DAEMON_ PORT - Environment variable to override the daemon port.
- ENV_
IDLE_ TIMEOUT - Environment variable to override the idle timeout (seconds).