Skip to content

Conversation

@TylorS
Copy link

@TylorS TylorS commented Jan 29, 2026

First off, thank you for this project! Cursor and I made an attempt to start including support for hooks.

Closes: #831

Behavior at a glance

  • Generate (Cursor): Uses shared hooks (only Cursor-supported events) + cursor.hooks; Cursor-only events can live in shared or in cursor.hooks.
  • Generate (Claude): Uses shared hooks (only Claude-supported events) + claudecode.hooks; keys become PascalCase; non-absolute commands get $CLAUDE_PROJECT_DIR/; Claude-only events can live in shared or in claudecode.hooks.
  • Import: Cursor/Claude tool files are converted back to canonical camelCase and written into the shared hooks block (overrides are for authoring; import normalizes into shared).
  • Skipped events: If the config (shared or overrides) mentions events the current target doesn’t support, one warning per target is logged listing those events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support any AI agent's hooks

1 participant