Module server

Module server 

Source

Modulesยง

agent_handlers ๐Ÿ”’
app_api ๐Ÿ”’
App API โ€” high-level commands for programmatic control of AgentMux.
cli_handlers ๐Ÿ”’
drone_handlers ๐Ÿ”’
WSH RPC handlers for the Drone pane (issue #753 Phase 1).
files ๐Ÿ”’
identity_handlers ๐Ÿ”’
Pre-launch OAuth flow RPC handlers.
install_handlers
install.start / install.cancel RPC handlers.
messagebus ๐Ÿ”’
HTTP endpoint handlers for the local MessageBus.
reactive ๐Ÿ”’
service ๐Ÿ”’
tool_handlers ๐Ÿ”’
HTTP/WebSocket RPC handlers for the tool store. Registers gettoolstatus and installtool commands with the WshRpcEngine.
wave_obj_bridge ๐Ÿ”’
WaveObjUpdate broadcast bridge.
websocket ๐Ÿ”’

Structsยง

AppState
WpsPublishRequest ๐Ÿ”’
Wire shape for POST /agentmux/wps/publish. Mirrors WaveEvent but keeps the field set narrow for what agentmux-bashwrap actually needs (no sender).

Functionsยง

auth_middleware ๐Ÿ”’
Auth middleware matching Go pkg/authkey/authkey.go:18-42.
build_router
Build the Axum router with all routes, auth middleware, and CORS.
handle_diag_sagas ๐Ÿ”’
Saga durability PR 2 โ€” operator visibility into the durable saga log. Returns the most-recent 50 saga lifecycle rows + an in-flight count derived from unresolved_sagas.
handle_lan_instances ๐Ÿ”’
handle_wps_publish ๐Ÿ”’
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.
health_handler ๐Ÿ”’
stub_501 ๐Ÿ”’