internal/

directory
v0.17.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT

Directories

Path Synopsis
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.
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.
Package auth manages per-machine credential storage for hygge.
Package auth manages per-machine credential storage for hygge.
Package bus provides an in-process typed pubsub system for Hygge.
Package bus provides an in-process typed pubsub system for Hygge.
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.
Package command implements the slash-command framework for hygge.
Package command implements the slash-command framework for hygge.
Package config loads, merges, and validates Hygge configuration from multiple TOML sources.
Package config loads, merges, and validates Hygge configuration from multiple TOML sources.
Package cost provides token-accounting and dollar-cost computation for model usage.
Package cost provides token-accounting and dollar-cost computation for model usage.
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.
Package hook implements a programmatic event-gate framework for the agent loop.
Package hook implements a programmatic event-gate framework for the agent loop.
Package llm is the catwalk client wrapper and model-resolution layer.
Package llm is the catwalk client wrapper and model-resolution layer.
Package mcp implements an MCP (Model Context Protocol) client.
Package mcp implements an MCP (Model Context Protocol) client.
Package memory provides file-backed project and global memory storage.
Package memory provides file-backed project and global memory storage.
Package notify provides desktop notification support.
Package notify provides desktop notification support.
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.
Package plugin implements a Lua-based plugin host for hygge.
Package plugin implements a Lua-based plugin host for hygge.
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.
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.
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.
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.
Package skill loads named markdown procedures the model can invoke at runtime.
Package skill loads named markdown procedures the model can invoke at runtime.
Package state manages persisted runtime data for a hygge installation.
Package state manages persisted runtime data for a hygge installation.
Package store is the SQLite-backed implementation of session.Store.
Package store is the SQLite-backed implementation of session.Store.
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.
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.
components
Package components contains the bubbletea sub-views that compose the App.
Package components contains the bubbletea sub-views that compose the App.
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.
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).
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL