Documentation
¶
Overview ¶
Package app is the composition root: it wires config, provider chain, smrti memory, tools, skills, sessions, and the agent loop into one unit shared by the CLI and the gateway daemon.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Cfg *config.Config
Bus *bus.MessageBus
Chain *provider.Chain
Memory memory.Engine
Ambient *memory.Ambient
Registry *tools.Registry
// Guard is the path rule every file-touching tool obeys; the gateway
// hands it to connectors that read or write files themselves.
Guard *tools.PathGuard
Sessions *session.Store
Skills *skills.Loader
Loop *agent.Loop
Jobs *jobs.Engine
Cron *cron.Service
MCP *mcp.Manager
// Restart is how the upgrade tool reloads this process into the release
// it just installed. Only a daemon fills it in.
Restart *upgrade.Restarter
// SmrtiUpgrade keeps the memory engine current, and is nil when memory is
// off — there is then no engine to keep current.
SmrtiUpgrade *upgrade.Smrti
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.