Skip to main content

Module tools

Module tools 

Source

Re-exports§

pub use crate::core::protocol::CrpMode;
pub use crate::core::protocol::ToolCallRecord;

Modules§

autonomy
ctx_agent
ctx_analyze
ctx_architecture
ctx_architecture — Graph-based architecture analysis tool.
ctx_artifacts
ctx_benchmark
ctx_callgraph
ctx_compile
ctx_compile – Context compilation tool.
ctx_compose
ctx_compose — task composer (Phase 2 of the efficiency epic).
ctx_compress
ctx_compress_memory
ctx_context
ctx_control
ctx_control – Universal context manipulation tool.
ctx_cost
ctx_dedup
ctx_delta
ctx_discover
ctx_edit
ctx_execute
ctx_expand
ctx_explore
ctx_explore — FastContext-style bounded, deterministic repo exploration.
ctx_feedback
ctx_fill
ctx_gain
ctx_glob
ctx_graph
ctx_graph_diagram
ctx_graph_diff
ctx_graph action=diff — what changed since a git ref, crossed with the dependency graph. For every changed file we report its blast radius (the transitive set of files that depend on it) and flag changes that touch god-nodes or bridges, so a reviewer immediately sees which commits are structurally risky. graphify-style “graph diff”, grounded in real git data.
ctx_graph_primitives
Graph primitives for ctx_graph: neighbors, path (shortest path) and explain. These are graphify-style traversal/inspection helpers that work on the same file-level graph the dashboard renders (GraphProvider::edges), so the MCP answers and the visual graph always agree.
ctx_handoff
ctx_heatmap
ctx_impact
ctx_impact — Graph-based impact analysis tool.
ctx_index
ctx_intent
ctx_knowledge
ctx_knowledge_relations
ctx_metrics
ctx_multi_read
ctx_multi_repo
ctx_outline
ctx_outline — fast, syntax-aware code outline (a “table of contents”).
ctx_overview
ctx_pack
ctx_package
ctx_package business logic (#293): save/resume portable context packages.
ctx_patch
ctx_patch — hash-anchored editing (epic #1008).
ctx_plan
ctx_plan – Context planning tool.
ctx_plugins
ctx_prefetch
ctx_preload
ctx_proof
ctx_provider
ctx_quality
ctx_quality — code-health surface for agents.
ctx_read
ctx_refactor
ctx_repomap
Tool handler for ctx_repomap — PageRank-based repo map.
ctx_response
ctx_review
ctx_routes
ctx_rules
ctx_search
ctx_semantic_search
ctx_session
ctx_share
ctx_shell
ctx_skillify
ctx_skillify business logic — codify recurring session patterns into versioned .cursor/rules/skillify-*.mdc files (#290).
ctx_smart_read
ctx_smells
ctx_smells — Code smell detection tool.
ctx_summary
ctx_summary business logic (#292): record + recall AI session summaries.
ctx_symbol
ctx_task
ctx_tools
ctx_tools business logic (#210): the MCP Tool-Catalog Gateway meta-tool.
ctx_transcript_compact
ctx_transcript_compact business logic (#hermes-engine).
ctx_tree
ctx_verify
ctx_workflow
registered

Structs§

LeanCtxServer
Central MCP server state: cache, session, metrics, and autonomy runtime.

Enums§

SessionMode

Functions§

create_server
Creates a new LeanCtxServer with default configuration.

Type Aliases§

SharedCache
Thread-safe handle to the shared file content cache.