lookupimpl

package
v0.2.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssistantPresetReferenceLookups

func NewAssistantPresetReferenceLookups(
	modelPresetSt *modelpresetStore.ModelPresetStore,
	toolSt *toolStore.ToolStore,
	skillRt *skillAggregate.Service,
	mcpResolver MCPServerResolver,
	mcpDiscovery MCPDiscoveryLookup,
) assistantpresetStore.ReferenceLookups

func NewMCPContextLookup added in v0.1.22

func NewMCPContextLookup(
	resolver MCPServerResolver,
	discovery MCPDiscoveryLookup,
) assistantpresetStore.MCPContextLookup

Types

type MCPDiscoveryLookup added in v0.1.22

type MCPDiscoveryLookup interface {
	ListTools(
		ctx context.Context,
		server mcpServer.ServerID,
	) ([]mcpServer.MCPToolCapability, error)

	ListResources(
		ctx context.Context,
		server mcpServer.ServerID,
	) ([]mcpServer.MCPResourceRef, error)

	ListResourceTemplates(
		ctx context.Context,
		server mcpServer.ServerID,
	) ([]mcpServer.MCPResourceTemplateRef, error)

	ListPrompts(
		ctx context.Context,
		server mcpServer.ServerID,
	) ([]mcpServer.MCPPromptRef, error)
}

type MCPServerResolver added in v0.2.17

type MCPServerResolver interface {
	ResolveMCPServer(
		ctx context.Context,
		ref mcpServer.ServerID,
	) (mcpDomainServer.Resolved, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL