Help us shape the future of Go! Take the 2026 Go Developer Survey

clienthandler

package
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

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 adapts MCP server-initiated elicitation/create callbacks into agently-core elicitation persistence + wait lifecycle.

func New

func New(elicitation *elicsvc.Service, conversations apiconv.Client) *Handler

New returns a client callback handler for MCP sessions.

func (*Handler) Elicit

func (*Handler) Implements

func (h *Handler) Implements(method string) bool

func (*Handler) Init

func (*Handler) LastRequestID

func (h *Handler) LastRequestID() jsonrpc.RequestId

func (*Handler) NextRequestID

func (h *Handler) NextRequestID() jsonrpc.RequestId

func (*Handler) Notify

func (h *Handler) Notify(_ context.Context, _ *jsonrpc.Notification) error

func (*Handler) OnNotification

func (h *Handler) OnNotification(_ context.Context, _ *jsonrpc.Notification)

func (*Handler) SetConversationID

func (h *Handler) SetConversationID(id string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL