Documentation
¶
Overview ¶
Package main is the root hygge CLI entry point for short Go install paths.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hygge
command
Package main is the hygge CLI entry point.
|
Package main is the hygge CLI entry point. |
|
hygge/cli
Package cli — MCP wiring: config discovery, OAuth header injection, transport construction, and best-effort server startup (synchronous and async).
|
Package cli — MCP wiring: config discovery, OAuth header injection, transport construction, and best-effort server startup (synchronous and async). |
|
internal
|
|
|
agent
Package agent is the orchestrator that wires session storage, provider streaming, permission gating, tool execution, and cost accounting into a single turn-by-turn loop.
|
Package agent is the orchestrator that wires session storage, provider streaming, permission gating, tool execution, and cost accounting into a single turn-by-turn loop. |
|
agentsmd
Package agentsmd loads project-context markdown files (AGENTS.md plus CLAUDE.md for compatibility) and composes them into a system-prompt addition.
|
Package agentsmd loads project-context markdown files (AGENTS.md plus CLAUDE.md for compatibility) and composes them into a system-prompt addition. |
|
auth
Package auth manages per-machine credential storage for hygge.
|
Package auth manages per-machine credential storage for hygge. |
|
bus
Package bus provides an in-process typed pubsub system for Hygge.
|
Package bus provides an in-process typed pubsub system for Hygge. |
|
catalog
Package catalog is hygge's central source of truth for model metadata: pricing, capabilities, context-window limits, and modalities.
|
Package catalog is hygge's central source of truth for model metadata: pricing, capabilities, context-window limits, and modalities. |
|
command
Package command implements the slash-command framework for hygge.
|
Package command implements the slash-command framework for hygge. |
|
config
Package config loads, merges, and validates Hygge configuration from multiple TOML sources.
|
Package config loads, merges, and validates Hygge configuration from multiple TOML sources. |
|
cost
Package cost provides token-accounting and dollar-cost computation for model usage.
|
Package cost provides token-accounting and dollar-cost computation for model usage. |
|
gitexec
Package gitexec provides a non-interactive git execution seam that can be replaced with fakes in tests.
|
Package gitexec provides a non-interactive git execution seam that can be replaced with fakes in tests. |
|
hook
Package hook implements a programmatic event-gate framework for the agent loop.
|
Package hook implements a programmatic event-gate framework for the agent loop. |
|
llm
Package llm is the catwalk client wrapper and model-resolution layer.
|
Package llm is the catwalk client wrapper and model-resolution layer. |
|
mcp
Package mcp implements an MCP (Model Context Protocol) client.
|
Package mcp implements an MCP (Model Context Protocol) client. |
|
memory
Package memory provides file-backed project and global memory storage.
|
Package memory provides file-backed project and global memory storage. |
|
notify
Package notify provides desktop notification support.
|
Package notify provides desktop notification support. |
|
permission
Package permission implements the allow/deny/ask engine that gates every side-effecting tool call in Hygge.
|
Package permission implements the allow/deny/ask engine that gates every side-effecting tool call in Hygge. |
|
plugin
Package plugin implements a Lua-based plugin host for hygge.
|
Package plugin implements a Lua-based plugin host for hygge. |
|
procenv
Package procenv is the single source of truth for the policy applied to subprocesses hygge spawns: which parent environment variables are forwarded to children, and how much of their output is retained.
|
Package procenv is the single source of truth for the policy applied to subprocesses hygge spawns: which parent environment variables are forwarded to children, and how much of their output is retained. |
|
provider
Package provider defines the abstraction every LLM provider implements and the streaming event protocol the agent loop consumes.
|
Package provider defines the abstraction every LLM provider implements and the streaming event protocol the agent loop consumes. |
|
provider/openrouter
Package openrouter provides OpenRouter-specific HTTP utilities used by the hygge runtime.
|
Package openrouter provides OpenRouter-specific HTTP utilities used by the hygge runtime. |
|
session
Package session defines the domain types for a hygge conversation and the Store interface that persists them.
|
Package session defines the domain types for a hygge conversation and the Store interface that persists them. |
|
skill
Package skill loads named markdown procedures the model can invoke at runtime.
|
Package skill loads named markdown procedures the model can invoke at runtime. |
|
state
Package state manages persisted runtime data for a hygge installation.
|
Package state manages persisted runtime data for a hygge installation. |
|
store
Package store is the SQLite-backed implementation of session.Store.
|
Package store is the SQLite-backed implementation of session.Store. |
|
subagent
Package subagent implements the registry and runtime for sub-agents dispatched by the `task` tool.
|
Package subagent implements the registry and runtime for sub-agents dispatched by the `task` tool. |
|
tool
Package tool defines the tool execution framework for Hygge and its built-in tools.
|
Package tool defines the tool execution framework for Hygge and its built-in tools. |
|
ui
Package ui contains the bubbletea TUI shell for Hygge.
|
Package ui contains the bubbletea TUI shell for Hygge. |
|
ui/components
Package components contains the bubbletea sub-views that compose the App.
|
Package components contains the bubbletea sub-views that compose the App. |
|
ui/components/anim
Package anim provides a compact colored-runes animation component for use in terminal UIs built with bubbletea v2.
|
Package anim provides a compact colored-runes animation component for use in terminal UIs built with bubbletea v2. |
|
ui/components/bubble
Package bubble provides the Bubble rendering primitive for the chat-bubble UI redesign (Phase 1).
|
Package bubble provides the Bubble rendering primitive for the chat-bubble UI redesign (Phase 1). |
|
ui/styles
Package styles defines the comprehensive style system for Hygge's terminal UI.
|
Package styles defines the comprehensive style system for Hygge's terminal UI. |
Click to show internal directories.
Click to hide internal directories.