Skip to main content

Crate nexo_plugin_manifest

Crate nexo_plugin_manifest 

Source
Expand description

nexo-plugin.toml manifest schema + validator.

Defines the TOML manifest contract every native Rust nexo plugin must ship.

Distinction vs crates/extensions/<n>/plugin.toml: that schema describes subprocess tool extensions (stdio / HTTP MCP servers spawned as separate processes). This schema describes native Rust plugins that link into the daemon and ship full mini-applications (agents + tools + skills + channels + advisors + capability gates).

Re-exports§

pub use discover::discover_in_root;
pub use discover::PLUGIN_MANIFEST_FILENAMES;
pub use config_schema::is_validation_bypassed;
pub use config_schema::validate_config;
pub use config_schema::ConfigSchemaError;
pub use config_schema::SKIP_SCHEMA_ENV;
pub use error::ManifestError;
pub use manifest::AdminCapabilities;
pub use manifest::AdvisorsSection;
pub use manifest::AgentsSection;
pub use manifest::BrokerCapability;
pub use manifest::Capabilities;
pub use manifest::Capability;
pub use manifest::CapabilityGateDecl;
pub use manifest::CapabilityGatesSection;
pub use manifest::ChannelDecl;
pub use manifest::ChannelsSection;
pub use manifest::ConfigSchemaSection;
pub use manifest::ConfigSection;
pub use manifest::ConfigShape;
pub use manifest::ContractsSection;
pub use manifest::CredentialsSchemaSection;
pub use manifest::EntrypointSection;
pub use manifest::ExtendsSection;
pub use manifest::GateKind;
pub use manifest::GateRisk;
pub use manifest::HttpServerCapability;
pub use manifest::MetaSection;
pub use manifest::PluginManifest;
pub use manifest::PluginSection;
pub use manifest::RequiresSection;
pub use manifest::SkillsSection;
pub use manifest::SupervisorSection;
pub use manifest::ToolsSection;
pub use manifest::UiHint;
pub use manifest::UiSection;
pub use manifest::CURRENT_MANIFEST_VERSION;
pub use manifest::EXTENDS_SECTIONS;
pub use manifest::PLUGIN_MANIFEST_FILENAME;
pub use manifest::SUPERVISOR_STDERR_TAIL_MAX;
pub use pairing::PairingFieldDescriptor;
pub use pairing::PairingKind;
pub use pairing::PairingSection;
pub use poller::PluginPollerSection;
pub use poller::PollerLifecycle;
pub use public_tunnel::PluginPublicTunnelSection;
pub use sandbox::contains_state_dir_token;
pub use sandbox::path_under_or_equals_denylist;
pub use sandbox::SandboxNetwork;
pub use sandbox::SandboxPathKind;
pub use sandbox::SandboxSection;
pub use sandbox::SANDBOX_DENYLIST_HOME_SUBPATHS;
pub use sandbox::SANDBOX_DENYLIST_HOST_PATHS;
pub use sandbox::SANDBOX_STATE_DIR_TOKEN;

Modules§

admin
Phase 81.33.b.real Stage 4 — [plugin.admin] manifest section.
compat_v1
manifest_version = 1 legacy compat layer.
config_schema
Install-time config schema validation.
dashboard
Phase 81.33.b.real Stage 6 — [plugin.dashboard] manifest section.
discover
Plugin manifest discovery in a plugin root.
error
Typed errors for manifest parse + validation.
http
Phase 81.33.b.real Stage 2 — [plugin.http] manifest section.
id_regex
Shared plugin id regex + reserved id list.
manifest
nexo-plugin.toml schema definitions + parser.
metrics
Phase 81.33.b.real Stage 5 — [plugin.metrics] manifest section.
pairing
Plugin-driven pairing UI descriptor.
poller
Phase 96 — [plugin.poller] manifest section.
public_tunnel
Public-internet tunnel declaration.
sandbox
Plugin sandbox manifest schema.
validate
4-tier defensive validation for PluginManifest.