Documentation
¶
Index ¶
- Variables
- func InitClientCommand(helpSystem *help.HelpSystem) error
- func NewBridgeCommand(logger zerolog.Logger) *cobra.Command
- func NewConfigAddProfileCommand() *cobra.Command
- func NewConfigAddToolCommand() *cobra.Command
- func NewConfigDuplicateProfileCommand() *cobra.Command
- func NewConfigEditCommand() *cobra.Command
- func NewConfigGroupCommand() *cobra.Command
- func NewConfigInitCommand() *cobra.Command
- func NewConfigListProfilesCommand() *cobra.Command
- func NewConfigSetDefaultProfileCommand() *cobra.Command
- func NewConfigShowProfileCommand() *cobra.Command
- type Config
- type DirectorySource
- type FileSource
- type Profile
- type PromptSources
- type SchemaCommand
- type SchemaCommandSettings
- type StartCommand
- type StartCommandSettings
- type ToolSources
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientCmd = &cobra.Command{
Use: "client",
Short: "MCP client functionality",
Long: `Client commands for interacting with MCP servers`,
}
Functions ¶
func InitClientCommand ¶
func InitClientCommand(helpSystem *help.HelpSystem) error
func NewConfigAddProfileCommand ¶ added in v0.0.4
func NewConfigAddToolCommand ¶ added in v0.0.4
func NewConfigDuplicateProfileCommand ¶ added in v0.0.4
func NewConfigEditCommand ¶ added in v0.0.4
func NewConfigGroupCommand ¶ added in v0.0.4
func NewConfigInitCommand ¶ added in v0.0.4
func NewConfigListProfilesCommand ¶ added in v0.0.4
func NewConfigSetDefaultProfileCommand ¶ added in v0.0.4
func NewConfigShowProfileCommand ¶ added in v0.0.4
Types ¶
type DirectorySource ¶ added in v0.0.4
type DirectorySource struct {
Path string `yaml:"path"`
Defaults map[string]map[string]interface{} `yaml:"defaults,omitempty"`
Overrides map[string]map[string]interface{} `yaml:"overrides,omitempty"`
Whitelist map[string][]string `yaml:"whitelist,omitempty"`
Blacklist map[string][]string `yaml:"blacklist,omitempty"`
}
type FileSource ¶ added in v0.0.4
type Profile ¶ added in v0.0.4
type Profile struct {
Description string `yaml:"description"`
Tools ToolSources `yaml:"tools"`
Prompts PromptSources `yaml:"prompts"`
}
type PromptSources ¶ added in v0.0.4
type PromptSources struct {
Directories []DirectorySource `yaml:"directories,omitempty"`
Files []FileSource `yaml:"files,omitempty"`
}
type SchemaCommand ¶
type SchemaCommand struct {
*cmds.CommandDescription
}
func NewSchemaCommand ¶
func NewSchemaCommand() (*SchemaCommand, error)
func (*SchemaCommand) RunIntoWriter ¶
func (c *SchemaCommand) RunIntoWriter( ctx context.Context, parsedLayers *layers.ParsedLayers, w io.Writer, ) error
type SchemaCommandSettings ¶
type SchemaCommandSettings struct {
File string `glazed.parameter:"file"`
}
type StartCommand ¶
type StartCommand struct {
*cmds.CommandDescription
}
func NewStartCommand ¶
func NewStartCommand() (*StartCommand, error)
func (*StartCommand) Run ¶
func (c *StartCommand) Run( ctx context.Context, parsedLayers *layers.ParsedLayers, ) error
type StartCommandSettings ¶
type StartCommandSettings struct {
Transport string `glazed.parameter:"transport"`
Port int `glazed.parameter:"port"`
Repositories []string `glazed.parameter:"repositories"`
Debug bool `glazed.parameter:"debug"`
TracingDir string `glazed.parameter:"tracing-dir"`
ConfigFile string `glazed.parameter:"config-file" help:"Path to the configuration file"`
Profile string `glazed.parameter:"profile" help:"Profile to use from the configuration file"`
}
type ToolSources ¶ added in v0.0.4
type ToolSources struct {
Directories []DirectorySource `yaml:"directories,omitempty"`
Files []FileSource `yaml:"files,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.