Expand description
POST /api/v1/agent/dev_server/register — backs the RegisterDevServer
MCP tool. See docs/specs/SPEC_NATIVE_CONTAINER_DEV_PROXY_2026_09_19.md.
Identity is verified the same way ClosePane/UIClick/UIQuery do
(ui_handlers::verified_block_id) — the calling agent proves it IS
auth.agent_id via its own AGENTMUX_JEKT_KEY signature; there is no
client-supplied agent id to spoof. The container’s internal dev-proxy
network address is then resolved server-side from THAT agent’s own
container (ContainerManager::agent_network_ip) — never a
client-supplied address, so there is nothing left to spoof there either.
Functions§
- browse_
url 🔒 - What a browser should be pointed at. Lowercased to match the actual routing key
(
DevProxyRegistry::routing_keylowercases both halves), not necessarilyagent_id’s on-disk casing. The port is the one the proxy bound, which is not 8090 when another instance on this host holds it. - container_
of_ 🔒pane - The container the verified pane
block_idruns in. - handle_
register_ 🔒dev_ server - remember 🔒
- What is kept up for
projectincontainerafter this registration: the spec if there is a command; registered again without one, nothing.