Versions in this module Expand all Collapse all v0 v0.92.1 Jun 6, 2026 v0.92.0 Jun 6, 2026 Changes in this version + type AbilityDecl struct + Capability string + Operations []string + type ExecutionLimit struct + Timeout string + type FSPermission struct + Mode string + Path string + type GRPCConfig struct + Args []string + Binary string + type HTTPPermission struct + Host string + type HealthStatus struct + LastError string + Ready bool + Uptime time.Duration + type HostAPI interface + EmitEvent func(ctx context.Context, event types.DataEvent) error + GetConfig func(ctx context.Context, key string) (string, error) + HTTPRequest func(ctx context.Context, req *HostHTTPRequest) (*HostHTTPResponse, error) + KVDelete func(ctx context.Context, key string) error + KVGet func(ctx context.Context, key string) ([]byte, error) + KVSet func(ctx context.Context, key string, value []byte) error + Log func(ctx context.Context, level string, msg string, fields map[string]string) + type HostHTTPRequest struct + Body []byte + Headers map[string]string + Method string + URL string + type HostHTTPResponse struct + Body []byte + Headers map[string]string + Status int + type Manifest struct + Author string + ConfigSchema json.RawMessage + Description string + GRPC *GRPCConfig + Name string + Provides Provides + Runtime RuntimeKind + Version string + Wasm *WasmConfig + func ParseManifest(data []byte) (*Manifest, error) + func (m *Manifest) ValidateConfig(config json.RawMessage) error + type MemoryLimit struct + Max string + type PluginInfo struct + ConfigSchema json.RawMessage + Name string + Provides Provides + Version string + type PluginState string + const StateError + const StateLoading + const StateRunning + const StateStopping + type ProviderDecl struct + Name string + OAuth bool + type Provides struct + Abilities []AbilityDecl + Module bool + Provider *ProviderDecl + type Runner interface + Call func(ctx context.Context, function string, params json.RawMessage) (json.RawMessage, error) + Health func(ctx context.Context) (*HealthStatus, error) + Load func(ctx context.Context, manifest *Manifest) (*PluginInfo, error) + Start func(ctx context.Context, config json.RawMessage) error + Stop func(ctx context.Context) error + type RuntimeKind string + const RuntimeGRPC + const RuntimeWasm + type WasmConfig struct + Module string + Permissions *WasmPermissions + Pool *WasmPoolConfig + type WasmPermissions struct + Execution *ExecutionLimit + Filesystem []FSPermission + HTTP []HTTPPermission + Memory *MemoryLimit + type WasmPoolConfig struct + MaxInstances int + WaitTimeout string