codetether-agent 4.7.0-a-002.2

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{IssueCategory, IssueSeverity, ValidationIssue};

pub(super) fn config_error(message: &str, suggestion: &str) -> ValidationIssue {
    config_issue(IssueSeverity::Error, message.to_string(), suggestion)
}

pub(super) fn config_warning(message: String, suggestion: &str) -> ValidationIssue {
    config_issue(IssueSeverity::Warning, message, suggestion)
}

fn config_issue(severity: IssueSeverity, message: String, suggestion: &str) -> ValidationIssue {
    ValidationIssue {
        severity,
        category: IssueCategory::Configuration,
        message,
        suggestion: Some(suggestion.to_string()),
    }
}