pub mod agent_plugin;
#[cfg(feature = "agent-plugins-mcp")]
pub mod agent_plugin_runtime;
#[cfg(feature = "agent-plugins-mcp")]
mod agent_plugin_sse;
pub mod agents;
pub mod cli;
pub mod command;
pub mod completions;
pub mod config;
pub mod config_schema;
pub mod elicitation;
pub mod errors;
pub mod fetch;
pub mod filter;
pub mod formatter;
pub mod help;
#[cfg(feature = "http")]
pub mod http;
pub mod mcp;
#[cfg(any(feature = "http", feature = "agent-plugins-mcp"))]
pub mod mcp_client;
pub mod middleware;
pub mod openapi;
pub mod outbound;
pub mod output;
pub mod pager;
pub mod parser;
pub mod prompt;
pub mod schema;
pub mod skill;
pub mod streaming;
pub mod subscriptions;
pub mod sync_mcp;
pub mod sync_skills;
pub mod telemetry;
pub mod tool;
pub use multicast_macros::{
MulticastArgs as Args, MulticastEnv as Env, MulticastOptions as Options,
};
pub(crate) fn process_env<C: FromIterator<(String, String)>>() -> C {
#[cfg(target_arch = "wasm32")]
{
std::iter::empty().collect()
}
#[cfg(not(target_arch = "wasm32"))]
#[allow(clippy::disallowed_methods)]
{
std::env::vars().collect()
}
}
#[cfg(feature = "agent-plugins-mcp")]
pub(crate) fn process_env_os<C: FromIterator<(std::ffi::OsString, std::ffi::OsString)>>() -> C {
#[cfg(target_arch = "wasm32")]
{
std::iter::empty().collect()
}
#[cfg(not(target_arch = "wasm32"))]
#[allow(clippy::disallowed_methods)]
{
std::env::vars_os().collect()
}
}