Skip to main content

Crate swink_agent_plugin_web

Crate swink_agent_plugin_web 

Source
Expand description

Web browsing plugin for swink-agent.

Provides tools for fetching web pages, searching the web, capturing screenshots, and extracting structured content. Includes safety policies for domain filtering, rate limiting, and content sanitization.

Structs§

DomainFilter
Domain allowlist/denylist with built-in SSRF protection.
ExtractedElement
A single extracted element from a web page.
FetchedContent
Result of extracting readable content from raw HTML.
SearchResult
A single search result.
Viewport
Viewport dimensions for screenshots.
WebPlugin
Web browsing plugin for swink-agent.
WebPluginConfig
Configuration for the web plugin.
WebPluginConfigBuilder
Builder for WebPluginConfig.

Enums§

DomainFilterError
Errors from domain filtering.
ExtractionPreset
Preset extraction types.
SearchError
Errors from search providers.
SearchProviderKind
Which search backend to use.
WebPluginError
Errors returned when constructing a WebPlugin.

Traits§

SearchProvider
Abstraction over different search backends.