Skip to content

Interface: HookContext

Properties

agent?

optional agent?: string;

data

data: Record<string, unknown>;

kind?

optional kind?: string;

layer?

optional layer?: [string, string];

Optional layer tuple when the write targeted a layer overlay. undefined means the write went to the scope's base. Set by Kernel.writeDocument when a layer kwarg is passed (Phase 2a.0).


name?

optional name?: string;

prompt?

optional prompt?: string;

scope

scope: string;