handle_wps_publish

Function handle_wps_publish 

Source
async fn handle_wps_publish(
    __arg0: State<AppState>,
    __arg1: Json<WpsPublishRequest>,
) -> impl IntoResponse
Expand description

Auth-gated WPS publish endpoint (SPEC_STREAMING_BASH_RUNNER_2026_05_11.md §3.2). agentmux-bashwrap POSTs here while running a Bash command; we forward to the in-process WPS broker so subscribed frontends receive the event.