1pub mod config;
2pub mod discovery;
3pub mod error;
4pub mod guard;
5pub mod hermes;
6pub mod host_api;
7pub mod hub;
8pub mod manifest;
9pub mod script;
10pub mod skill;
11pub mod tool_server;
12pub mod types;
13
14pub use config::{
15 HostApiLimitsConfig, HubSource, PluginOverrideConfig, PluginSecurityConfig, PluginsConfig,
16 PluginsHubConfig,
17};
18pub use discovery::{
19 DiscoveredPlugin, PluginDiscovery, build_plugin_skill_prompt, discover_plugins,
20};
21pub use error::PluginError;
22pub use guard::{
23 ScanFinding, ScanResult, ScanVerdict, Severity, ThreatCategory, VerdictResult,
24 scan_plugin_bundle, should_allow_install,
25};
26pub use hermes::{
27 HermesCliCommand, HermesEntrypointPlugin, HermesPluginManifest, discover_entrypoint_plugins,
28 extract_pre_llm_context, invoke_cli_command as invoke_hermes_cli_command,
29 invoke_hook as invoke_hermes_hook, looks_like_hermes_plugin, parse_hermes_manifest,
30 supports_hook as hermes_supports_hook, synthesize_entrypoint_manifest,
31 synthesize_manifest as synthesize_hermes_manifest,
32};
33pub use host_api::{handle_host_request, is_host_method};
34pub use hub::{
35 HubIndex, HubIndexPlugin, InstallSourceKind, PluginAuditEntry, PluginHubSourceInfo, PluginMeta,
36 PluginSearchGroup, PluginSearchReport, PluginSearchResult, SharedInstallFile,
37 SharedInstallFileSource, append_audit_entry, clear_hub_cache, hub_source_names,
38 hub_source_summaries, install_shared_files, materialize_source_to_dir, read_audit_entries,
39 resolve_install_source, search_hub, search_hub_report, sha256_dir,
40};
41pub use manifest::{
42 INSTALL_METADATA_FILE, InstallMetadata, PluginExecConfig, PluginManifest, PluginRestartPolicy,
43 ensure_installable_manifest, parse_plugin_manifest, read_bundle_install_metadata,
44 write_bundle_install_metadata, write_install_metadata,
45};
46pub use skill::sync::{BundledSyncReport, BundledSyncStatus, bundled_skills_sync};
47pub use types::{PluginKind, PluginStatus, SkillReadinessStatus, SkillSource, TrustLevel};