handle_shell_create

Function handle_shell_create 

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

POST /api/v1/shell/create — start a persistent background shell.

Called by agentmux-mcp’s Shell tool. Returns immediately with a shell_id; the ShellNodeRunner streams stdout/stderr to the frontend as shell_chunk WPS events without blocking the agent.