Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddInput ¶
type AddInput struct {
Content string `json:"content" jsonschema:"the knowledge to store"`
Category string `json:"category" jsonschema:"memory category: avoidance, security, syntax, architecture, or domain"`
Tags []string `` /* 159-byte string literal not displayed */
Scope string `json:"scope,omitempty" jsonschema:"global, team, or project (default: project)"`
Source string `json:"source,omitempty" jsonschema:"audit label, e.g. agent:2025-04-12 or manual"`
}
type ListHeadsInput ¶
type ListHeadsInput struct{}
type ListHeadsOutput ¶
type QueryInput ¶
type QueryInput struct {
Query string `json:"query" jsonschema:"describe the current task or question to retrieve relevant lessons"`
Category string `` /* 129-byte string literal not displayed */
TopK int `json:"top_k,omitempty" jsonschema:"maximum number of entries to return (default: 5)"`
Scopes []string `json:"scopes,omitempty" jsonschema:"limit to specific scopes: global, team, or project — empty returns all scopes"`
}
type QueryOutput ¶
type QueryOutput struct {
Entries []QueryResult `json:"entries"`
}
type QueryResult ¶
type ReinforceInput ¶
type ReinforceOutput ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) McpServer ¶
McpServer returns the underlying MCP server, e.g. for embedding in teh daemon.
func (*Server) ServeStdio ¶
ServeStdio runs the MCP server over stdin/stdout.
Click to show internal directories.
Click to hide internal directories.