pub(super) async fn handle_shell_create(
__arg0: State<AppState>,
caller: Option<Extension<Caller>>,
__arg2: Json<ShellCreateRequest>,
) -> ResponseExpand 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 MPS events without blocking the agent.