Skip to main content

a3s_code_core/code_intelligence/
mod.rs

1//! Workspace-scoped semantic code intelligence contracts.
2//!
3//! This module defines read-only, language-aware queries over saved workspace
4//! documents. Concrete runtimes live behind [`WorkspaceCodeIntelligence`] so
5//! TUI, web, and agent integrations can share one source of semantic results.
6
7pub(crate) mod diagnostics;
8pub(crate) mod document_store;
9mod error;
10pub(crate) mod language_profile;
11pub(crate) mod language_runtime;
12mod local_provider;
13pub(crate) mod lsp;
14pub(crate) mod project_layout;
15pub(crate) mod registry;
16mod service;
17mod types;
18pub(crate) mod workspace_runtime;
19
20pub use error::{CodeIntelligenceError, CodeIntelligenceResult};
21pub use local_provider::LocalCodeIntelligence;
22pub use service::WorkspaceCodeIntelligence;
23pub use types::{
24    CodeDiagnostic, CodeDiagnosticSeverity, CodeIntelligenceCapabilities,
25    CodeIntelligenceLanguageStatus, CodeIntelligenceState, CodeIntelligenceStatus, CodeLocation,
26    CodePosition, CodeQueryResult, CodeRange, CodeSymbolKind, DocumentRevision, DocumentSnapshot,
27    DocumentSymbol, LanguageId, NavigationKind, SymbolInformation,
28};