Cursor has introduced a Hooks system in version 1.7 that allows developers to intercept and modify agent behavior at defined ...