1mod artifact;
15pub mod authorship;
21#[cfg(feature = "audio-metadata")]
26pub mod audio;
27mod cache;
28mod clock;
33mod codegraph;
34mod config_keys;
35mod context;
36mod extract;
41mod findings;
44mod git;
45#[cfg(feature = "inference")]
46mod infer;
47mod links;
48mod markers;
49pub mod media;
54mod memory;
58mod migrations;
59mod model;
60#[cfg(feature = "models")]
64pub mod model_choice;
65#[cfg(feature = "models")]
66mod models;
67mod provenance;
68mod query;
69pub mod compile_claim;
75pub mod review_corpus;
76pub mod review_score;
77pub mod reviewer;
82mod store;
83mod sync;
84mod text;
85pub mod topology;
88pub mod trust;
94mod workspace;
95
96pub use artifact::{ARTIFACT_SCHEMA, GraphArtifact};
97#[cfg(feature = "audio-metadata")]
98pub use audio::{AUDIO_STREAM_KIND, AudioDuration, AudioFacts, AudioTag, Exactness};
99pub use cache::{CacheError, ObjectCache, ObjectSweep};
100pub use clock::{age_in_days, rfc3339_from_unix, rfc3339_utc, unix_from_rfc3339};
101pub use codegraph::{ORACLE_SCHEMA, OracleError, OracleReport, compare as compare_codegraph};
102pub use config_keys::{
103 ConfigKey, canonicalize as canonicalize_config_key, flatten as flatten_config, is_config_path,
104 is_secret_key, is_tooling_config_path, normalize as normalize_config_key,
105};
106pub use context::{
107 BoundedEdges, ContextEdge, ContextNode, ContextRefresh, NodeContext, OmittedEdges,
108 TOOL_CONTEXT_EDGE_CAP, ToolContext, build_context, context, dependents, refresh_contexts,
109 tool_context,
110};
111pub use extract::{
112 Extractor, FileNodeExtractor, IngestConfig, MediaEngineGuard, Registry, RustExtractor,
113 cap_content, is_prose, release_media_engines,
114};
115pub use findings::{
116 AdvisoryDb, AnalysisRun, CommandPolicy, EnvironmentPolicy, FINDING_KEY_PREFIX, Finding,
117 FindingKey, FindingsApplied, FindingsError, FindingsLayer, Isolation, MAX_ANALYZER_ID,
118 MAX_IDENTITY_PART, NetworkPolicy, RunnerKind, SECURITY_LAYER_PREFIX, Severity, SourceIdentity,
119 WorktreeAccess, WorktreeId, analyzer_id_error, is_valid_analyzer_id, layer_key,
120};
121pub use git::{
122 BaseResolution, BlobRef, ChangeStatus, ChangedFile, GitError, GraphSource, PathAuthor, Repo,
123 Submodule, Upstream,
124};
125#[cfg(feature = "inference")]
126pub use infer::{
127 DuplicateConfig, DuplicatePair, DuplicateReport, EMBED_REF, Embedder, HashEmbedder,
128 InferenceConfig, duplicates, duplicates_with, embed, infer_edges, infer_edges_with, similarity,
129};
130pub use links::{
131 EXTERNAL_REF_KIND, LINKS_AUTHORED_REF, LINKS_REF, external_ref_key, external_ref_node,
132 external_ref_node_with, external_ref_target,
133};
134pub use markers::is_scan_exempt;
137pub use media::{
138 CandidateCount, GateReason, GateThresholds, GeneratedContent, MAX_MODEL_ID, MAX_PROMPT,
139 MEDIA_PRODUCER_PREFIX, MEDIA_SCHEMA, MediaBlob, MediaBuildOptions, MediaBuildReport,
140 MediaError, MediaFilter, MediaKind, MediaOutcome, MediaProducer, MediaRecord, MediaSkip,
141 MediaStatus, MediaWrite, Producer, ProducerId, ProducerSummary, ProducerSummaryAvailable,
142 SkipEntry, build_media, is_valid_model_id, media_blobs, status as media_status,
143};
144pub use memory::{
145 AnchorState, CACHE_BUDGET_ENV, CACHE_SCHEMA, CacheEntry, CacheStats, CacheSweep, CacheWrite,
146 DEFAULT_BASE_CONFIDENCE, DEFAULT_CACHE_BUDGET_BYTES, DEFAULT_DECAY_SPAN, DEFAULT_HALF_LIFE,
147 DEFAULT_MEMORY_SCOPE, Decay, MAX_MEMORY_BODY, MAX_MEMORY_SCOPE, MEMORY_SCHEMA, MemoryAnchor,
148 MemoryError, MemoryFilter, MemoryForgotten, MemoryKind, MemoryListing, MemoryRecord,
149 MemoryWrite, RECALL_SCHEMA, Recall, RecallOptions, Recalled, anchor_penalty,
150 cache_budget_bytes,
151};
152pub use model::{Direction, Edge, EdgeKind, FactSet, Node, NodeKind, Span};
153#[cfg(feature = "models")]
154pub use model_choice::{
155 DEFAULT_GENERATIVE, DEFAULT_OCR, ModelChoice, ModelChoiceError, ModelPins, ModelSource,
156 ModelTask, RemoteTier, TASKS as MODEL_TASKS, resolve as resolve_model,
157 resolve_all_with as resolve_models, resolve_with as resolve_model_with,
158 resolve_with_remote as resolve_model_with_remote, set_model_pins,
159};
160#[cfg(feature = "models")]
161pub use models::{
162 DownloadError, DownloadEvent, ModelFile, ModelKind, ModelRole, ModelSpec, ModelVariant,
163 Platform, REGISTRY, RangeKind, RangeReply, Removal, ResourceTier, discard_partial,
164 download_resumable, download_verified, ensure_model_dir, find as find_model, installed_size,
165 interpret_range_response, is_installed, model_dir, partial_meta_path, partial_path,
166 remove_model, set_model_store, sha256_hex, store_root, verify_sha256,
167};
168pub use provenance::Provenance;
169pub use query::{
170 ConfigSecretItem, ConfigSecretReport, CouplingItem, CouplingOrder, CouplingReport,
171 DEFAULT_MIN_LINES, DebtDensityReport, DebtItem, DebtReport, DensityItem, DensityOrder, EdgeRef,
172 Explanation, GeneratedHit, Listing, MemoryHit, NodeSummary, Path, PathHop, RedactionState,
173 SCHEMA, SearchHit, SearchOptions, SearchResults, config_secrets, coupling, debt, debt_density,
174 explain, list_kind, path, search, search_channels, window,
175};
176pub use store::{ImportApplied, SchemaAhead, Store, StoreError};
177pub use sync::{
178 DEFAULT_KEEP_GENERATIONS, ReclaimReport, SyncError, SyncReport, sweep_superseded, sync,
179 sync_index, sync_tree, sync_worktree,
180};
181pub use text::{
182 Heading, first_h1, heading_id, heading_id_from, heading_text, headings, markdown_dialect,
183 slugify,
184};
185pub use trust::ProducerTrust;
186pub use workspace::{
187 Follow, ResolvedWorkspace, RootScan, Workspace, WorkspaceError, WorkspaceSet,
188 discover_repos_under, parse_qualified, scan_root,
189};