Documentation
¶
Overview ¶
Package server implements the daimon HTTP API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server routes HTTP requests to provider components and drives the MCP agentic loop when tools are available.
func New ¶
func New( components map[string]conversation.Conversation, mcpClients []*mcp.Client, stores map[string]memory.MemoryStore, graphs map[string]memory.GraphStore, componentStores map[string]string, sessionSt session.SessionStore, ) *Server
New creates a Server, pre-fetches tool catalogues from all MCP clients, generates store/graph tool definitions, and registers HTTP routes.
Click to show internal directories.
Click to hide internal directories.