Expand description
插件机制模块
提供完整的插件系统,支持:
- 插件生命周期管理
- 多种插件类型(LLM、Tool、Storage、Memory 等)
- 插件注册与发现
- 插件间通信与依赖管理
- 事件钩子机制
- Agent Skills 支持
Re-exports§
pub use tts::AudioPlaybackConfig;pub use tts::MockTTSEngine;pub use tts::TTSCommand;pub use tts::TTSEngine;pub use tts::TTSPlugin;pub use tts::TTSPluginConfig;pub use tts::TextToSpeechTool;pub use tts::VoiceInfo;pub use tts::cache::ModelCache;pub use tts::model_downloader::HFHubClient;pub use tts::play_audio;pub use tts::play_audio_async;pub use rhai_runtime::*;pub use tool::*;pub use tools::*;
Modules§
- hot_
reload - Hot-reload plugin support module
- rhai_
runtime - Rhai Runtime Plugin
- skill
- Agent Skills 模块
- tool
- Tool module
- tools
- Built-in tools module
- tts
- Text-to-Speech (TTS) Plugin Module
- wasm_
runtime - WASM Plugin Runtime Module
Macros§
- declare_
plugin - Macro to create a plugin export
Structs§
- Chat
Message - 聊天消息
- LLMPlugin
- LLM 能力插件
- LLMPlugin
Config - LLM 插件配置
- Memory
Entry - 记忆条目
- Memory
Plugin - 记忆插件
- Memory
Storage - 内存存储后端
- OpenAI
Client - OpenAI 客户端实现
- Plugin
Config - 插件配置
- Plugin
Context - 插件执行上下文
- Plugin
Manager - 插件管理器
- Plugin
Metadata - 插件元数据
- Storage
Plugin - 存储插件
- Tool
Call - 工具调用请求
- Tool
Definition - 工具定义
- Tool
Plugin - 工具插件
- Tool
Result - 工具调用结果
Enums§
- Plugin
Event - 插件事件
- Plugin
State - 插件状态
- Plugin
Type - 插件类型枚举
Traits§
- Agent
Plugin - 核心插件 trait
- LLMClient
- LLM 客户端 trait
- Storage
Backend - 存储后端 trait
- Tool
Executor - 工具执行器 trait
Type Aliases§
- Plugin
Result - 插件执行结果