foundry_mcp/core/
mod.rs

1//! Core business logic modules
2
3pub mod context_patch;
4pub mod filesystem;
5pub mod installation;
6pub mod project;
7pub mod spec;
8pub mod templates;
9pub mod validation;
10
11// Selective reexports from filesystem module
12pub use filesystem::{
13    create_dir_all, ensure_foundry_dir, file_exists, foundry_dir, read_file, write_file_atomic,
14};
15
16// Selective reexports from installation module
17pub use installation::{
18    InstallationResult, UninstallationResult, check_binary_accessible, create_installation_result,
19    create_server_config, create_uninstallation_result, detect_binary_path,
20    get_all_environment_statuses, get_claude_code_status, get_cursor_status,
21    get_environment_status, install_for_claude_code, install_for_cursor, install_for_target,
22    read_config_file, uninstall_from_claude_code, uninstall_from_cursor, uninstall_from_target,
23    write_config_file,
24};
25
26// Selective reexports from other modules
27pub use project::*;
28pub use spec::*;
29pub use templates::*;
30pub use validation::*;