Skip to main content

systemprompt_agent/models/web/
discovery.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
4pub struct AgentCounts {
5    pub total: usize,
6    pub active: usize,
7    pub enabled: usize,
8}
9
10#[derive(Debug, Clone, Serialize, Deserialize)]
11pub struct AgentDiscoveryEntry {
12    pub uuid: String,
13    pub slug: String,
14    pub name: String,
15    pub description: String,
16    pub version: String,
17    pub url: String,
18    pub status: String,
19    pub endpoint: String,
20}
21
22#[derive(Debug, Clone, Serialize, Deserialize)]
23pub struct AgentDiscoveryResponse {
24    pub agents: Vec<AgentDiscoveryEntry>,
25    pub total: usize,
26}