Documentation
¶
Overview ¶
Package completions provides a CompletionHandler for GitLab-aware autocomplete of prompt arguments and resource URI template parameters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler provides GitLab-aware completion for prompt arguments and resource parameters.
func NewHandler ¶
func NewHandler(client *gitlabclient.Client) *Handler
NewHandler creates a completion handler backed by the given GitLab client.
func (*Handler) Complete ¶
func (h *Handler) Complete(ctx context.Context, req *mcp.CompleteRequest) (*mcp.CompleteResult, error)
Complete dispatches completion requests based on reference type and argument name. It returns empty results on errors to avoid blocking the client.
Click to show internal directories.
Click to hide internal directories.