Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallError ¶
type CallError struct {
Response protocol.ResponseError
}
func (*CallError) PartialOutputs ¶
func (*CallError) TheaterCode ¶
type NotificationSink ¶
type NotificationSink interface {
Log(protocol.LogParams)
Progress(protocol.ProgressParams)
}
type OpenConfig ¶
type OpenConfig struct {
Mode protocol.SessionMode
AllowedCapabilities []string
SessionConfig map[string]any
}
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func Open ¶
func Open(ctx context.Context, plugin pluginregistry.LoadedPlugin, config OpenConfig) (*Session, protocol.InitializeResult, error)
func (*Session) RedactText ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.