Skip to main content

Crate sqz_engine

Crate sqz_engine 

Source

Re-exports§

pub use advanced_search::AdvancedSearch;
pub use advanced_search::SearchResult;
pub use ansi_strip::AnsiStripper;
pub use ast_parser::AstParser;
pub use ast_parser::ClassDefinition;
pub use ast_parser::CodeSummary;
pub use ast_parser::FunctionSignature;
pub use ast_parser::ImportDecl;
pub use ast_parser::TypeDeclaration;
pub use dependency_mapper::DependencyMapper;
pub use entropy_analyzer::EntropyAnalyzer;
pub use entropy_analyzer::InfoLevel;
pub use entropy_analyzer::AnalyzedBlock;
pub use file_reader::FileReadMode;
pub use file_reader::FileReader;
pub use file_reader::ReadResult;
pub use file_reader::BlockEntropy;
pub use file_reader::compute_entropy;
pub use file_reader::analyze_block_entropies;
pub use image_compressor::ImageCompressor;
pub use image_compressor::ImageDescription;
pub use litm_positioner::ContextSection;
pub use litm_positioner::LitmPositioner;
pub use litm_positioner::LitmStrategy;
pub use litm_positioner::SectionType;
pub use tool_selector::ToolDefinition;
pub use tool_selector::ToolSelector;
pub use budget_tracker::AgentBudget;
pub use budget_tracker::BudgetTracker;
pub use budget_tracker::BudgetWarning;
pub use budget_tracker::UsagePrediction;
pub use budget_tracker::UsageReport;
pub use cache_manager::CacheManager;
pub use cache_manager::CacheResult;
pub use correction_log::ContextWindow;
pub use crp_engine::CrpEngine;
pub use crp_engine::CrpLevel;
pub use cost_calculator::CostBreakdown;
pub use cost_calculator::CostCalculator;
pub use cost_calculator::ModelPricing;
pub use cost_calculator::PricingConfig;
pub use cost_calculator::SessionCostSummary;
pub use cost_calculator::TokenUsage;
pub use cost_calculator::ToolCost;
pub use ctx_format::CtxEnvelope;
pub use ctx_format::CtxFormat;
pub use ctx_format::CtxMetadata;
pub use error::Result;
pub use error::SqzError;
pub use error::SourceLocation;
pub use model_router::ModelRouter;
pub use model_router::RoutingDecision;
pub use model_router::TaskContext;
pub use pipeline::CompressionPipeline;
pub use pipeline::SessionContext;
pub use pin_manager::PinManager;
pub use plugin_api::PluginLoader;
pub use plugin_api::PluginManifest;
pub use plugin_api::PluginSource;
pub use plugin_api::SqzPlugin;
pub use prompt_cache::CacheBoundary;
pub use prompt_cache::Message;
pub use prompt_cache::PromptCacheDetector;
pub use session_store::SessionStore;
pub use session_store::SessionSummary;
pub use session_continuity::SessionContinuityManager;
pub use session_continuity::SessionGuide;
pub use session_continuity::Snapshot;
pub use session_continuity::SnapshotEvent;
pub use session_continuity::SnapshotEventType;
pub use toon::ToonEncoder;
pub use tee_mode::TeeMode;
pub use tee_mode::TeeManager;
pub use tee_mode::TeeEntry;
pub use terse_mode::TerseMode;
pub use token_counter::TokenCounter;
pub use preset::BudgetConfig;
pub use preset::CollapseArraysConfig;
pub use preset::CompressionConfig;
pub use preset::CondenseConfig;
pub use preset::CustomTransformsConfig;
pub use preset::FlattenConfig;
pub use preset::KeepFieldsConfig;
pub use preset::ModelConfig;
pub use preset::ModelPricingConfig;
pub use preset::Preset;
pub use preset::PresetMeta;
pub use preset::PresetParser;
pub use preset::StripFieldsConfig;
pub use preset::StripNullsConfig;
pub use preset::TerseLevel;
pub use preset::TerseModeConfig;
pub use preset::ToolSelectionConfig;
pub use preset::TruncateStringsConfig;
pub use progressive_throttle::ProgressiveThrottler;
pub use progressive_throttle::ThrottleConfig;
pub use progressive_throttle::ThrottleLevel;
pub use dashboard::CommandBreakdown;
pub use dashboard::DashboardConfig;
pub use dashboard::DashboardHtml;
pub use dashboard::DashboardMetrics;
pub use dashboard::DashboardServer;
pub use dashboard::SessionHistoryEntry;
pub use dashboard::ToolBreakdown;
pub use engine::SqzEngine;
pub use hook_manager::generate_platform_config;
pub use hook_manager::known_platforms;
pub use hook_manager::Hook;
pub use hook_manager::HookAction;
pub use hook_manager::HookContext;
pub use hook_manager::HookManager;
pub use hook_manager::HookType;
pub use sandbox_executor::SandboxExecutor;
pub use sandbox_executor::SandboxResult;
pub use sandbox_executor::RuntimeInfo;
pub use sandbox_executor::FilteredOutput;
pub use url_indexer::ContentFetcher;
pub use url_indexer::IndexedChunk;
pub use url_indexer::IndexResult;
pub use url_indexer::UrlIndexer;
pub use types::*;

Modules§

advanced_search
ansi_strip
ast_parser
AST-based code signature extraction using tree-sitter and regex fallbacks.
budget_tracker
cache_manager
correction_log
cost_calculator
crp_engine
ctx_format
dashboard
Local web dashboard with real-time metrics via SSE.
dependency_mapper
Dependency graph builder that parses import/require/use statements to map relationships between files in a project.
engine
entropy_analyzer
Entropy Analyzer — classifies logical blocks by Shannon entropy.
error
file_reader
Multi-mode file reader supporting 8 reading modes for optimal compression.
hook_manager
image_compressor
litm_positioner
model_router
pin_manager
pipeline
plugin_api
preset
progressive_throttle
prompt_cache
sandbox_executor
session_continuity
session_store
stages
tee_mode
terse_mode
token_counter
tool_selector
toon
types
url_indexer