Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nightme
command
Package main — `nightme auth` subcommand tree.
|
Package main — `nightme auth` subcommand tree. |
|
internal
|
|
|
agent
Package agent defines the abstract Agent interface that wraps any AI Coding CLI behind a single structured event stream.
|
Package agent defines the abstract Agent interface that wraps any AI Coding CLI behind a single structured event stream. |
|
agent/acpagent
Package acpagent implements agent.Agent for CLIs that speak the Agent Client Protocol over their stdio stream.
|
Package acpagent implements agent.Agent for CLIs that speak the Agent Client Protocol over their stdio stream. |
|
agent/ptyagent
Package ptyagent implements agent.Agent for CLI tools that expose no structured protocol — they are spawned inside a PTY and the bytes are forwarded as AgentEvents.
|
Package ptyagent implements agent.Agent for CLI tools that expose no structured protocol — they are spawned inside a PTY and the bytes are forwarded as AgentEvents. |
|
auth
Package auth defines the per-channel credential onboarding contract.
|
Package auth defines the per-channel credential onboarding contract. |
|
auth/feishu
Package feishu implements auth.Provider for the Feishu (飞书) channel.
|
Package feishu implements auth.Provider for the Feishu (飞书) channel. |
|
bridge/acp
Package acp implements the Agent Client Protocol client transport.
|
Package acp implements the Agent Client Protocol client transport. |
|
bridge/claudecode
Package claudecode implements bridge.Agent for Anthropic's Claude Code CLI using its stream-json mode.
|
Package claudecode implements bridge.Agent for Anthropic's Claude Code CLI using its stream-json mode. |
|
bridge/pty
Package pty wraps aymanbagabas/go-pty behind a minimal Bridge interface so the rest of nightme does not depend on the underlying library.
|
Package pty wraps aymanbagabas/go-pty behind a minimal Bridge interface so the rest of nightme does not depend on the underlying library. |
|
bridge/sdk
Package sdk contains adapters for vendor SDKs that expose a native structured agent session.
|
Package sdk contains adapters for vendor SDKs that expose a native structured agent session. |
|
channel
Package channel defines the protocol-neutral boundary between nightme and an instant-messaging backend.
|
Package channel defines the protocol-neutral boundary between nightme and an instant-messaging backend. |
|
channel/feishu
Package feishu implements the Feishu channel adapter.
|
Package feishu implements the Feishu channel adapter. |
|
config
Package config loads nightme configuration from a YAML file and applies environment-variable overrides.
|
Package config loads nightme configuration from a YAML file and applies environment-variable overrides. |
|
errors
Package errors defines nightme's unified error code surface.
|
Package errors defines nightme's unified error code surface. |
|
gateway
Package gateway routes incoming chat messages to slash commands registered by nightme, or to a fallback handler (typically the session manager forwarding text to the live agent).
|
Package gateway routes incoming chat messages to slash commands registered by nightme, or to a fallback handler (typically the session manager forwarding text to the live agent). |
|
heartbeat
Package heartbeat provides event-driven heartbeat for long-running agent sessions.
|
Package heartbeat provides event-driven heartbeat for long-running agent sessions. |
|
registry
Package registry is a JSON-backed process registry for nightme.
|
Package registry is a JSON-backed process registry for nightme. |
|
session
Package session — InputBuffer: in-memory queue of user messages arriving while Claude is busy.
|
Package session — InputBuffer: in-memory queue of user messages arriving while Claude is busy. |
|
version
Package version holds the build-time identity of nightme.
|
Package version holds the build-time identity of nightme. |
Click to show internal directories.
Click to hide internal directories.