vtcode-core 0.104.1

Core library for VT Code - a Rust-based terminal coding agent
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::ToolRegistry;

impl ToolRegistry {
    pub(super) fn prewarm_search_runtime(&self) {
        let snapshot =
            crate::tools::search_runtime::snapshot_for_workspace(self.inventory.workspace_root());

        tracing::trace!(
            ripgrep_ready = snapshot.ripgrep_ready,
            ast_grep_ready = snapshot.ast_grep_ready,
            search_tools = ?snapshot.search_tools,
            code_tree_sitter_languages = ?snapshot.code_tree_sitter_languages,
            bash_tree_sitter_ready = snapshot.bash_tree_sitter_ready,
            workspace_languages = ?snapshot.workspace_languages,
            "Pre-warmed search runtime"
        );
    }
}