Contractile to extensile transitions and mechanical adaptability enabled by activity in cytoskeletal structures | Synapse