agtrace-providers 0.8.0

Internal provider adapters for the agtrace CLI. Not intended for direct use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use agtrace_types::{ToolKind, ToolOrigin};

/// Tool specification with origin and semantic kind
pub struct ToolSpec {
    pub name: &'static str,
    pub origin: ToolOrigin,
    pub kind: ToolKind,
}

impl ToolSpec {
    pub const fn new(name: &'static str, origin: ToolOrigin, kind: ToolKind) -> Self {
        Self { name, origin, kind }
    }
}