docs: fix remaining stale AgentLink comment (per damocles review)
This commit is contained in:
parent
4769d7ce5a
commit
30c2d94f13
1 changed files with 5 additions and 5 deletions
|
|
@ -438,11 +438,11 @@ struct StateSnapshot {
|
||||||
swarm_name: Option<String>,
|
swarm_name: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// One navigation link in the agent page header row. Same JSON
|
/// One navigation link in the agent page header row. The same JSON
|
||||||
/// shape feeds the dashboard's icon-only nav strip via the host's
|
/// shape appears in both `StateSnapshot.links` (`GET /api/state`,
|
||||||
/// `GET /api/agent/{name}/links` passthrough proxy, so the agent
|
/// per-agent page) and `DashboardState.links` (`GET /api/dashboard-state`,
|
||||||
/// backend is the single source of truth for what links an agent
|
/// dashboard card icon strip). `agent_links()` is the single source
|
||||||
/// exposes.
|
/// of truth for what links an agent exposes.
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct AgentLink {
|
struct AgentLink {
|
||||||
/// `kind = Container | Forge` → path; `kind = External` → full URL.
|
/// `kind = Container | Forge` → path; `kind = External` → full URL.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue