Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDotPrompts ¶ added in v0.4.1
LoadDotPrompts loads simple dotprompt-format files (.prompt) from dir (non-recursive). This is a lightweight parser: it extracts YAML frontmatter and the body. It maps frontmatter.input.schema keys to PromptArgument entries.
Types ¶
type MCPServer ¶
type MCPServer struct {
// RegisteredPrompts caches prompts added via safeAddPrompt for testing/inspection
RegisteredPrompts []*mcp.Prompt
// contains filtered or unexported fields
}
MCPServer handles MCP protocol communication
func NewMCPServer ¶
NewMCPServer creates a new MCP server
Click to show internal directories.
Click to hide internal directories.