1#![doc = include_str!("../README.md")]
2mod db;
31mod embedder;
32mod error;
33mod paths;
34mod readonly;
35#[cfg(feature = "config")]
36mod settings;
37#[cfg(feature = "config")]
38mod settings_help;
39mod storage;
40mod workspace;
41
42pub use db::{Database, DatabaseBuilder, ExportPage, ExportedFact, FactSnapshot, RecoverReport};
43pub use embedder::{Embedder, NullEmbedder, OpenAiCompatEmbedder, SharedEmbedder};
44pub use error::HostError;
45pub use paths::{default_config_dir, default_config_path, default_data_dir, default_database_path};
46pub use readonly::{ReadOnlyDatabase, Scrub};
47#[cfg(feature = "config")]
48pub use settings::{Settings, SettingsError, WorkspaceSettings, read_config};
49#[cfg(feature = "config")]
50pub use settings_help::{SettingDoc, SettingScope, SettingWarning, SettingsHelp, settings_help};
51pub use storage::{FileScratch, FileStorage, FsyncPolicy};
52pub use workspace::{
53 ARCHIVED_TAG, DEFAULT_IDLE_TIMEOUT_MS, DEFAULT_MAX_OPEN, DbEntry, DbName, Description,
54 ENTRY_TAG, IfMissing, MAX_DB_NAME, MAX_OPEN_CEILING, NameProblem, Opener, ReindexReport,
55 SELF_ENTITY, Workspace, WorkspaceError, WorkspaceIssue, WorkspaceLayout, WorkspaceLimits,
56};
57
58pub use plugmem_core::snapshot::{DEFAULT_SCRUB_BUDGET, ScrubProgress};
61pub use plugmem_core::{
62 Config, EdgeId, EntityId, Error, FactId, FactRecord, LinkInput, MaintainReport,
63 MaintenanceMode, MaintenanceOptions, OpenReport, RecallQuery, RecallResult, RecallScratch,
64 RecalledEdge, RecalledFact, RememberInput, RememberOutcome, ShardLayout, Similar,
65 SimilarReason, Stats, UnlinkInput, VALID_TO_OPEN, fact_flags,
66};
67pub use plugmem_core::{MemScratch, Scratch};