#[cfg(feature = "chrome")]
mod browser;
pub mod cache;
mod concurrent_chain;
mod config;
mod engine;
mod engine_error;
pub mod executor;
mod helpers;
#[cfg(feature = "memvid")]
pub mod long_term_memory;
pub mod router;
#[cfg(feature = "skills")]
pub mod skills;
pub use spider_agent_types::{
arena_rank,
build_schema_generation_prompt,
categories,
effective_thinking_budget,
effective_thinking_payload,
extract_assistant_content,
extract_html_context,
extract_last_code_block,
extract_last_json_array,
extract_last_json_boundaries,
extract_last_json_object,
extract_thinking_content,
extract_usage,
fnv1a64,
generate_schema,
infer_schema,
infer_schema_from_examples,
is_anthropic_endpoint,
is_url_allowed,
merged_config,
model_profile,
parse_tool_calls,
reasoning_payload,
refine_schema,
supports_pdf,
supports_video,
supports_vision,
thinking_payload,
tool_calls_to_steps,
truncate_utf8_tail,
ActResult,
ActionRecord,
ActionResult,
ActionToolSchemas,
ActionType,
Alternative,
AutomationConfig,
AutomationMemory,
AutomationResult,
AutomationUsage,
CaptureProfile,
ChainBuilder,
ChainCondition,
ChainContext,
ChainResult,
ChainStep,
ChainStepResult,
ChangeType,
Checkpoint,
CheckpointResult,
CheckpointType,
CleaningIntent,
ClipViewport,
ConcurrentChainConfig,
ConcurrentChainResult,
ConfidenceRetryStrategy,
ConfidenceSummary,
ConfidenceTracker,
ConfidentStep,
ContentAnalysis,
CostTier,
DependencyGraph,
DependentStep,
DiffStats,
DiscoveredUrl,
ElementChange,
ExecutionPlan,
ExtractionSchema,
FormField,
FormInfo,
FunctionCall,
FunctionDefinition,
GeneratedSchema,
HealedSelectorCache,
HealingDiagnosis,
HealingRequest,
HealingResult,
HealingStats,
HtmlCleaningProfile,
HtmlDiffMode,
HtmlDiffResult,
InteractiveElement,
MapResult,
MemoryOperation,
ModelCapabilities,
ModelEndpoint,
ModelInfoEntry,
ModelPolicy,
ModelPricing,
ModelProfile,
ModelRanks,
MultiPageContext,
NavigationOption,
PageContext,
PageContribution,
PageObservation,
PageState,
PageStateDiff,
PlanExecutionState,
PlannedStep,
PlanningModeConfig,
PromptUrlGate,
ReasoningEffort,
RecoveryStrategy,
RemoteMultimodalConfig,
ReplanContext,
RetryPolicy,
SchemaCache,
SchemaGenerationRequest,
SelectorCache,
SelectorCacheEntry,
SelectorIssueType,
SelfHealingConfig,
StepResult,
StructuredOutputConfig,
SynthesisConfig,
SynthesisResult,
ToolCall,
ToolCallingMode,
ToolDefinition,
Verification,
VerificationType,
VisionRouteMode,
ACT_SYSTEM_PROMPT,
CHROME_AI_SYSTEM_PROMPT,
CONFIGURATION_SYSTEM_PROMPT,
DEFAULT_SYSTEM_PROMPT,
EXTRACTION_ONLY_SYSTEM_PROMPT,
EXTRACT_SYSTEM_PROMPT,
MAP_SYSTEM_PROMPT,
MODEL_INFO,
OBSERVE_SYSTEM_PROMPT,
};
pub use spider_agent_html::{
clean_html, clean_html_base, clean_html_full, clean_html_raw, clean_html_slim,
clean_html_with_profile, clean_html_with_profile_and_intent, smart_clean_html,
};
pub use config::RemoteMultimodalConfigs;
pub use engine::RemoteMultimodalEngine;
pub use engine_error::{EngineError, EngineResult};
pub use helpers::best_effort_parse_json_object;
pub use concurrent_chain::execute_graph;
#[cfg(feature = "memvid")]
pub use long_term_memory::{
ExperienceMemory, ExperienceMemoryConfig, ExperienceOutcome, ExperienceRecord, MemoryStats,
RecalledExperience,
};
#[cfg(feature = "chrome")]
pub use browser::{
run_remote_multimodal_with_page, run_spawn_pages_concurrent, run_spawn_pages_with_factory,
run_spawn_pages_with_options, PageFactory, PageSetupFn, SpawnPageOptions, SpawnedPageResult,
};