Expand description
Project roots, sessions, settings, project-type detection. Phase 02.
See ARCHITECTURE.md §7 for how this crate fits the workspace.
Re-exports§
pub use language::LanguageSettings;pub use language::LanguageSettingsError;pub use permissions::CommandGrant;pub use permissions::FilePermissionStore;pub use permissions::PermissionPolicy;pub use permissions::PermissionStore;pub use root::detect_root;pub use root::kind_labels;pub use root::project_kind_of;pub use root::ProjectKind;pub use root::WorkspaceRoot;pub use session::AgentHistoryLine;pub use session::AgentHistorySpeaker;pub use session::FileSessionStore;pub use session::MemorySessionStore;pub use session::PaneGeometry;pub use session::RestoredWorkspace;pub use session::Session;pub use session::SessionDiagnostic;pub use session::SessionStore;pub use snapshot::TreeEntry;pub use snapshot::WorkspaceSnapshot;
Modules§
- drafts
- Crash-recovery drafts persisted through
FileSystemService(ADR-0014 §5). - language
- Workspace-local language-server command overrides.
- permissions
- Exact, workspace-scoped grants for agent-managed terminal commands (ADR-0008 §5).
- root
- Workspace root and project-type detection (ADR-0005 §6, ARCHITECTURE.md §16 Phase 02).
- session
- Session persistence: recent workspaces, and which one to reopen (ARCHITECTURE.md §13, §16 Phase 02).
- snapshot
- The slice of workspace state offered to the agent as context (ADR-0005 §7, ARCHITECTURE.md §9.2).