generate.go: remove
Remove the code generator. It has served its purpose. From now on, we will modify protocol.go directly.
This commit is contained in:
parent
ca88999e6b
commit
9305d6994f
1 changed files with 6 additions and 689 deletions
|
|
@ -2,8 +2,6 @@
|
|||
// Use of this source code is governed by an MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Code generated by generate.go. DO NOT EDIT.
|
||||
|
||||
package mcp
|
||||
|
||||
import (
|
||||
|
|
@ -103,8 +101,7 @@ func (x *CancelledParams) GetMeta() *Meta { return &x.Meta }
|
|||
// additional capabilities.
|
||||
type ClientCapabilities struct {
|
||||
// Experimental, non-standard capabilities that the client supports.
|
||||
Experimental map[string]struct {
|
||||
} `json:"experimental,omitempty"`
|
||||
Experimental map[string]struct{} `json:"experimental,omitempty"`
|
||||
// Present if the client supports listing roots.
|
||||
Roots struct {
|
||||
// Whether the client supports notifications for changes to the roots list.
|
||||
|
|
@ -127,8 +124,7 @@ type CreateMessageParams struct {
|
|||
Messages []*SamplingMessage `json:"messages"`
|
||||
// Optional metadata to pass through to the LLM provider. The format of this
|
||||
// metadata is provider-specific.
|
||||
Metadata struct {
|
||||
} `json:"metadata,omitempty"`
|
||||
Metadata struct{} `json:"metadata,omitempty"`
|
||||
// The server's preferences for which model to select. The client MAY ignore
|
||||
// these preferences.
|
||||
ModelPreferences *ModelPreferences `json:"modelPreferences,omitempty"`
|
||||
|
|
@ -585,8 +581,7 @@ type RootsListChangedParams struct {
|
|||
func (x *RootsListChangedParams) GetMeta() *Meta { return &x.Meta }
|
||||
|
||||
// Present if the client supports sampling from an LLM.
|
||||
type SamplingCapabilities struct {
|
||||
}
|
||||
type SamplingCapabilities struct{}
|
||||
|
||||
// Describes a message issued to or received from an LLM API.
|
||||
type SamplingMessage struct {
|
||||
|
|
@ -673,8 +668,7 @@ type implementation struct {
|
|||
}
|
||||
|
||||
// Present if the server supports sending log messages to the client.
|
||||
type loggingCapabilities struct {
|
||||
}
|
||||
type loggingCapabilities struct{}
|
||||
|
||||
// Present if the server offers any prompt templates.
|
||||
type promptCapabilities struct {
|
||||
|
|
@ -695,11 +689,9 @@ type resourceCapabilities struct {
|
|||
// additional capabilities.
|
||||
type serverCapabilities struct {
|
||||
// Present if the server supports argument autocompletion suggestions.
|
||||
Completions struct {
|
||||
} `json:"completions,omitempty"`
|
||||
Completions struct{} `json:"completions,omitempty"`
|
||||
// Experimental, non-standard capabilities that the server supports.
|
||||
Experimental map[string]struct {
|
||||
} `json:"experimental,omitempty"`
|
||||
Experimental map[string]struct{} `json:"experimental,omitempty"`
|
||||
// Present if the server supports sending log messages to the client.
|
||||
Logging *loggingCapabilities `json:"logging,omitempty"`
|
||||
// Present if the server offers any prompt templates.
|
||||
|
|
|
|||
Loading…
Reference in a new issue