MCPcopy Create free account
hub / github.com/diillson/chatcli / RemotePlugin

Struct RemotePlugin

client/remote/remote_plugin.go:20–27  ·  view source on GitHub ↗

RemotePlugin implements the plugins.Plugin interface by delegating execution to a remote ChatCLI server via gRPC.

Source from the content-addressed store, hash-verified

18// RemotePlugin implements the plugins.Plugin interface by delegating execution
19// to a remote ChatCLI server via gRPC.
20type RemotePlugin struct {
21 name string
22 description string
23 usage string
24 version string
25 schema string
26 client *Client // gRPC client for remote execution
27}
28
29// NewRemotePlugin creates a RemotePlugin from server-provided metadata.
30func NewRemotePlugin(info *pb.PluginInfo, client *Client) *RemotePlugin {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected