Skip to main content

Module types

Module types 

Source
Expand description

Plugin types - ported from ~/claudecode/openclaudecode/src/types/plugin.ts

This module provides the core plugin types for the Rust SDK.

Structs§

CommandMetadata
Command metadata when using object-mapping format
LoadedPlugin
Loaded plugin with all its metadata and paths
PluginAuthor
Plugin author information
PluginConfig
Plugin configuration (repositories)
PluginLoadResult
Result of loading plugins
PluginManifest
Plugin manifest (plugin.json structure)
PluginRepository
Plugin repository configuration

Enums§

CommandAvailability
Command availability - determines which auth/provider environments can use the command
CommandResult
Command result types
CommandResultDisplay
How to display command result
CommandSource
Command source - where the command was loaded from
PluginComponent
Component types that a plugin can provide
PluginError
Discriminated union of plugin error types

Functions§

get_plugin_error_message
Get a display message from any PluginError