Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jun 22, 2026 Changes in this version + const ActionClick + const ActionClosePage + const ActionCrawl + const ActionDownloadList + const ActionExtract + const ActionFetch + const ActionListPages + const ActionMap + const ActionNavigate + const ActionNetworkList + const ActionNetworkPolicy + const ActionOpen + const ActionPress + const ActionScreenshot + const ActionScroll + const ActionSearch + const ActionSearchContent + const ActionSelectPage + const ActionSetNetworkPolicy + const ActionSnapshot + const ActionType + const ActionWait + const CategoryInteract + const CategoryNavigate + const CategoryRead + const CategorySearch + const CategorySession + const RenderModeAuto + const RenderModeBrowser + const RenderModeHTTP + var PreapprovedHosts = map[string]bool + var PreapprovedPathPrefixes = map[string][]string + func EnrichBrowserPermissionInput(input map[string]any, action string, currentURL string) map[string]any + func EnrichFetchPermissionInput(input map[string]any) map[string]any + func EnrichSearchPermissionInput(input map[string]any) map[string]any + func EvaluatePermission(input map[string]any) types.PermissionResult + func HostMatchesDomain(host string, domain string) bool + func IsPreapproved(hostname string) bool + func IsPreapprovedPath(hostname, pathname string) bool + func NormalizeHost(host string) string + func PermissionMatcher(input map[string]any) func(string) bool + func RejectLocalDialTarget(ctx context.Context, address string, resolver HostResolver) error + func RejectLocalNetworkTarget(parsed *url.URL) error + func ResolveAndRejectLocalNetworkTarget(ctx context.Context, parsed *url.URL, resolver HostResolver) error + type ArtifactStore = storage.ArtifactStore + type BrowserManager = browsercore.Manager + type CrawlPage struct + Content string + Depth int + FinalURL string + Mode string + PersistedPath string + PersistedSize int + URL string + type CrawlRequest struct + ExcludePatterns []string + IncludePatterns []string + IncludeSubdomains bool + MaxDepth int + MaxPages int + RenderMode string + SessionID types.SessionID + URL string + type CrawlResponse struct + Pages []CrawlPage + RootURL string + type CrawlService interface + Crawl func(ctx context.Context, request CrawlRequest) (CrawlResponse, error) + type DomainCategory struct + Domains []string + ID string + Icon string + Label string + func DomainCatalog() []DomainCategory + type FetchRequest struct + RenderMode string + SessionID types.SessionID + URL string + type FetchResponse struct + BrowserRecommended bool + Bytes int + Code int + CodeText string + Content string + ContentType string + FinalURL string + Mode string + PersistedPath string + PersistedSize int + Redirect *RedirectInfo + type FetchService interface + Fetch func(ctx context.Context, request FetchRequest) (FetchResponse, error) + type HostResolver interface + LookupNetIP func(ctx context.Context, network string, host string) ([]netip.Addr, error) + func DefaultResolver() HostResolver + type MapEntry struct + Source string + URL string + type MapRequest struct + IncludeSubdomains bool + MaxURLs int + URL string + type MapResponse struct + RootURL string + URLs []MapEntry + type MapService interface + Map func(ctx context.Context, request MapRequest) (MapResponse, error) + type RedirectInfo struct + OriginalURL string + RedirectURL string + StatusCode int + Type string + type SearchRequest struct + AllowedDomains []string + BlockedDomains []string + Query string + type SearchResponse struct + DurationSeconds float64 + Provider string + Query string + Results []SearchResult + type SearchResult struct + Description string + Source string + Title string + URL string + type SearchService interface + Search func(ctx context.Context, request SearchRequest) (SearchResponse, error) + type TTLCache struct + func NewTTLCache[V any](config TTLCacheConfig) *TTLCache[V] + func (c *TTLCache[V]) Clear() + func (c *TTLCache[V]) Get(key string) (V, bool) + func (c *TTLCache[V]) Set(key string, value V) + type TTLCacheConfig struct + MaxItems int + TTL time.Duration