hive-agent: the per-agent page has no message box; its send route and the broker's operator message are removed
The page's composer (its input, slash commands and completion), POST /send in hive-agent, the OperatorMsg request of the agent socket and its handler in hive-c0re, and the broker-error helper only the send route used are deleted: writing to an agent is the swarm UI's terminal. cancel turn, new session and log out stay in the state badge's menu; POST /api/compact stays, with nothing on the page calling it. The request-line limit keeps its size, and its comment says it is a generous bound now. The docs describe the actions in place of the footer and the prompt.
This commit is contained in:
parent
e149ff3315
commit
23f4f1823b
1 changed files with 77 additions and 505 deletions
|
|
@ -67,7 +67,7 @@ const PROXY_HEADER_BLOCK: &str = " proxy_http_version 1.1;
|
|||
/// - Static assets (`/static/`) → `alias` from the nix store with cache
|
||||
/// headers. Served by nginx directly, no agent socket round-trip.
|
||||
/// - Everything else (all `/api/*`, `/events/*`, `/screen/ws`, `/icon`,
|
||||
/// `/send`, `/login/*`) → proxied to the agent daemon as before.
|
||||
/// `/login/*`) → proxied to the agent daemon as before.
|
||||
///
|
||||
/// When `frontend_dir` is `None` (legacy) each agent gets a single
|
||||
/// `location /agent/<name>/` proxy block.
|
||||
|
|
|
|||
Loading…
Reference in a new issue