Documentation
¶
Overview ¶
Package app holds bootstrap wiring shared across CLI subcommands — building the provider registry, run manager, pricing table, and gateway from config. It contains no enforcement logic; that lives in the governor and related internal packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRegistry ¶
BuildRegistry constructs the provider registry from config. Anthropic, OpenAI, Ollama, and AWS Bedrock are implemented natively. The default provider must be usable.
Types ¶
type Deps ¶
type Deps struct {
Config *config.Config
Log *slog.Logger
Providers *provider.Registry
Pricing *pricing.Table
Runs *runs.Manager
Gateway *gateway.Gateway
Store storage.Store
Tracer *otel.Tracer
Approvals *approval.Gate
Slack *approval.SlackNotifier // nil when the Slack channel isn't configured
MCP *mcp.Gateway // nil when no upstream is configured
Memory *memory.Reader
Ingress *otel.Ingress // nil unless the OTLP trace receiver is enabled
}
Deps holds the constructed dependency graph for the daemon and CLI.
Click to show internal directories.
Click to hide internal directories.