Update supported editor hooks and documentation#25
Conversation
- Expand generic hooks schema to include `pre_compact`, `post_compact`, `subagent_start`, `subagent_stop`, `task_created`, `task_completed`, and `worktree_setup`. - Update GitHub Copilot strategy to use camelCase event names and map new hooks. - Update Claude Code strategy to map new PascalCase hooks. - Update Windsurf strategy to map `worktree_setup` to `post_setup_worktree`. - Update documentation in `supported-editors.md` with accurate lists for Cursor, Copilot, Claude Code, and Windsurf. - Update and verify strategy tests.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Expand generic hooks schema to include `pre_compact`, `post_compact`, `subagent_start`, `subagent_stop`, `task_created`, `task_completed`, and `worktree_setup`. - Update GitHub Copilot strategy to use camelCase event names and map new hooks. - Update Claude Code strategy to map new PascalCase hooks. - Update Windsurf strategy to map `worktree_setup` to `post_setup_worktree`. - Update documentation in `supported-editors.md` with accurate lists for Cursor, Copilot, Claude Code, and Windsurf. - Fix regression in `adapters.test.ts` where `session_end` was expected to be unsupported by Copilot. - Update and verify strategy tests.
This PR updates the aix unified configuration system to support the latest lifecycle hooks across Cursor, GitHub Copilot, Claude Code, and Windsurf.
Changes include:
pre_compact,subagent_start, etc.) to the centralai.jsonschema to capture shared functionality across modern AI agents.sessionStart,preToolUse) as per latest docs and added missing events.post_setup_worktreehook.Verified via
npm run build(which synchronizesschema.jsonfrom Zod source),npm run standards(passing lint/typecheck), andnpm test(all 46 strategy tests passing).PR created automatically by Jules for task 6272477313981736449 started by @yokuze