Expand description
ABI-stable types for the plugin interface
This module defines the stable interface between the host application and plugins.
All types here use abi_stable to ensure binary compatibility across different
compiler versions.
Structs§
- Plugin
Module - Root module that plugins export.
- Plugin
Module Ref - This is the pointer to the prefix of
PluginModule. - Plugin
Module_ Prefix - This is the prefix fields of
PluginModule, accessible throughPluginModuleRef, with.0.prefix(). - Plugin
Tool - ABI-stable tool interface that plugins implement.
- Plugin
Tool Info - ABI-stable tool metadata
- Plugin
Tool Result - ABI-stable result type for plugin tool execution
Constants§
- PLUGIN_
API_ VERSION - Version of the plugin API. Bump this when making breaking changes to the plugin interface.
Type Aliases§
- Plugin
Tool Ref - Reference to a PluginTool for use in collections