Documentation
¶
Overview ¶
Package pluginwire defines the host-side wire types for the legacy stdio plugin v1 protocol. Process lifecycle, trust and tool adaptation live in internal/extensions; this package is deliberately data-only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallParams ¶
type CallParams struct {
Name string `json:"name"`
Arguments json.RawMessage `json:"arguments"`
}
type CallResult ¶
type CommandSpec ¶
type EventParams ¶
type EventParams struct {
Type string `json:"type"`
Data json.RawMessage `json:"data,omitempty"`
}
type Manifest ¶
type Manifest struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`
Tools []ToolSpec `json:"tools,omitempty"`
Commands []CommandSpec `json:"commands,omitempty"`
Events []string `json:"events,omitempty"`
}
Manifest is returned by a legacy plugin's initialize call. Commands remain visible for compatibility diagnostics but are not invoked directly: business operations must be exposed as gated tools.