Documentation
¶
Index ¶
- func BuildIndexEntries(mgr *mcpserver.Manager) []embed.ToolEntry
- func RegisterExecuteCode(s *mcp.Server, mgr *mcpserver.Manager, latticeDir string)
- func RegisterFindTools(s *mcp.Server, mgr *mcpserver.Manager, idx *embed.Index)
- func RegisterGetSkillGraph(s *mcp.Server, mgr *mcpserver.Manager)
- func RegisterListSkills(s *mcp.Server, mgr *mcpserver.Manager)
- func RegisterPlanWorkflow(s *mcp.Server, mgr *mcpserver.Manager)
- func RegisterReadLattice(s *mcp.Server, mgr *mcpserver.Manager, latticeDir string)
- func RegisterReadResource(s *mcp.Server, mgr *mcpserver.Manager)
- func RegisterRegisterServer(s *mcp.Server, mgr *mcpserver.Manager, configPath string, ...)
- func RegisterUseSkill(s *mcp.Server, mgr *mcpserver.Manager)
- type GatewayBinding
- type TraceCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIndexEntries ¶ added in v1.1.0
BuildIndexEntries converts the manager's AllTools into embed.ToolEntry slice. Each entry embeds tool name + signature + description for richer semantic matching.
func RegisterExecuteCode ¶
func RegisterFindTools ¶ added in v1.1.0
RegisterFindTools registers the find_tools gateway tool. idx may be nil — in that case the tool returns a helpful error instead of panicking.
func RegisterReadLattice ¶
func RegisterRegisterServer ¶
Types ¶
type GatewayBinding ¶ added in v1.0.0
GatewayBinding describes the transport and host the gateway itself is serving on. Used by register_server to gate registration when the gateway is exposed on a non-loopback HTTP address (see ADR-0001).
type TraceCollector ¶
type TraceCollector struct {
ToolCalls []trace.ToolCallTrace
// contains filtered or unexported fields
}
func (*TraceCollector) Add ¶
func (c *TraceCollector) Add(call trace.ToolCallTrace)
Click to show internal directories.
Click to hide internal directories.