Commit bef6989
committed
feat(engine): add plugin integration layer for cortex-plugins hooks
Add PluginIntegration struct that bridges cortex-engine and cortex-plugins
hook systems, enabling:
- Tool execution hooks (before/after)
- Session lifecycle hooks (start/end)
- Permission decision hooks
- Chat message hooks
Includes PluginIntegrationBuilder for flexible construction and
comprehensive test coverage for all hook trigger methods.1 parent 513e1c7 commit bef6989
2 files changed
Lines changed: 638 additions & 0 deletions
0 commit comments