mod artifact;
#[cfg(feature = "audio-metadata")]
pub mod audio;
mod cache;
mod codegraph;
mod config_keys;
mod context;
mod extract;
mod findings;
mod git;
#[cfg(feature = "inference")]
mod infer;
mod links;
mod markers;
pub mod media;
mod memory;
mod migrations;
mod model;
#[cfg(feature = "models")]
pub mod model_choice;
#[cfg(feature = "models")]
mod models;
mod provenance;
mod query;
pub mod compile_claim;
pub mod review_corpus;
pub mod review_score;
pub mod reviewer;
mod store;
mod sync;
pub mod trust;
mod workspace;
pub use artifact::{ARTIFACT_SCHEMA, GraphArtifact};
#[cfg(feature = "audio-metadata")]
pub use audio::{AUDIO_STREAM_KIND, AudioDuration, AudioFacts, AudioTag, Exactness};
pub use cache::{CacheError, ObjectCache, ObjectSweep};
pub use codegraph::{ORACLE_SCHEMA, OracleError, OracleReport, compare as compare_codegraph};
pub use config_keys::{
ConfigKey, canonicalize as canonicalize_config_key, flatten as flatten_config, is_config_path,
is_secret_key, is_tooling_config_path, normalize as normalize_config_key,
};
pub use context::{
ContextRefresh, NodeContext, build_context, context, dependents, refresh_contexts,
};
pub use extract::{
Extractor, FileNodeExtractor, IngestConfig, MediaEngineGuard, Registry, RustExtractor,
release_media_engines,
};
pub use findings::{
AdvisoryDb, AnalysisRun, CommandPolicy, EnvironmentPolicy, FINDING_KEY_PREFIX, Finding,
FindingKey, FindingsApplied, FindingsError, FindingsLayer, Isolation, MAX_ANALYZER_ID,
MAX_IDENTITY_PART, NetworkPolicy, RunnerKind, SECURITY_LAYER_PREFIX, Severity, SourceIdentity,
WorktreeAccess, WorktreeId, analyzer_id_error, is_valid_analyzer_id, layer_key,
};
pub use git::{BlobRef, ChangeStatus, ChangedFile, GitError, Repo, Submodule};
#[cfg(feature = "inference")]
pub use infer::{
DuplicateConfig, DuplicatePair, DuplicateReport, EMBED_REF, Embedder, HashEmbedder,
InferenceConfig, duplicates, duplicates_with, embed, infer_edges, infer_edges_with, similarity,
};
pub use links::{
EXTERNAL_REF_KIND, LINKS_REF, external_ref_key, external_ref_node, external_ref_target,
};
pub use media::{
CandidateCount, GateReason, GateThresholds, GeneratedContent, MAX_MODEL_ID, MAX_PROMPT,
MEDIA_PRODUCER_PREFIX, MEDIA_SCHEMA, MediaBlob, MediaBuildOptions, MediaBuildReport,
MediaError, MediaFilter, MediaKind, MediaOutcome, MediaProducer, MediaRecord, MediaSkip,
MediaStatus, MediaWrite, Producer, ProducerId, ProducerSummary, ProducerSummaryAvailable,
SkipEntry, build_media, is_valid_model_id, media_blobs, status as media_status,
};
pub use memory::{
AnchorState, CACHE_BUDGET_ENV, CACHE_SCHEMA, CacheEntry, CacheStats, CacheSweep, CacheWrite,
DEFAULT_BASE_CONFIDENCE, DEFAULT_CACHE_BUDGET_BYTES, DEFAULT_DECAY_SPAN, DEFAULT_HALF_LIFE,
DEFAULT_MEMORY_SCOPE, Decay, MAX_MEMORY_BODY, MAX_MEMORY_SCOPE, MEMORY_SCHEMA, MemoryAnchor,
MemoryError, MemoryFilter, MemoryForgotten, MemoryKind, MemoryListing, MemoryRecord,
MemoryWrite, RECALL_SCHEMA, Recall, RecallOptions, Recalled, anchor_penalty,
cache_budget_bytes,
};
pub use model::{Direction, Edge, EdgeKind, FactSet, Node, NodeKind, Span};
#[cfg(feature = "models")]
pub use model_choice::{
DEFAULT_GENERATIVE, DEFAULT_OCR, ModelChoice, ModelChoiceError, ModelPins, ModelSource,
ModelTask, RemoteTier, TASKS as MODEL_TASKS, resolve as resolve_model,
resolve_all_with as resolve_models, resolve_with as resolve_model_with,
resolve_with_remote as resolve_model_with_remote, set_model_pins,
};
#[cfg(feature = "models")]
pub use models::{
DownloadError, DownloadEvent, ModelFile, ModelKind, ModelRole, ModelSpec, ModelVariant,
Platform, REGISTRY, RangeKind, RangeReply, Removal, ResourceTier, discard_partial,
download_resumable, download_verified, ensure_model_dir, find as find_model, installed_size,
interpret_range_response, is_installed, model_dir, partial_meta_path, partial_path,
remove_model, set_model_store, sha256_hex, store_root, verify_sha256,
};
pub use provenance::Provenance;
pub use query::{
ConfigSecretItem, ConfigSecretReport, CouplingItem, CouplingOrder, CouplingReport,
DEFAULT_MIN_LINES, DebtDensityReport, DebtItem, DebtReport, DensityItem, DensityOrder, EdgeRef,
Explanation, GeneratedHit, Listing, MemoryHit, NodeSummary, Path, PathHop, RedactionState,
SCHEMA, SearchHit, SearchOptions, SearchResults, config_secrets, coupling, debt, debt_density,
explain, list_kind, path, search, search_channels, window,
};
pub use store::{ImportApplied, SchemaAhead, Store, StoreError};
pub use sync::{
DEFAULT_KEEP_GENERATIONS, ReclaimReport, SyncError, SyncReport, sweep_superseded, sync,
sync_index, sync_tree, sync_worktree,
};
pub use trust::ProducerTrust;
pub use workspace::{
Follow, ResolvedWorkspace, Workspace, WorkspaceError, WorkspaceSet, discover_repos_under,
parse_qualified,
};