Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
clyde
command
Command clyde is the composition root for the clyde TUI.
|
Command clyde is the composition root for the clyde TUI. |
|
internal
|
|
|
adapters/anthropicapi
Package anthropicapi implements the ports.PlanUsageSource interface by calling Anthropic's OAuth-protected /api/oauth/usage endpoint with the access token that Claude Code CLI stores locally.
|
Package anthropicapi implements the ports.PlanUsageSource interface by calling Anthropic's OAuth-protected /api/oauth/usage endpoint with the access token that Claude Code CLI stores locally. |
|
adapters/claudesettings
Package claudesettings reads and caches Claude Code's settings file (`~/.claude/settings.json`).
|
Package claudesettings reads and caches Claude Code's settings file (`~/.claude/settings.json`). |
|
adapters/clydelog
Package clydelog wires a structured logger (slog) for clyde.
|
Package clydelog wires a structured logger (slog) for clyde. |
|
adapters/fsexplorer
Package fsexplorer implements a filesystem tree walker that populates the explorer panel with real directory structure.
|
Package fsexplorer implements a filesystem tree walker that populates the explorer panel with real directory structure. |
|
adapters/git
Package git implements a thin adapter that shells out to the git binary to retrieve repository status information.
|
Package git implements a thin adapter that shells out to the git binary to retrieve repository status information. |
|
adapters/hookserver
Package hookserver provides a tiny localhost HTTP server that receives PreToolUse hook calls from the claude CLI and exposes them as a channel of HookEvents.
|
Package hookserver provides a tiny localhost HTTP server that receives PreToolUse hook calls from the claude CLI and exposes them as a channel of HookEvents. |
|
adapters/jsonl
Package jsonl implements ports.SessionSource by reading Claude Code JSONL session files from ~/.claude/projects/<encoded-cwd>/.
|
Package jsonl implements ports.SessionSource by reading Claude Code JSONL session files from ~/.claude/projects/<encoded-cwd>/. |
|
adapters/lspscan
Package lspscan — LSPSource adapter that detects language servers on PATH.
|
Package lspscan — LSPSource adapter that detects language servers on PATH. |
|
adapters/mcpconfig
Package mcpconfig reads MCP (Model Context Protocol) server configuration from the Claude Code settings file (~/.claude/settings.json).
|
Package mcpconfig reads MCP (Model Context Protocol) server configuration from the Claude Code settings file (~/.claude/settings.json). |
|
adapters/processscan
Package processscan is the ports.ProcessSource adapter that detects running `claude` CLI processes by parsing their argv for the `--session-id <UUID>` flag.
|
Package processscan is the ports.ProcessSource adapter that detects running `claude` CLI processes by parsing their argv for the `--session-id <UUID>` flag. |
|
adapters/systemclock
Package systemclock implements the ports.Clock interface using the real system clock.
|
Package systemclock implements the ports.Clock interface using the real system clock. |
|
adapters/tui
Package tui provides the Bubble Tea v2 TUI adapter for clyde.
|
Package tui provides the Bubble Tea v2 TUI adapter for clyde. |
|
application/livesession
Package livesession implements the LiveSession use case.
|
Package livesession implements the LiveSession use case. |
|
application/watchsession
Package watchsession implements the WatchSession use case.
|
Package watchsession implements the WatchSession use case. |
|
domain/event
Package event defines the Event domain entity — an atomic record of activity within a Claude Code session.
|
Package event defines the Event domain entity — an atomic record of activity within a Claude Code session. |
|
domain/pricing
Package pricing provides a hardcoded pricing table for Claude models and cost/compaction helpers for the usage panel.
|
Package pricing provides a hardcoded pricing table for Claude models and cost/compaction helpers for the usage panel. |
|
domain/project
Package project defines the Project domain entity.
|
Package project defines the Project domain entity. |
|
domain/session
Package session defines the Session domain types.
|
Package session defines the Session domain types. |
|
domain/usage
Package usage defines the Usage value object — an immutable accumulator of token counts produced during assistant Events.
|
Package usage defines the Usage value object — an immutable accumulator of token counts produced during assistant Events. |
|
ports
Package ports — LLMSource port definition.
|
Package ports — LLMSource port definition. |
|
version
Package version exposes build metadata for the `--version` flag.
|
Package version exposes build metadata for the `--version` flag. |
Click to show internal directories.
Click to hide internal directories.