Osl glossy indirect pass

Is there any way to have only information like in Cycles Glossy Indirect Pass via osl shader.
Some thing like AOV???