1pub mod atomic_write;
8pub mod credentials;
9pub mod errors;
10pub mod install;
11pub mod lockfile;
12pub mod manifest;
13
14pub const VERSION: &str = env!("CARGO_PKG_VERSION");
15
16pub use atomic_write::atomic_write;
17pub use credentials::{
18 Credentials, CredentialsError, Entry as CredentialEntry, DEFAULT_REGISTRY_URL,
19};
20pub use errors::{LockfileError, ManifestError};
21pub use install::{
22 compute_integrity, Command, Hook, McpServer, McpTransport, Prompt, Skill, SkillFile, Subagent,
23};
24pub use lockfile::{
25 parse_lockfile, read_from as read_lockfile_from, write_lockfile, write_to as write_lockfile_to,
26 Integrity, LockEntry, Lockfile, RegistrySource, LOCKFILE_VERSION, REGISTRY_SOURCES,
27};
28pub use manifest::{
29 add_dep, add_shorthand, delete_value as manifest_delete_value, get_value as manifest_get_value,
30 parse_manifest, parse_path as manifest_parse_path, read_from as read_manifest_from,
31 remove_shorthand, sections_containing, sections_containing_id, set_value as manifest_set_value,
32 split_shorthand, update_shorthand, validate_sponsors, write_manifest,
33 write_to as write_manifest_to, AddOutcome, AgentId, DeleteOutcome, DepSpec, Dependencies,
34 GitSpec, Manifest, PackageType, PathError as ManifestPathError, PathSeg as ManifestPathSeg,
35 RegistrySpec, RemoveOutcome, Sponsor, SponsorError, SponsorKind, StringSpec, UpdateOutcome,
36 KNOWN_AGENT_IDS, MAX_SPONSORS, PACKAGE_TYPES,
37};