Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchInfo ¶
type BranchInfo struct {
Name string `json:"name"`
IsCurrent bool `json:"isCurrent"`
CommitSHA string `json:"commitSha"`
CommitDate string `json:"commitDate"`
}
BranchInfo contiene información sobre una rama de Git.
type GitConfig ¶
type GitConfig struct {
HasGit bool `json:"hasGit"`
RepoPath string `json:"repoPath"`
RemoteURL string `json:"remoteURL"`
CurrentBranch string `json:"currentBranch"`
IsGitRepo bool `json:"isGitRepo"`
WorkspacePath string `json:"workspacePath"` // Directorio de trabajo configurado manualmente
}
GitConfig contiene la configuración del entorno Git local
type JSONRPCError ¶
type JSONRPCRequest ¶
type JSONRPCRequest struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id,omitempty"`
Method string `json:"method"`
Params map[string]interface{} `json:"params,omitempty"`
}
Estructuras del protocolo JSON-RPC 2.0
type JSONRPCResponse ¶
type JSONRPCResponse struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id,omitempty"`
Result interface{} `json:"result,omitempty"`
Error *JSONRPCError `json:"error,omitempty"`
}
type Tool ¶
type Tool struct {
Name string `json:"name"`
Title string `json:"title,omitempty"`
Description string `json:"description"`
InputSchema ToolInputSchema `json:"inputSchema"`
Annotations map[string]interface{} `json:"annotations,omitempty"`
}
Estructuras MCP para herramientas
type ToolCallResult ¶
type ToolInputSchema ¶
type ToolsListResult ¶
type ToolsListResult struct {
Tools []Tool `json:"tools"`
}
Click to show internal directories.
Click to hide internal directories.