@karmaniverous/jeeves
    Preparing search index...

    Function recordRegisteredHooks

    • Run a plugin's register(api) against a recording API and return the typed hook names it registers with api.on (e.g. before_prompt_build from registerPromptContext).

      Parameters

      • register: (api: PluginApi) => unknown

        The plugin's register function.

      • api: Partial<PluginApi> = {}

        Extra API members the plugin needs at registration (config, logger, ...). on is always the recorder; registerTool defaults to a no-op.

      Returns Promise<string[]>

      Registered hook names, in registration order.