Skip to main content

vtcode_agent_plugins/
lib.rs

1#![allow(
2    missing_docs,
3    clippy::expect_used,
4    dead_code,
5    unused_imports,
6    reason = "Intentional compatibility, platform, or test-only suppression."
7)]
8//! Agent Plugins loader for VT Code.
9//!
10//! Portable plugin format: a directory with a root `plugin.json` manifest,
11//! optional `skills/*/SKILL.md` Agent Skills, and optional `mcp.json` MCP
12//! server configuration. Clients discover, validate, and load components
13//! according to the [Agent Plugins specification](https://agent-plugins.org/specification).
14
15pub mod discovery;
16pub mod errors;
17pub mod expansion;
18pub mod loader;
19pub mod manifest;
20pub mod mcp;
21
22pub use discovery::{DiscoveredSkill, LoadedPlugin};
23pub use errors::PluginError;
24pub use expansion::{
25    default_plugin_data_dir, expand_placeholders, is_reserved_env_key, resolve_cwd, validate_command_token,
26    validate_cwd_form, validate_plugin_relative,
27};
28pub use loader::{FileSystemPluginInstaller, FileSystemPluginLoader, PluginInstaller, PluginLoader, plugin_roots_for};
29pub use manifest::{PluginAuthor, PluginManifest};
30pub use mcp::{HttpServerConfig, McpConfig, ServerConfig, SseServerConfig, StdioServerConfig};