Skip to main content

dot_agent_core/
lib.rs

1pub mod category;
2pub mod channel;
3pub mod config;
4pub mod error;
5pub mod install;
6pub mod llm;
7pub mod platform;
8pub mod plugin;
9pub mod profile;
10pub mod rule;
11
12pub use channel::{
13    Channel, ChannelManager, ChannelRef, ChannelRegistry, ChannelSource, ChannelType, Hub,
14    HubRegistry, ProfileRef, SearchOptions,
15};
16pub use config::Config;
17pub use error::{DotAgentError, Result};
18pub use install::{
19    is_mergeable_json, merge_json, merge_json_file, unmerge_json, unmerge_json_file, DiffResult,
20    FileInfo, FileStatus, InstallOptions, InstallResult, Installer, MergeRecord, MergeResult,
21    Metadata, ProfileSnapshotManager, Snapshot, SnapshotDiff, SnapshotManager, SnapshotTrigger,
22    UnmergeResult,
23};
24pub use llm::{check_claude_cli, execute_claude, require_claude_cli, LlmConfig};
25pub use platform::{InstallTarget, Platform};
26pub use plugin::{
27    FilterConfig, PluginManifest, PluginRegistrar, PluginRegistrationResult, DEFAULT_COMPONENT_DIRS,
28};
29pub use profile::{
30    migrate_existing_profiles, CollectedFile, FusionConfig, FusionConflict, FusionExecutor,
31    FusionPlan, FusionResult, FusionSpec, IgnoreConfig, PluginConfig, PluginScope, Profile,
32    ProfileIndexEntry, ProfileInfo, ProfileManager, ProfileMetadata, ProfileSource, ProfilesIndex,
33    DEFAULT_EXCLUDED_DIRS,
34};
35pub use rule::{extract_rule, generate_rule, ApplyResult, Rule, RuleExecutor, RuleManager};
36
37// Category system
38pub use category::{
39    BuiltinCategory, CategoriesConfig, CategoryClassifier, CategoryConfigEntry, CategoryDef,
40    CategoryStore, ClassificationMode, ClassifiedProfile, FileClassification, BUILTIN_CATEGORIES,
41};