use super::*;
use crate::agents::registry::AgentRegistry;
use crate::tdg::analyzer_simple::TdgAnalyzer;
use serde_json::json;
use std::path::PathBuf;
use std::sync::Arc;
pub struct AnalyzeTechnicalDebtTool {
_registry: Arc<AgentRegistry>,
}
impl AnalyzeTechnicalDebtTool {
#[provable_contracts_macros::contract("pmat-core.yaml", equation = "check_compliance")]
pub fn new(registry: Arc<AgentRegistry>) -> Self {
Self {
_registry: registry,
}
}
}
pub struct GetQualityRecommendationsTool {
_registry: Arc<AgentRegistry>,
}
impl GetQualityRecommendationsTool {
#[provable_contracts_macros::contract("pmat-core.yaml", equation = "check_compliance")]
pub fn new(registry: Arc<AgentRegistry>) -> Self {
Self {
_registry: registry,
}
}
}
include!("tdg_tools_handlers.rs");
include!("tdg_tools_helpers.rs");
include!("tdg_tools_tests.rs");