Skip to main content

termesh_workspace/
lib.rs

1//! Project roots, sessions, settings, project-type detection. Phase 02.
2//!
3//! See ARCHITECTURE.md ยง7 for how this crate fits the workspace.
4#![forbid(unsafe_code)]
5
6pub mod drafts;
7pub mod language;
8pub mod permissions;
9pub mod root;
10pub mod session;
11pub mod snapshot;
12
13pub use language::{LanguageSettings, LanguageSettingsError};
14pub use permissions::{CommandGrant, FilePermissionStore, PermissionPolicy, PermissionStore};
15pub use root::{detect_root, kind_labels, project_kind_of, ProjectKind, WorkspaceRoot};
16pub use session::{
17    AgentHistoryLine, AgentHistorySpeaker, FileSessionStore, MemorySessionStore, PaneGeometry,
18    RestoredWorkspace, Session, SessionDiagnostic, SessionStore,
19};
20pub use snapshot::{TreeEntry, WorkspaceSnapshot};