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 and agent integrations can share one source of semantic results.
6
7pub(crate) mod diagnostics;
8pub(crate) mod document_store;
9mod error;
10#[cfg(test)]
11mod integration_test_support;
12pub(crate) mod language_profile;
13pub(crate) mod language_runtime;
14mod local_provider;
15pub(crate) mod lsp;
16pub(crate) mod project_layout;
17pub(crate) mod registry;
18mod service;
19mod types;
20pub(crate) mod workspace_runtime;
21
22pub use error::{CodeIntelligenceError, CodeIntelligenceResult};
23pub use local_provider::LocalCodeIntelligence;
24pub use service::WorkspaceCodeIntelligence;
25pub use types::{
26    CodeDiagnostic, CodeDiagnosticSeverity, CodeIntelligenceCapabilities,
27    CodeIntelligenceLanguageStatus, CodeIntelligenceState, CodeIntelligenceStatus, CodeLocation,
28    CodePosition, CodeQueryResult, CodeRange, CodeSymbolKind, DocumentRevision, DocumentSnapshot,
29    DocumentSymbol, LanguageId, NavigationKind, SymbolInformation,
30};