docs: remove stale /api/agent/{name}/links references
The c0re-proxy endpoint was removed in the dashboard-state refactor. Links are now served by agent_links() via two agent-local endpoints: StateSnapshot.links (GET /api/state, per-agent page) and DashboardState.links (GET /api/dashboard-state, dashboard card). Update docs/web-ui/agent.md and the StateSnapshot.links doc comment to reflect the current source of truth.
This commit is contained in:
parent
bc1c4d1cc5
commit
4769d7ce5a
2 changed files with 11 additions and 8 deletions
|
|
@ -416,12 +416,11 @@ struct StateSnapshot {
|
|||
/// Cumulative token usage across the most recent turn's inferences
|
||||
/// (cost signal). `null` until the first turn finishes.
|
||||
cost_usage: Option<crate::events::TokenUsage>,
|
||||
/// Navigation links for this agent page. The same list feeds the
|
||||
/// dashboard card's icon-only nav strip via hive-c0re's
|
||||
/// `GET /api/agent/{name}/links` same-origin passthrough proxy
|
||||
/// — single source of truth, no CORS. Per-agent page also reads
|
||||
/// this directly. See [`docs/web-ui/dashboard.md::Container row`] for the
|
||||
/// frontend resolver + which links appear in which conditions.
|
||||
/// Navigation links for this agent page. Also served via
|
||||
/// `DashboardState.links` (`GET /api/dashboard-state`) for the
|
||||
/// dashboard card's icon strip. Both are produced by `agent_links()`
|
||||
/// — single source of truth. See [`docs/web-ui/dashboard.md::Container row`]
|
||||
/// for the frontend resolver + which links appear in which conditions.
|
||||
links: Vec<AgentLink>,
|
||||
/// Public URL of the forge served by hive-gateway (e.g.
|
||||
/// `"https://forge.pr1ma.darkest.space"`). Sourced from
|
||||
|
|
|
|||
Loading…
Reference in a new issue