Cursor `afterShellExecution` hook handler. Notifies the daemon after Cursor shell execution. The daemon decides whether the command requires branch tracking or coalesced incremental sync.
()
| 307 | /// Notifies the daemon after Cursor shell execution. The daemon decides whether |
| 308 | /// the command requires branch tracking or coalesced incremental sync. |
| 309 | pub async fn hook_cursor_after_shell() -> i32 { |
| 310 | let event = read_hook_event!(); |
| 311 | let root = cursor_project_root_from_event(&event); |
| 312 | record_hook_invoked( |
| 313 | root.as_deref(), |
| 314 | HintAgent::Cursor, |
| 315 | "afterShellExecution", |
| 316 | &event, |
| 317 | ); |
| 318 | notify_cursor_after_shell_event(&event).await; |
| 319 | 0 |
| 320 | } |
| 321 | |
| 322 | /// Cursor `workspaceOpen` hook handler. |
| 323 | /// |
no test coverage detected