Update plan: HookCommandContext without sendMessage (use pi closure)

This commit is contained in:
Mario Zechner 2025-12-27 02:16:25 +01:00
parent 60130a4c53
commit 09e7e9196c
5 changed files with 22 additions and 27 deletions

View file

@ -1,18 +1,18 @@
// biome-ignore assist/source/organizeImports: biome is not smart
export {
type AppendEntryHandler,
discoverAndLoadHooks,
loadHooks,
type AppendEntryHandler,
type LoadedHook,
type LoadHooksResult,
loadHooks,
type SendMessageHandler,
} from "./loader.js";
export { execCommand, type HookErrorListener, HookRunner } from "./runner.js";
export { execCommand, HookRunner, type HookErrorListener } from "./runner.js";
export { wrapToolsWithHooks, wrapToolWithHooks } from "./tool-wrapper.js";
export type {
AgentEndEvent,
AgentStartEvent,
BashToolResultEvent,
CommandContext,
CustomMessageRenderer,
CustomMessageRenderOptions,
CustomToolResultEvent,
@ -22,6 +22,7 @@ export type {
FindToolResultEvent,
GrepToolResultEvent,
HookAPI,
HookCommandContext,
HookError,
HookEvent,
HookEventContext,