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;
47pub mod layering;
48mod links;
49mod markers;
50pub mod media;
55mod memory;
59mod migrations;
60mod model;
61#[cfg(feature = "models")]
65pub mod model_choice;
66#[cfg(feature = "models")]
67mod models;
68mod provenance;
69mod query;
70pub mod paths;
84pub mod reference;
85pub mod compile_claim;
91pub mod review_corpus;
92pub mod review_score;
93pub mod okf_consent;
98pub mod reviewer;
99pub mod screen;
100mod store;
101mod sync;
102mod text;
103pub mod topology;
104pub mod trust;
110mod workspace;
111
112pub use artifact::{ARTIFACT_SCHEMA, GraphArtifact};
113#[cfg(feature = "audio-metadata")]
114pub use audio::{AUDIO_STREAM_KIND, AudioDuration, AudioFacts, AudioTag, Exactness};
115pub use cache::{CacheError, ObjectCache, ObjectSweep};
116pub use clock::{age_in_days, rfc3339_from_unix, rfc3339_utc, unix_from_rfc3339};
117pub use codegraph::{ORACLE_SCHEMA, OracleError, OracleReport, compare as compare_codegraph};
118pub use config_keys::{
119 ConfigKey, canonicalize as canonicalize_config_key, flatten as flatten_config, is_config_path,
120 is_secret_key, is_tooling_config_path, normalize as normalize_config_key,
121};
122pub use context::{
123 BoundedEdges, ContextEdge, ContextNode, ContextRefresh, NodeContext, OmittedEdges,
124 TOOL_CONTEXT_EDGE_CAP, ToolContext, build_context, context, dependents, refresh_contexts,
125 tool_context,
126};
127pub use extract::{
128 Extractor, FileNodeExtractor, IngestConfig, MediaEngineGuard, Registry, RustExtractor,
129 cap_content, is_prose, release_media_engines,
130};
131pub use findings::{
132 AdvisoryDb, AnalysisRun, CommandPolicy, EnvironmentPolicy, FINDING_KEY_PREFIX, Finding,
133 FindingKey, FindingsApplied, FindingsError, FindingsLayer, Isolation, MAX_ANALYZER_ID,
134 MAX_IDENTITY_PART, NetworkPolicy, RunnerKind, SECURITY_LAYER_PREFIX, Severity, SourceIdentity,
135 WorktreeAccess, WorktreeId, analyzer_id_error, is_valid_analyzer_id, layer_key,
136};
137pub use git::{
138 BaseResolution, BlobRef, ChangeStatus, ChangedFile, GitError, GraphSource, PathAuthor, Repo,
139 Submodule, Upstream,
140};
141#[cfg(feature = "inference")]
142pub use infer::{
143 DuplicateConfig, DuplicatePair, DuplicateReport, EMBED_REF, Embedder, HashEmbedder,
144 InferenceConfig, duplicates, duplicates_with, embed, infer_edges, infer_edges_with, similarity,
145};
146pub use links::{
147 EXTERNAL_REF_KIND, LINKS_AUTHORED_REF, LINKS_REF, external_ref_key, external_ref_node,
148 external_ref_node_with, external_ref_target,
149};
150pub use markers::is_scan_exempt;
153pub use media::{
154 CandidateCount, GateReason, GateThresholds, GeneratedContent, MAX_MODEL_ID, MAX_PROMPT,
155 MEDIA_PRODUCER_PREFIX, MEDIA_SCHEMA, MediaBlob, MediaBuildOptions, MediaBuildReport,
156 MediaError, MediaFilter, MediaKind, MediaOutcome, MediaProducer, MediaRecord, MediaSkip,
157 MediaStatus, MediaWrite, Producer, ProducerId, ProducerSummary, ProducerSummaryAvailable,
158 SkipEntry, build_media, is_valid_model_id, media_blobs, status as media_status,
159};
160pub use memory::{
161 AnchorState, CACHE_BUDGET_ENV, CACHE_SCHEMA, CacheEntry, CacheStats, CacheSweep, CacheWrite,
162 DEFAULT_BASE_CONFIDENCE, DEFAULT_CACHE_BUDGET_BYTES, DEFAULT_DECAY_SPAN, DEFAULT_HALF_LIFE,
163 DEFAULT_MEMORY_SCOPE, Decay, MAX_MEMORY_BODY, MAX_MEMORY_SCOPE, MEMORY_SCHEMA, MemoryAnchor,
164 MemoryError, MemoryFilter, MemoryForgotten, MemoryKind, MemoryListing, MemoryRecord,
165 MemoryWrite, RECALL_SCHEMA, Recall, RecallOptions, Recalled, anchor_penalty,
166 cache_budget_bytes,
167};
168pub use model::{Direction, Edge, EdgeKind, FactSet, Node, NodeKind, Span};
169#[cfg(feature = "models")]
170pub use model_choice::{
171 DEFAULT_GENERATIVE, DEFAULT_OCR, ModelChoice, ModelChoiceError, ModelPins, ModelSource,
172 ModelTask, RemoteTier, TASKS as MODEL_TASKS, resolve as resolve_model,
173 resolve_all_with as resolve_models, resolve_with as resolve_model_with,
174 resolve_with_remote as resolve_model_with_remote, set_model_pins,
175};
176#[cfg(feature = "models")]
177pub use models::{
178 DownloadError, DownloadEvent, ModelFile, ModelKind, ModelRole, ModelSpec, ModelVariant,
179 Platform, REGISTRY, RangeKind, RangeReply, Removal, ResourceTier, discard_partial,
180 download_resumable, download_verified, ensure_model_dir, find as find_model, installed_size,
181 interpret_range_response, is_installed, model_dir, partial_meta_path, partial_path,
182 remove_model, set_model_store, sha256_hex, store_root, verify_sha256,
183};
184pub use okf_consent::{
185 ConsentState, OkfConsent, OkfDecision, screen_fingerprint, screen_regressed,
186};
187pub use paths::{PathClass, PathPolicy, glob_match};
188pub use provenance::Provenance;
189pub use query::{
190 ConfigSecretItem, ConfigSecretReport, CouplingItem, CouplingOrder, CouplingReport,
191 DEFAULT_MIN_LINES, DebtDensityReport, DebtItem, DebtReport, DensityItem, DensityOrder, EdgeRef,
192 Explanation, GeneratedHit, Listing, MemoryHit, NodeSummary, Path, PathHop, RedactionState,
193 SCHEMA, SearchHit, SearchOptions, SearchResults, config_secrets, coupling, debt, debt_density,
194 explain, list_kind, path, search, search_channels, window,
195};
196pub use reference::{
197 AccessDate, Attested, Author, Day, Doi, GivenName, Locator, Month, NotADay, NotADoi,
198 NotAGivenName, NotAYear, PublicationDate, Reference, Stability, WorkKind, Year,
199 is_printable_identifier,
200};
201pub use store::{ImportApplied, SchemaAhead, Store, StoreError};
202pub use sync::{
203 DEFAULT_KEEP_GENERATIONS, ReclaimReport, SyncError, SyncReport, extraction_identity,
204 sweep_superseded, sync, sync_index, sync_tree, sync_worktree,
205};
206pub use text::{
207 Heading, LinkKind, LinkScope, MarkdownLink, code_spans, first_h1, heading_id, heading_id_from,
208 heading_text, headings, is_code_fence, link_scope, markdown_dialect, markdown_links, slugify,
209 strip_code_spans, wiki_link_targets,
210};
211pub use trust::ProducerTrust;
212pub use workspace::{
213 Follow, OKF_BUNDLE_DIR, OkfBundle, OnOpen, ReloadPlan, ResolvedWorkspace, RootScan,
214 SetReloadPlan, Workspace, WorkspaceError, WorkspaceSet, Worktrees, discover_okf_bundles,
215 discover_repos_under, is_linked_worktree, okf_bundle_in, parse_qualified, scan_root,
216};