Skip to content

agent-core / Exports / IHookTypeExecutor

Interface: IHookTypeExecutor

Strategy interface for hook type executors

Table of contents

Properties

Methods

Properties

type

type: "agent" | "command" | "http" | "prompt"

The hook type this executor handles

Defined in

packages/agent-core/src/hooks/types.ts:98

Methods

execute

execute(definition, input): Promise<IHookResult>

Execute a hook definition with the given input

Parameters

NameType
definitionIHookDefinition
inputIHookInput

Returns

Promise<IHookResult>

Defined in

packages/agent-core/src/hooks/types.ts:100

Released under the MIT License.