Interface AIHooksHandlerPluginExtension

All Superinterfaces:
PluginExtension

@API(type=EXTENDABLE, src=PUBLIC) public interface AIHooksHandlerPluginExtension extends PluginExtension
Plug-in extension that provides a handler for the AI hooks
Since:
28.1
  • Method Summary

    Modifier and Type
    Method
    Description
    com.oxygenxml.positron.api.hook.AIHooksHandler
    Returns the AIHooksHandler instance contributed by this plugin extension.
  • Method Details

    • getHooksHandler

      com.oxygenxml.positron.api.hook.AIHooksHandler getHooksHandler()
      Returns the AIHooksHandler instance contributed by this plugin extension.

      The returned handler will be registered by the AI integration layer and invoked for each lifecycle hook emitted by Positron (e.g. session start/end, prompt submission, tool invocation events, stop events).

      Returns:
      the AIHooksHandler implementation provided by this extension; never null