Skip to main content

Crate mdx_rust_analysis

Crate mdx_rust_analysis 

Source
Expand description

mdx-rust-analysis

Responsible for:

  • Discovering and parsing Rust source (syn + tree-sitter)
  • Determining what code to bundle for the LLM
  • Generating and applying safe patches

This crate will be heavily developed in Phase 2.

Re-exports§

pub use bundler::analyze_agent;
pub use bundler::build_bundle_scope;
pub use bundler::AgentBundle;
pub use bundler::BundleScope;
pub use finders::find_preambles;
pub use finders::find_run_agent_functions;
pub use finders::find_tools;
pub use finders::looks_like_rig_agent;
pub use finders::AgentEntrypoint;
pub use finders::ExtractedPrompt;
pub use finders::ExtractedTool;

Modules§

bundler
Code bundling and ignore logic
editing
Safe code editing and validation pipeline (Phase 2+). This module now has real (early) support for git worktrees + patch application + validation.
finders
Source finders using tree-sitter + syn for deep understanding of Rig agents.