Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapter holds the cross-agent abstraction: the data and hooks that let the core supervisor loop drive any CLI coding agent (Claude Code, Codex, ...) without agent-specific branching in the core.
|
Package adapter holds the cross-agent abstraction: the data and hooks that let the core supervisor loop drive any CLI coding agent (Claude Code, Codex, ...) without agent-specific branching in the core. |
|
Package config loads SleeperAgent settings from a TOML file, layered over built-in defaults.
|
Package config loads SleeperAgent settings from a TOML file, layered over built-in defaults. |
|
Package hotkeys provides the supervisor's foreground key controls: d/q to detach (keep the session), k to kill it (with confirmation).
|
Package hotkeys provides the supervisor's foreground key controls: d/q to detach (keep the session), k to kill it (with confirmation). |
|
Package notify delivers best-effort alerts on SleeperAgent state changes: a desktop notification (via the OS's native tool) and/or an optional webhook POST.
|
Package notify delivers best-effort alerts on SleeperAgent state changes: a desktop notification (via the OS's native tool) and/or an optional webhook POST. |
|
Package ollama is a minimal client for a local Ollama server's /api/generate endpoint.
|
Package ollama is a minimal client for a local Ollama server's /api/generate endpoint. |
|
Package parser detects the usage-limit message in agent output and resolves the reset time.
|
Package parser detects the usage-limit message in agent output and resolves the reset time. |
|
Package prompt builds the instruction injected into the agent when its limit resets.
|
Package prompt builds the instruction injected into the agent when its limit resets. |
|
Package ptybackend is the no-tmux fallback: it runs the agent in a pseudo- terminal owned by the supervisor.
|
Package ptybackend is the no-tmux fallback: it runs the agent in a pseudo- terminal owned by the supervisor. |
|
Package state defines the supervisor's lifecycle states.
|
Package state defines the supervisor's lifecycle states. |
|
Package statefile persists one supervisor instance's state to disk so that `sleeperagent status` can report from any shell, and so a control command (detach/stop) can reach a running supervisor without an open socket.
|
Package statefile persists one supervisor instance's state to disk so that `sleeperagent status` can report from any shell, and so a control command (detach/stop) can reach a running supervisor without an open socket. |
|
Package supervisor is the core loop: it observes the agent's pane, detects the usage limit, waits for the reset, and injects a resume prompt.
|
Package supervisor is the core loop: it observes the agent's pane, detects the usage limit, waits for the reset, and injects a resume prompt. |
|
Package tmux is the primary session backend.
|
Package tmux is the primary session backend. |
|
Package transcript reads the tail of an agent's session transcript (JSONL) so the LLM reprompt builder has recent context.
|
Package transcript reads the tail of an agent's session transcript (JSONL) so the LLM reprompt builder has recent context. |
|
Package update implements the self-update flow: discover the newest GitHub release, compare it to the running version, and swap the executable for the freshly downloaded (checksum-verified) release binary.
|
Package update implements the self-update flow: discover the newest GitHub release, compare it to the running version, and swap the executable for the freshly downloaded (checksum-verified) release binary. |
Click to show internal directories.
Click to hide internal directories.