Expand description
Core types, source card model, configuration, and error types for eggsearch. This module is intentionally independent of any MCP, HTTP, or search-engine implementation.
Re-exports§
pub use config::AppConfig;pub use config::LiveConfig;pub use config::Mode;pub use config::SearchSection;pub use error::CoreError;pub use error::CoreResult;pub use fetch::ExtractMode;pub use fetch::ExtractedLink;pub use fetch::FetchTrust;pub use fetch::WebFetchRequest;pub use fetch::WebFetchResponse;pub use provider::built_in_provider_descriptor;pub use provider::ProviderCapabilities;pub use provider::ProviderDescriptor;pub use provider::ProviderKind;pub use provider::KNOWN_PROVIDER_IDS;pub use query::resolve_max_results;pub use query::MaxResultsResolution;pub use query::SafeSearch;pub use query::WebSearchRequest;pub use result::SearchWarning;pub use result::TrustLevel;pub use sanitize::bound_text;pub use sanitize::frame;pub use sanitize::scan_injection_markers;pub use sanitize::strip_control_chars;pub use sanitize::MarkerHit;pub use sanitize::TrustMarkers;pub use sanitize::SNIPPET_MAX_CHARS;pub use sanitize::TITLE_MAX_CHARS;pub use source_card::SourceCard;
Modules§
- config
- Configuration model and loader for eggsearch.
- error
- Error types for eggsearch-core.
- fetch
- Fetch request/response types for the
web_fetchtool. - provider
- Provider capability model and descriptors.
- query
- Query/request types accepted by the MCP
web_searchtool. - result
- Result-level types: trust labels and per-provider warnings.
- sanitize
- Sanitization helpers for untrusted text from web search/fetch.
- source_
card - Compact
SourceCardrepresentation passed to agents.