Expand description
Plugin types - ported from ~/claudecode/openclaudecode/src/types/plugin.ts
This module provides the core plugin types for the Rust SDK.
Structs§
- Command
Metadata - Command metadata when using object-mapping format
- Loaded
Plugin - Loaded plugin with all its metadata and paths
- Plugin
Author - Plugin author information
- Plugin
Config - Plugin configuration (repositories)
- Plugin
Load Result - Result of loading plugins
- Plugin
Manifest - Plugin manifest (plugin.json structure)
- Plugin
Repository - Plugin repository configuration
Enums§
- Command
Availability - Command availability - determines which auth/provider environments can use the command
- Command
Result - Command result types
- Command
Result Display - How to display command result
- Command
Source - Command source - where the command was loaded from
- Plugin
Component - Component types that a plugin can provide
- Plugin
Error - Discriminated union of plugin error types
Functions§
- get_
plugin_ error_ message - Get a display message from any PluginError