The invention provides a compound of Formula (I)pharmaceutically acceptable salts, pro-drugs, biologically active metabolites, stereoisomers and isomers thereof wherein the variable are defined herein. The compounds of the invention are useful for treating immunological and oncological conditions.本發明提供一種式(I)化合物:其醫藥學上可接受之鹽、前藥、生物活性代謝物、立體異構體及異構體,其中代號如本文中定義。本發明之化合物適用於治療免疫及致癌病症。